Exemple #1
0
        def on_dialog_snippets_response(self, dlg, resp):

                alloc = dlg.get_allocation()
                self.default_size = [alloc.width, alloc.height]

                if resp == Gtk.ResponseType.HELP:
                        Pluma.help_display(self, 'pluma', 'pluma-snippets-plugin')
                        return

                self.dlg.destroy()
Exemple #2
0
    def on_dialog_snippets_response(self, dlg, resp):

        alloc = dlg.get_allocation()
        self.default_size = [alloc.width, alloc.height]

        if resp == Gtk.ResponseType.HELP:
            Pluma.help_display(self, 'pluma', 'pluma-snippets-plugin')
            return

        self.dlg.destroy()
Exemple #3
0
    def on_tool_manager_dialog_response(self, dialog, response):
        if response == Gtk.ResponseType.HELP:
            Pluma.help_display(self.dialog, 'pluma',
                               'pluma-external-tools-plugin')
            return

        self.on_tool_manager_dialog_focus_out(dialog, None)

        self.dialog.destroy()
        self.dialog = None
        self.tools = None
Exemple #4
0
        def on_dialog_snippets_response(self, dlg, resp):                                
                if resp == Gtk.ResponseType.HELP:
                        Pluma.help_display(self, 'pluma', 'pluma-snippets-plugin')
                        return

                self.dlg.destroy()