summaryrefslogtreecommitdiff
path: root/kberylsettings/pluginframe.py
diff options
context:
space:
mode:
authornatural <natural>2006-12-24 10:20:10 +0000
committernatural <natural>2006-12-24 10:20:10 +0000
commitefa1df0939d879cf18e0cf9fa342aaf86d3e9ea1 (patch)
tree486d072a630c5720689ccb13f48a76485e346e6c /kberylsettings/pluginframe.py
parent5dbd7720a4e446d8f12c1456584e354a3facdd7c (diff)
downloadkberylsettings-efa1df0939d879cf18e0cf9fa342aaf86d3e9ea1.tar.gz
kberylsettings-efa1df0939d879cf18e0cf9fa342aaf86d3e9ea1.tar.bz2
Updates for most recent berylsettings.pyx.
Added setting widget for strings with fewer than 5 restrictions; uses radio buttons instead of a list box. Added profile menus to main.py (not yet functional). Changed color setting widgets; they now work! Other minor fixes and changes. Enabled "Defaults" and "Reset" buttons.
Diffstat (limited to 'kberylsettings/pluginframe.py')
-rw-r--r--kberylsettings/pluginframe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kberylsettings/pluginframe.py b/kberylsettings/pluginframe.py
index 5eacb2c..be043dd 100644
--- a/kberylsettings/pluginframe.py
+++ b/kberylsettings/pluginframe.py
@@ -7,7 +7,7 @@ and search view.
from re import sub
from qt import QLabel, QListViewItem
-from kdecore import i18n
+from kdecore import KIcon, i18n
from kberylsettings.beryl import Setting
from kberylsettings.lib import Signals, icon, iconLoader
@@ -136,7 +136,7 @@ class SearchView(Frame):
if item is None:
value = (plugin, None)
item = cache[plugin] = ValueListViewItem(parent, desc, value)
- item.setPixmap(0, plugin.icon(16, self.loader))
+ item.setPixmap(0, plugin.icon(KIcon.SizeSmall, self.loader))
if setting:
desc = setting.ShortDesc
sub = cache.get((plugin, setting))