diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-17 07:53:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-17 07:53:43 +0000 |
commit | 543cc6312fbb723545f97ab7a8426be7ddd0d673 (patch) | |
tree | 7a3482fee788ea575a0c9a27a8df1119ce2ed0a0 /kicker/libkicker | |
parent | 508c2e6e43465c90a9973072f45d8bbe4d6900d9 (diff) | |
download | tdebase-543cc6312fbb723545f97ab7a8426be7ddd0d673.tar.gz tdebase-543cc6312fbb723545f97ab7a8426be7ddd0d673.zip |
Removed some additional KDE references
Added option to disable panel icon launch effect
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176254 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/libkicker')
-rw-r--r-- | kicker/libkicker/kickerSettings.kcfg | 5 | ||||
-rw-r--r-- | kicker/libkicker/panelbutton.cpp | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/kicker/libkicker/kickerSettings.kcfg b/kicker/libkicker/kickerSettings.kcfg index 99625809d..0f725c35f 100644 --- a/kicker/libkicker/kickerSettings.kcfg +++ b/kicker/libkicker/kickerSettings.kcfg @@ -90,6 +90,11 @@ <default>true</default> </entry> +<entry name="ShowIconActivationEffect" type="Bool" > + <label>Show visual effect when panel icon is activated.</label> + <default>true</default> + </entry> + <entry name="UntrustedApplets" type="StringList"> <label>A list of applets that have been loaded at runtime. In the case of a crash these applets will not be loaded at the next Kicker start, in case they caused the crash</label> </entry> diff --git a/kicker/libkicker/panelbutton.cpp b/kicker/libkicker/panelbutton.cpp index f1ab69fb8..a04e9aee0 100644 --- a/kicker/libkicker/panelbutton.cpp +++ b/kicker/libkicker/panelbutton.cpp @@ -504,7 +504,9 @@ void PanelButton::mouseReleaseEvent(TQMouseEvent *e) m_isLeftMouseButtonDown = false; TQPixmap pix = labelIcon(); - KIconEffect::visualActivate(this, this->geometry(), &pix); + if (KickerSettings::showIconActivationEffect() == true) { + KIconEffect::visualActivate(this, this->geometry(), &pix); + } } TQButton::mouseReleaseEvent(e); } |