Only show the maximized state if the maximizeMode is MaximizeFull. Other
decorations seem to do it right. BUG: 97681 svn path=/trunk/kdebase/kwin/; revision=381966
This commit is contained in:
parent
0111c7430b
commit
1d8bbaf6ff
1 changed files with 2 additions and 2 deletions
|
@ -775,8 +775,8 @@ void PlastikClient::maximizeChange()
|
||||||
if (!PlastikHandler::initialized()) return;
|
if (!PlastikHandler::initialized()) return;
|
||||||
|
|
||||||
if( m_button[MaxButton] ) {
|
if( m_button[MaxButton] ) {
|
||||||
m_button[MaxButton]->setOn( maximizeMode()!=MaximizeRestore);
|
m_button[MaxButton]->setOn( maximizeMode()==MaximizeFull);
|
||||||
m_button[MaxButton]->setTipText( (maximizeMode()==MaximizeRestore) ?
|
m_button[MaxButton]->setTipText( (maximizeMode()!=MaximizeFull) ?
|
||||||
i18n("Maximize")
|
i18n("Maximize")
|
||||||
: i18n("Restore"));
|
: i18n("Restore"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue