From 831a70bf9a99a6a134a648987877f8b594687942 Mon Sep 17 00:00:00 2001 From: Xabier Rodriguez Calvar Date: Wed, 7 Feb 2018 10:13:44 +0100 Subject: [PATCH] debug-viewer: fix names of actions/functions https://bugzilla.gnome.org/show_bug.cgi?id=793241 --- debug-viewer/GstDebugViewer/GUI/window.py | 24 +++++++++++------------ debug-viewer/data/menus.ui | 24 +++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/debug-viewer/GstDebugViewer/GUI/window.py b/debug-viewer/GstDebugViewer/GUI/window.py index c9a08ba860..9739eb4912 100644 --- a/debug-viewer/GstDebugViewer/GUI/window.py +++ b/debug-viewer/GstDebugViewer/GUI/window.py @@ -290,15 +290,15 @@ class Window (object): "Hide log category")), ("show-only-log-category", None, _( "Show only log category")), - ("hide-log-thread", None, _( + ("hide-thread", None, _( "Hide thread")), - ("show-only-log-thread", None, _( + ("show-only-thread", None, _( "Show only thread")), - ("hide-log-object", None, _("Hide object")), - ("show-only-log-object", None, _( + ("hide-object", None, _("Hide object")), + ("show-only-object", None, _( "Show only object")), - ("hide-log-function", None, _("Hide function")), - ("show-only-log-function", None, _( + ("hide-function", None, _("Hide function")), + ("show-only-function", None, _( "Show only function")), ("hide-filename", None, _("Hide filename")), ("show-only-filename", None, _("Show only filename"))]) @@ -830,21 +830,21 @@ class Window (object): self.add_model_filter(CategoryFilter(category)) @action - def handle_hide_log_thread_action_activate(self, action): + def handle_hide_thread_action_activate(self, action): row = self.get_active_line() thread = row[LogModelBase.COL_THREAD] self.add_model_filter(ThreadFilter(thread)) @action - def handle_hide_log_object_action_activate(self, action): + def handle_hide_object_action_activate(self, action): row = self.get_active_line() object_ = row[LogModelBase.COL_OBJECT] self.add_model_filter(ObjectFilter(object_)) @action - def handle_hide_log_function_action_activate(self, action): + def handle_hide_function_action_activate(self, action): row = self.get_active_line() object_ = row[LogModelBase.COL_FUNCTION] @@ -881,21 +881,21 @@ class Window (object): self.add_model_filter(CategoryFilter(category, True)) @action - def handle_show_only_log_thread_action_activate(self, action): + def handle_show_only_thread_action_activate(self, action): row = self.get_active_line() thread = row[LogModelBase.COL_THREAD] self.add_model_filter(ThreadFilter(thread, True)) @action - def handle_show_only_log_object_action_activate(self, action): + def handle_show_only_object_action_activate(self, action): row = self.get_active_line() object_ = row[LogModelBase.COL_OBJECT] self.add_model_filter(ObjectFilter(object_, True)) @action - def handle_show_only_log_function_action_activate(self, action): + def handle_show_only_function_action_activate(self, action): row = self.get_active_line() object_ = row[LogModelBase.COL_FUNCTION] diff --git a/debug-viewer/data/menus.ui b/debug-viewer/data/menus.ui index 75b538d10b..20d6424ff4 100644 --- a/debug-viewer/data/menus.ui +++ b/debug-viewer/data/menus.ui @@ -29,12 +29,12 @@ - - - - - - + + + + + + @@ -59,12 +59,12 @@ - - - - - - + + + + + +