summaryrefslogtreecommitdiffstats
path: root/kicker
diff options
context:
space:
mode:
Diffstat (limited to 'kicker')
-rw-r--r--kicker/kicker/core/containerarea.cpp6
-rw-r--r--kicker/libkicker/kickerSettings.kcfg6
2 files changed, 12 insertions, 0 deletions
diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp
index a202c910a..00d781b98 100644
--- a/kicker/kicker/core/containerarea.cpp
+++ b/kicker/kicker/core/containerarea.cpp
@@ -1446,6 +1446,12 @@ void ContainerArea::setBackground()
double tint = double(KickerSettings::tintValue()) / 100;
_rootPixmap->setFadeEffect(tint, KickerSettings::tintColor());
+ if (KickerSettings::menubarPanelBlurred()) {
+ _rootPixmap->setBlurEffect(0.0, 4.0);
+ }
+ else {
+ _rootPixmap->setBlurEffect(0.0, 0.0);
+ }
_rootPixmap->start();
_bgSet = true;
return;
diff --git a/kicker/libkicker/kickerSettings.kcfg b/kicker/libkicker/kickerSettings.kcfg
index ec6575a21..635d9c646 100644
--- a/kicker/libkicker/kickerSettings.kcfg
+++ b/kicker/libkicker/kickerSettings.kcfg
@@ -43,6 +43,12 @@
<default>false</default>
</entry>
+<entry name="MenubarPanelBlurred" type="Bool" >
+ <label>Enable blurring for menubar panel</label>
+ <whatsthis>When this option is enabled, the panel containing the menubar will blur pseudo-transparent image</whatsthis>
+ <default>false</default>
+ </entry>
+
<entry name="UseBackgroundTheme" type="Bool" >
<label>Enable background image</label>
<whatsthis>When this option is enabled, the panel will display a tiled image as its background</whatsthis>