diff options
author | Philippe Normand <philn@igalia.com> | 2018-04-14 11:27:48 +0100 |
---|---|---|
committer | Philippe Normand <philn@igalia.com> | 2018-04-14 14:34:18 +0100 |
commit | a11b78a57de2415b290037c0502e264762364a33 (patch) | |
tree | 74abfec1ac31b2c94d799a6087861ae677429a81 | |
parent | c82ba4ac72073bba805378a3251015090912188e (diff) |
debug-viewer: remove broken/unimplemented plugins
-rw-r--r-- | debug-viewer/GstDebugViewer/Plugins/ColorizeRows.py | 65 | ||||
-rw-r--r-- | debug-viewer/GstDebugViewer/Plugins/FileProperties.py | 70 |
2 files changed, 0 insertions, 135 deletions
diff --git a/debug-viewer/GstDebugViewer/Plugins/ColorizeRows.py b/debug-viewer/GstDebugViewer/Plugins/ColorizeRows.py deleted file mode 100644 index 6f2b690..0000000 --- a/debug-viewer/GstDebugViewer/Plugins/ColorizeRows.py +++ /dev/null @@ -1,65 +0,0 @@ -# -*- coding: utf-8; mode: python; -*- -# -# GStreamer Debug Viewer - View and analyze GStreamer debug log files -# -# Copyright (C) 2007 René Stadler <mail@renestadler.de> -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the Free -# Software Foundation; either version 3 of the License, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License along with -# this program. If not, see <http://www.gnu.org/licenses/>. - -"""GStreamer Debug Viewer row colorization plugin.""" - -from GstDebugViewer.Plugins import FeatureBase, PluginBase - - -class ColorizeLevels (FeatureBase): - - def attach(self, window): - - pass - - def detach(self, window): - - pass - - -class LevelColorSentinel (object): - - def processor(self, proc): - - for row in proc: - - yield None - - -class ColorizeCategories (FeatureBase): - - def attach(self, window): - - pass - - def detach(self, window): - - pass - - -class CategoryColorSentinel (object): - - def processor(self): - - pass - - -class Plugin (PluginBase): - - features = (ColorizeLevels, ColorizeCategories) diff --git a/debug-viewer/GstDebugViewer/Plugins/FileProperties.py b/debug-viewer/GstDebugViewer/Plugins/FileProperties.py deleted file mode 100644 index f43dbf5..0000000 --- a/debug-viewer/GstDebugViewer/Plugins/FileProperties.py +++ /dev/null @@ -1,70 +0,0 @@ -# -*- coding: utf-8; mode: python; -*- -# -# GStreamer Debug Viewer - View and analyze GStreamer debug log files -# -# Copyright (C) 2007 René Stadler <mail@renestadler.de> -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the Free -# Software Foundation; either version 3 of the License, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License along with -# this program. If not, see <http://www.gnu.org/licenses/>. - -"""GStreamer Debug Viewer file properties plugin.""" - -import logging - -from GstDebugViewer.Plugins import FeatureBase, PluginBase - -from gettext import gettext as _ -from gi.repository import Gtk - - -class FilePropertiesSentinel (object): - - pass - - -class FilePropertiesDialog (Gtk.Dialog): - - pass - - -class FilePropertiesFeature (FeatureBase): - - def __init__(self, *a, **kw): - - self.action_group = Gtk.ActionGroup("FilePropertiesActions") - self.action_group.add_actions( - [("show-file-properties", Gtk.STOCK_PROPERTIES, - _("_Properties"), "<Ctrl>P")]) - - def attach(self, window): - - ui = window.ui_manager - ui.insert_action_group(self.action_group, 0) - - self.merge_id = ui.new_merge_id() - ui.add_ui(self.merge_id, "/menubar/FileMenu/FileMenuAdditions", - "FileProperties", "show-file-properties", - Gtk.UIManagerItemType.MENUITEM, False) - - handler = self.handle_action_activate - self.action_group.get_action( - "show-file-properties").connect("activate", handler) - - def handle_action_activate(self, action): - - pass - - -class Plugin (PluginBase): - - features = (FilePropertiesFeature,) |