Add spacers before the close button to make it stand alone,

but don't alter the layout otherwise.


svn path=/trunk/KDE/kdebase/workspace/; revision=743055
This commit is contained in:
Luboš Luňák 2007-11-29 19:28:07 +00:00
parent cefbf62136
commit daf1fbd23e
5 changed files with 4 additions and 16 deletions

View file

@ -776,16 +776,6 @@ QString KDE2Client::visibleName() const
return i18n("KDE 2");
}
QString KDE2Client::defaultButtonsLeft() const
{
return "MS";
}
QString KDE2Client::defaultButtonsRight() const
{
return "HIAX";
}
bool KDE2Client::decorationBehaviour(DecorationBehaviour behaviour) const
{
switch (behaviour) {

View file

@ -86,8 +86,6 @@ class KDE2Client : public KCommonDecoration
~KDE2Client() {;}
virtual QString visibleName() const;
virtual QString defaultButtonsLeft() const;
virtual QString defaultButtonsRight() const;
virtual bool decorationBehaviour(DecorationBehaviour behaviour) const;
virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const;
virtual KCommonDecorationButton *createButton(ButtonType type);

View file

@ -565,7 +565,7 @@ QString QuartzClient::defaultButtonsLeft() const
QString QuartzClient::defaultButtonsRight() const
{
return "HIAX";
return "HIA__X";
}
bool QuartzClient::decorationBehaviour(DecorationBehaviour behaviour) const

View file

@ -62,7 +62,7 @@ QString WebClient::defaultButtonsLeft() const
QString WebClient::defaultButtonsRight() const
{
return "HIAX";
return "HIA__X";
}
bool WebClient::decorationBehaviour(DecorationBehaviour behaviour) const

View file

@ -434,7 +434,7 @@ QString KDecorationOptions::titleButtonsLeft() const
QString KDecorationOptions::defaultTitleButtonsLeft()
{
return "MS"; //aseigo: proposed new default "AIS__HM";
return "MS";
}
QString KDecorationOptions::titleButtonsRight() const
@ -444,7 +444,7 @@ QString KDecorationOptions::titleButtonsRight() const
QString KDecorationOptions::defaultTitleButtonsRight()
{
return "HIAX"; //aseigo: proposed new default "X"
return "HIA__X";
}
bool KDecorationOptions::showTooltips() const