[gimp] plug-ins: add button mnemonics.



commit 67f33cb6ec4aa5806ed7da2a123c9ed3d830a265
Author: Jehan <jehan girinstud io>
Date:   Tue Jul 30 16:33:17 2019 +0200

    plug-ins: add button mnemonics.

 plug-ins/python/python-console/python-console.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/python/python-console/python-console.py 
b/plug-ins/python/python-console/python-console.py
index 542a073392..fcf0d956d7 100755
--- a/plug-ins/python/python-console/python-console.py
+++ b/plug-ins/python/python-console/python-console.py
@@ -67,10 +67,10 @@ def run(name, n_params, params):
             self.set_property("help-id", PROC_NAME)
             Gtk.Window.set_title(self, _("Python Console"))
             Gtk.Window.set_role(self, PROC_NAME)
-            Gtk.Dialog.add_button(self, "Save", Gtk.ResponseType.OK)
-            Gtk.Dialog.add_button(self, "Clear", RESPONSE_CLEAR)
+            Gtk.Dialog.add_button(self, "_Save", Gtk.ResponseType.OK)
+            Gtk.Dialog.add_button(self, "Cl_ear", RESPONSE_CLEAR)
             Gtk.Dialog.add_button(self, _("_Browse..."), RESPONSE_BROWSE)
-            Gtk.Dialog.add_button(self, "Close", Gtk.ResponseType.CLOSE)
+            Gtk.Dialog.add_button(self, "_Close", Gtk.ResponseType.CLOSE)
 
             Gtk.Widget.set_name (self, PROC_NAME)
             Gimp.Dialog.set_alternative_button_order_from_array(self,
@@ -222,8 +222,8 @@ def run(name, n_params, params):
                 dlg = Gtk.FileChooserDialog()
                 Gtk.Window.set_title(dlg, _("Save Python-Fu Console Output"))
                 Gtk.Window.set_transient_for(dlg, self)
-                Gtk.Dialog.add_button(dlg, "Cancel", Gtk.ResponseType.CANCEL)
-                Gtk.Dialog.add_button(dlg, "Save", Gtk.ResponseType.OK)
+                Gtk.Dialog.add_button(dlg, "_Cancel", Gtk.ResponseType.CANCEL)
+                Gtk.Dialog.add_button(dlg, "_Save", Gtk.ResponseType.OK)
                 Gtk.Dialog.set_default_response(self, Gtk.ResponseType.OK)
                 Gimp.Dialog.set_alternative_button_order_from_array(dlg,
                                                                     [ Gtk.ResponseType.OK,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]