summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-11-22 15:25:55 +0100
committerNikola Pajkovsky <npajkovs@redhat.com>2010-11-22 15:25:55 +0100
commit069d5c70a04a5a86824ac00b7881c0e6a8e9e01c (patch)
tree62908c9f38e984d5544547518615ce6bbf4bad16 /src/gui
parent0368c71e7871209f1566b5a185d0840bb99d7794 (diff)
parented9efa9366add566a20be6132c70df08dc50673a (diff)
downloadabrt-069d5c70a04a5a86824ac00b7881c0e6a8e9e01c.tar.gz
abrt-069d5c70a04a5a86824ac00b7881c0e6a8e9e01c.tar.xz
abrt-069d5c70a04a5a86824ac00b7881c0e6a8e9e01c.zip
Merge branch 'remove-polkit'
* remove-polkit: remove PLUGIN_DYNAMIC_LOAD_UNLOAD remove polkit
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/CCDBusBackend.py7
-rw-r--r--src/gui/PluginsSettingsDialog.py31
2 files changed, 0 insertions, 38 deletions
diff --git a/src/gui/CCDBusBackend.py b/src/gui/CCDBusBackend.py
index c3e8f0ab..b983d141 100644
--- a/src/gui/CCDBusBackend.py
+++ b/src/gui/CCDBusBackend.py
@@ -208,13 +208,6 @@ class DBusManager(gobject.GObject):
settings = self.daemon().GetPluginSettings(plugin_name)
return settings
-# "Enable" toggling in GUI is disabled for now. Grep for PLUGIN_DYNAMIC_LOAD_UNLOAD
-# def registerPlugin(self, plugin_name):
-# return self.daemon().RegisterPlugin(plugin_name)
-#
-# def unRegisterPlugin(self, plugin_name):
-# return self.daemon().UnRegisterPlugin(plugin_name)
-
def getSettings(self):
return self.daemon().GetSettings()
diff --git a/src/gui/PluginsSettingsDialog.py b/src/gui/PluginsSettingsDialog.py
index aba65d19..55e82ec3 100644
--- a/src/gui/PluginsSettingsDialog.py
+++ b/src/gui/PluginsSettingsDialog.py
@@ -54,43 +54,12 @@ class PluginsSettingsDialog:
column.set_resizable(True)
self.pluginlist.append_column(column)
-# "Enable" toggle column is disabled for now. Grep for PLUGIN_DYNAMIC_LOAD_UNLOAD
-# column = gtk.TreeViewColumn(_("Enabled"))
-# # column "enabled" has one kind of cells:
-# cell_toggle_enable = gtk.CellRendererToggle()
-# cell_toggle_enable.set_property("activatable", True)
-# cell_toggle_enable.connect("toggled", self.on_enabled_toggled, self.pluginsListStore)
-# column.pack_start(cell_toggle_enable, True)
-# column.add_attribute(cell_toggle_enable, "active", 1)
-# column.add_attribute(cell_toggle_enable, "visible", 2)
-# self.pluginlist.append_column(column)
-
#connect signals
self.pluginlist.connect("cursor-changed", self.on_tvDumps_cursor_changed)
self.builder.get_object("bConfigurePlugin").connect("clicked", self.on_bConfigurePlugin_clicked, self.pluginlist)
self.builder.get_object("bClose").connect("clicked", self.on_bClose_clicked)
self.builder.get_object("bConfigurePlugin").set_sensitive(False)
-# "Enable" toggle column is disabled for now. Grep for PLUGIN_DYNAMIC_LOAD_UNLOAD
-# def on_enabled_toggled(self,cell, path, model):
-# plugin = model[path][model.get_n_columns()-1]
-# if plugin:
-# if model[path][1]:
-# #print "self.ccdaemon.UnRegisterPlugin(%s)" % (plugin.getName())
-# self.ccdaemon.unRegisterPlugin(plugin.getName())
-# # FIXME: create class plugin and move this into method Plugin.Enable()
-# plugin.Enabled = "no"
-# plugin.Settings = None
-# else:
-# #print "self.ccdaemon.RegisterPlugin(%s)" % (model[path][model.get_n_columns()-1])
-# self.ccdaemon.registerPlugin(plugin.getName())
-# # FIXME: create class plugin and move this into method Plugin.Enable()
-# plugin.Enabled = "yes"
-# default_settings = self.ccdaemon.getPluginSettings(plugin.getName())
-# plugin.Settings = PluginSettings()
-# plugin.Settings.load(plugin.getName(), default_settings)
-# model[path][1] = not model[path][1]
-
def filter_plugins(self, model, miter, data):
return True