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()
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()
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
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()