Ejemplo n.º 1
0
    def _connect_signals(self):
        SystrayBase._connect_signals(self)

        # Boolean var which control the activation/desactivation of 'toggled' signal.
        # This control mechanism is necessary because otherwise we would have an infinite
        # recursive loop due to signals activations
        self.__disable_open_item_activation = None

        # signals specific to SystrayIndicator
        self.open_item.connect('toggled', self._on_systray_open_activate)
        self._config.connect('ui-general-key-value-changed', self.__on_ui_key_value_changed)
Ejemplo n.º 2
0
 def _connect_signals(self):
     SystrayBase._connect_signals(self)
     self.__sicon.connect('activate', self._on_systray_open_activate, None)
     self.__sicon.connect('popup-menu', self._popup_menu, None)
Ejemplo n.º 3
0
 def _connect_signals(self):
     SystrayBase._connect_signals(self)
     self.__sicon.connect('activate', self._on_systray_open_activate, None)
     self.__sicon.connect('popup-menu', self._popup_menu, None)