mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
debug-viewer: fix names of actions/functions
https://bugzilla.gnome.org/show_bug.cgi?id=793241
This commit is contained in:
parent
07cd72be78
commit
831a70bf9a
2 changed files with 24 additions and 24 deletions
|
@ -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]
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
<menuitem name="ViewContextMenuShowOnlyLevel" action="show-only-log-level"/>
|
||||
<menuitem name="ViewContextMenuHideCategory" action="hide-log-category"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyCategory" action="show-only-log-category"/>
|
||||
<menuitem name="ViewContextMenuHideThread" action="hide-log-thread"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyThread" action="show-only-log-thread"/>
|
||||
<menuitem name="ViewContextMenuHideObject" action="hide-log-object"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyObject" action="show-only-log-object"/>
|
||||
<menuitem name="ViewContextMenuHideFunction" action="hide-log-function"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyFunction" action="show-only-log-function"/>
|
||||
<menuitem name="ViewContextMenuHideThread" action="hide-thread"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyThread" action="show-only-thread"/>
|
||||
<menuitem name="ViewContextMenuHideObject" action="hide-object"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyObject" action="show-only-object"/>
|
||||
<menuitem name="ViewContextMenuHideFunction" action="hide-function"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyFunction" action="show-only-function"/>
|
||||
<menuitem name="ViewContextMenuHideFilename" action="hide-filename"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyFilename" action="show-only-filename"/>
|
||||
<menuitem name="ViewContextMenuHideBefore" action="hide-before-line"/>
|
||||
|
@ -59,12 +59,12 @@
|
|||
<menuitem name="ViewContextMenuShowOnlyLevel" action="show-only-log-level"/>
|
||||
<menuitem name="ViewContextMenuHideCategory" action="hide-log-category"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyCategory" action="show-only-log-category"/>
|
||||
<menuitem name="ViewContextMenuHideThread" action="hide-log-thread"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyThread" action="show-only-log-thread"/>
|
||||
<menuitem name="ViewContextMenuHideObject" action="hide-log-object"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyObject" action="show-only-log-object"/>
|
||||
<menuitem name="ViewContextMenuHideFunction" action="hide-log-function"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyFunction" action="show-only-log-function"/>
|
||||
<menuitem name="ViewContextMenuHideThread" action="hide-thread"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyThread" action="show-only-thread"/>
|
||||
<menuitem name="ViewContextMenuHideObject" action="hide-object"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyObject" action="show-only-object"/>
|
||||
<menuitem name="ViewContextMenuHideFunction" action="hide-function"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyFunction" action="show-only-function"/>
|
||||
<menuitem name="ViewContextMenuHideFilename" action="hide-filename"/>
|
||||
<menuitem name="ViewContextMenuShowOnlyFilename" action="show-only-filename"/>
|
||||
<menuitem name="ViewContextMenuHideBefore" action="hide-before-line"/>
|
||||
|
|
Loading…
Reference in a new issue