summaryrefslogtreecommitdiff
path: root/kberylsettings/plugindialog.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/plugindialog.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/plugindialog.py')
-rw-r--r--kberylsettings/plugindialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kberylsettings/plugindialog.py b/kberylsettings/plugindialog.py
index ddd150d..eec70c0 100644
--- a/kberylsettings/plugindialog.py
+++ b/kberylsettings/plugindialog.py
@@ -5,7 +5,7 @@
Tried to use KActionSelector instead of KListView, but it didn't make
much sense.
"""
-from kdecore import i18n
+from kdecore import KIcon, i18n
from kdeui import KDialogBase, KListView, KMessageBox
from qt import QCheckListItem, QLabel
@@ -35,7 +35,7 @@ class PluginList(KListView):
item = QCheckListItem(self, p.ShortDesc, QCheckListItem.CheckBox)
item.setEnabled(not p.isGeneral)
item.setText(1, p.LongDesc)
- item.setPixmap(0, p.icon(16, loader))
+ item.setPixmap(0, p.icon(KIcon.SizeSmall, loader))
if p.Name in active:
stateMap[p.Name] = 1
item.setState(QCheckListItem.On)