예제 #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
예제 #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
예제 #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
예제 #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