summaryrefslogtreecommitdiff
path: root/kberylsettings/pluginframe.py
diff options
context:
space:
mode:
authornatural <natural>2007-01-01 05:36:07 +0000
committernatural <natural>2007-01-01 05:36:07 +0000
commit8100c625e1a8d63b3fc434d08dbffb5652a59e69 (patch)
tree2a35cfbd1051fb10b0d05aba4ed88421701d2cfb /kberylsettings/pluginframe.py
parentdd5381035a8a341b87d3836ea3e454eb999e9223 (diff)
downloadkberylsettings-8100c625e1a8d63b3fc434d08dbffb5652a59e69.tar.gz
kberylsettings-8100c625e1a8d63b3fc434d08dbffb5652a59e69.tar.bz2
Added tip of the day dialog, application key configuration dialog.
Removed basedir references in preference to KStandardDirs configuration. Moved about.py to aboutapp.py. Other small fixes and enhancements.
Diffstat (limited to 'kberylsettings/pluginframe.py')
-rw-r--r--kberylsettings/pluginframe.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kberylsettings/pluginframe.py b/kberylsettings/pluginframe.py
index fbfe3c7..eb64c54 100644
--- a/kberylsettings/pluginframe.py
+++ b/kberylsettings/pluginframe.py
@@ -291,7 +291,8 @@ class IconView(BasicPluginView):
return
if item.plugin and not item.setting:
self.showSettingItems(item.plugin)
- self.emit(Signals.showAbout, (self.context, item.plugin, ))
+ if self.sender() is self or self.isVisible():
+ self.emit(Signals.showAbout, (self.context, item.plugin, ))
elif item == self.firstChild():
self.showPlugins()
else:
@@ -413,7 +414,7 @@ class TreeView(BasicPluginView):
plugin, setting = item.plugin, item.setting
if plugin and setting:
self.emit(Signals.showSettings, (plugin, setting))
- else:
+ elif self.sender() is self or self.isVisible():
self.emit(Signals.showAbout, (self.context, plugin, ))
self.emit(Signals.selectItem, (item, ))