Commit b9cb1d0f authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Merge branch 'Plasma/5.18'

parents c0afbb2c 275082ad
......@@ -604,6 +604,7 @@ void AbstractClient::minimize(bool avoid_animation)
updateWindowRules(Rules::Minimize);
FocusChain::self()->update(this, FocusChain::MakeFirstMinimized);
// TODO: merge signal with s_minimized
addWorkspaceRepaint(visibleRect());
emit clientMinimized(this, !avoid_animation);
emit minimizedChanged();
}
......
......@@ -15,6 +15,7 @@ Name[fr]=Jeter un oeil sur le bureau
Name[gl]=Ollo na pantalla
Name[he]=עין על המסך
Name[hu]=Ide figyelj!
Name[ia]=eye On Screen
Name[id]=mata Di Layar
Name[it]=eye On Screen
Name[ja]=eye On Screen
......
......@@ -14,6 +14,7 @@ Name[fr]=Désature les applications qui ne répondent pas
Name[gl]=Reducir a saturación das aplicacións que non responden
Name[he]=מחשיך יישומים שאינם מגיבים
Name[hu]=Nem válaszoló alkalmazások színtelenítése
Name[ia]=Desatura applicationes non responsive
Name[id]=Desaturate-kan Aplikasi Tidak Responsif
Name[it]=Desatura le applicazioni che non rispondono
Name[ko]=응답 없는 프로그램을 무채색으로 전환
......@@ -52,6 +53,7 @@ Comment[fr]=Désature les fenêtres des applications qui ne répondent pas (gel
Comment[gl]=Reducir a saturación das xanelas de aplicacións que non responden (conxeladas)
Comment[he]=מחשיך חלונות של יישומים שאינם מגיבים (תקועים)
Comment[hu]=Színteleníti a nem válaszoló, lefagyott alkalmazások ablakait
Comment[ia]=Destura fenestras de applicationes non responsive (congelate)
Comment[id]=Desaturate-kan window pada aplikasi yang tidak responsif (beku)
Comment[it]=Desatura le finestre delle applicazione che non rispondono (bloccate)
Comment[ko]=응답 없는 프로그램 창을 무채색으로 전환
......
......@@ -18,9 +18,6 @@
<entry name="coloredBorder" type="Bool">
<default>true</default>
</entry>
<entry name="titleShadow" type="Bool">
<default>true</default>
</entry>
<entry name="animateButtons" type="Bool">
<default>true</default>
</entry>
......
......@@ -60,16 +60,6 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_titleShadow">
<property name="whatsThis">
<string>Check this option if you want the titlebar text to have a 3D look with a shadow behind it.</string>
</property>
<property name="text">
<string>Use shadowed &amp;text</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_animateButtons">
<property name="whatsThis">
......@@ -92,7 +82,6 @@
</customwidgets>
<tabstops>
<tabstop>kcfg_animateButtons</tabstop>
<tabstop>kcfg_titleShadow</tabstop>
</tabstops>
<resources/>
<connections/>
......
......@@ -76,7 +76,6 @@ Decoration {
root.titleAlignment = Text.AlignLeft;
}
root.animateButtons = decoration.readConfig("animateButtons", true);
root.titleShadow = decoration.readConfig("titleShadow", true);
if (decoration.animationsSupported) {
root.animationDuration = 150;
root.animateButtons = false;
......@@ -96,7 +95,6 @@ Decoration {
// set by readConfig after Component completed, ensures that buttons do not flicker
property int animationDuration: 0
property bool animateButtons: true
property bool titleShadow: true
Behavior on titleBarColor {
ColorAnimation {
duration: root.animationDuration
......@@ -276,8 +274,6 @@ Decoration {
}
text: decoration.client.caption
font: options.titleFont
style: root.titleShadow ? Text.Raised : Text.Normal
styleColor: colorHelper.shade(color, ColorHelper.ShadowShade)
elide: Text.ElideMiddle
renderType: Text.NativeRendering
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment