[gedit] externaltools: fix help visualization



commit 1932ad7233b997bd35eeba0fee5cb5555626e66a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Oct 10 12:55:04 2011 +0200

    externaltools: fix help visualization

 plugins/externaltools/tools/manager.py |    2 +-
 plugins/externaltools/tools/tools.ui   |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/externaltools/tools/manager.py b/plugins/externaltools/tools/manager.py
index 43e781f..d94f5f5 100644
--- a/plugins/externaltools/tools/manager.py
+++ b/plugins/externaltools/tools/manager.py
@@ -842,7 +842,7 @@ class Manager:
 
     def on_tool_manager_dialog_response(self, dialog, response):
         if response == Gtk.ResponseType.HELP:
-            Gedit.app_get_default().show_help(self.dialog, 'gedit', 'gedit-plugins-external-tools')
+            Gedit.App.get_default().show_help(self.dialog, 'gedit', 'gedit-plugins-external-tools')
             return
 
         self.on_tool_manager_dialog_focus_out(dialog, None)
diff --git a/plugins/externaltools/tools/tools.ui b/plugins/externaltools/tools/tools.ui
index 412ad43..c6aad43 100644
--- a/plugins/externaltools/tools/tools.ui
+++ b/plugins/externaltools/tools/tools.ui
@@ -651,8 +651,8 @@
       </object>
     </child>
     <action-widgets>
-      <action-widget response="0">button1</action-widget>
-      <action-widget response="0">button2</action-widget>
+      <action-widget response="-11">button1</action-widget>
+      <action-widget response="-7">button2</action-widget>
     </action-widgets>
   </object>
 </interface>



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