Rename show-find-bar action callback handler
authorRené Stadler <mail@renestadler.de>
Mon, 3 Dec 2007 12:58:04 +0000 (14:58 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:42 +0000 (20:51 +0200)
debug-viewer/GstDebugViewer/Plugins/FindBar.py

index 7f2979b..4e4f9c9 100644 (file)
@@ -194,7 +194,7 @@ class FindBarFeature (FeatureBase):
         self.bar.hide ()
 
         action = self.action_group.get_action ("show-find-bar")
-        handler = self.handle_show_find_bar_action_activate
+        handler = self.handle_show_find_bar_action_toggled
         action.connect ("toggled", handler)
 
         action = self.action_group.get_action ("goto-previous-search-result")
@@ -214,7 +214,7 @@ class FindBarFeature (FeatureBase):
         window.ui_manager.remove_ui (self.merge_id)
         self.merge_id = None
 
-    def handle_show_find_bar_action_activate (self, action):
+    def handle_show_find_bar_action_toggled (self, action):
 
         if action.props.active:
             self.bar.show ()