Esempio n. 1
0
    def on_add(widget):

      try:
        dialog = AddLabelDialog(self._plugin, ID_NULL)
        if __debug__: RT.register(dialog, __name__)
        dialog.show()
      except:
        log.exception("Error initializing AddLabelDialog")
        pass
Esempio n. 2
0
        def on_add(widget):

            try:
                dialog = AddLabelDialog(self._plugin, ID_NULL)
                if __debug__: RT.register(dialog, __name__)
                dialog.show()
            except:
                log.exception("Error initializing AddLabelDialog")
                pass
Esempio n. 3
0
    def on_sublabel(widget):

      try:
        id = self._menu.get_title()
        dialog = AddLabelDialog(self._plugin, id)
        if __debug__: RT.register(dialog, __name__)
        dialog.show()
      except:
        log.exception("Error initializing AddLabelDialog")
        pass
Esempio n. 4
0
        def on_sublabel(widget):

            try:
                id = self._menu.get_title()
                dialog = AddLabelDialog(self._plugin, id)
                if __debug__: RT.register(dialog, __name__)
                dialog.show()
            except:
                log.exception("Error initializing AddLabelDialog")
                pass