Пример #1
0
    def on_tool_manager_dialog_response(self, dialog, response):
        if response == gtk.RESPONSE_HELP:
            cedit.help_display(self.dialog, 'cedit', 'cedit-external-tools-plugin')
            return

        self.on_tool_manager_dialog_focus_out(dialog, None)
        
        self.dialog.destroy()
        self.dialog = None
        self.tools = None
Пример #2
0
        def on_dialog_snippets_response(self, dlg, resp):                                
                if resp == gtk.RESPONSE_HELP:
                        cedit.help_display(self.dlg, 'cedit', 'cedit-snippets-plugin')
                        return

                self.dlg.destroy()