diff options
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); } |