summaryrefslogtreecommitdiff
path: root/kberylsettings/pluginframe.py
diff options
context:
space:
mode:
authornatural <natural>2006-12-19 13:03:14 +0000
committernatural <natural>2006-12-19 13:03:14 +0000
commite87833f32ea631dab7391484f0f89bedf669b80c (patch)
tree2a66917ce2bad8f7d6619ebbccf0d37598f12f22 /kberylsettings/pluginframe.py
parent99b44818d60794aae11dca5f67722ab32c98f137 (diff)
downloadkberylsettings-e87833f32ea631dab7391484f0f89bedf669b80c.tar.gz
kberylsettings-e87833f32ea631dab7391484f0f89bedf669b80c.tar.bz2
Support for basic setting saves. Other refactorings and fixes.
Diffstat (limited to 'kberylsettings/pluginframe.py')
-rw-r--r--kberylsettings/pluginframe.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kberylsettings/pluginframe.py b/kberylsettings/pluginframe.py
index e3116e8..5eacb2c 100644
--- a/kberylsettings/pluginframe.py
+++ b/kberylsettings/pluginframe.py
@@ -7,10 +7,10 @@ and search view.
from re import sub
from qt import QLabel, QListViewItem
-from kdecore import KIconLoader, i18n
+from kdecore import i18n
from kberylsettings.beryl import Setting
-from kberylsettings.lib import Signals, icon
+from kberylsettings.lib import Signals, icon, iconLoader
from kberylsettings.widget import Frame, ListView, ValueListViewItem, \
WidgetStack
@@ -74,7 +74,7 @@ class SearchView(Frame):
def __init__(self, parent):
Frame.__init__(self, parent)
self.index = {}
- self.loader = KIconLoader(self.__class__.__name__)
+ self.loader = iconLoader()
self.keywordLabel = QLabel(i18n('Keywords:'), self)
self.keywordsList = ListView(self)
configList(self.keywordsList)
@@ -165,7 +165,7 @@ class PluginView(ListView):
def __init__(self, parent):
ListView.__init__(self, parent)
configList(self)
- self.loader = KIconLoader(self.__class__.__name__)
+ self.loader = iconLoader()
self.connect(self, Signals.itemSelected, self.onSelected)
def addPlugins(self):