From a36b7a7b0ecdc9cac735cac99abd5d68576a20e5 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Tue, 1 Sep 2009 13:03:37 +0200 Subject: GUI: improvements to settings dialog --- src/Gui/ABRTPlugin.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/Gui/ABRTPlugin.py') diff --git a/src/Gui/ABRTPlugin.py b/src/Gui/ABRTPlugin.py index ce802c2c..da9c9e57 100644 --- a/src/Gui/ABRTPlugin.py +++ b/src/Gui/ABRTPlugin.py @@ -10,7 +10,7 @@ Type Email Description """ - +from abrt_utils import _ class PluginSettings(dict): def __init__(self): @@ -23,6 +23,10 @@ class PluginSettings(dict): """Class to represent common plugin info""" class PluginInfo(): + types = {"Analyzer":_("Analyzer plugins"), + "Action":_("Action plugins"), + "Reporter":_("Reporter plugins"), + "Database":_("Database plugins")} keys = ["WWW", "Name", "Enabled", "GTKBuilder", "Version", "Type", "Email", "Description"] @@ -44,6 +48,9 @@ class PluginInfo(): def getDescription(self): return self.Description + + def getType(self): + return self.Type def getGUI(self): return self.GTKBuilder -- cgit