From b5caf22bdb037d68cf194468c6c14934e1648683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Thu, 24 Jan 2008 12:16:41 +0200 Subject: [PATCH] Create own menu structure for log view context menu --- debug-viewer/GstDebugViewer/GUI.py | 2 +- debug-viewer/data/gst-debug-viewer.ui | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/debug-viewer/GstDebugViewer/GUI.py b/debug-viewer/GstDebugViewer/GUI.py index 30b1e5ef23..96caaa4e36 100644 --- a/debug-viewer/GstDebugViewer/GUI.py +++ b/debug-viewer/GstDebugViewer/GUI.py @@ -1628,7 +1628,7 @@ class Window (object): self.log_view.drag_dest_unset () self.log_view.set_search_column (-1) - self.view_popup = ui.get_widget ("/ui/menubar/ViewMenu").get_submenu () + self.view_popup = ui.get_widget ("/ui/context/LogViewContextMenu").get_submenu () Common.GUI.widget_add_popup_menu (self.log_view, self.view_popup) self.line_view = LineView () diff --git a/debug-viewer/data/gst-debug-viewer.ui b/debug-viewer/data/gst-debug-viewer.ui index 802721ada2..3374be79f9 100644 --- a/debug-viewer/data/gst-debug-viewer.ui +++ b/debug-viewer/data/gst-debug-viewer.ui @@ -40,6 +40,30 @@ + + + + + + + + + + + + + + + + + + + + + + + +