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:
parent
cefbf62136
commit
daf1fbd23e
5 changed files with 4 additions and 16 deletions
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -565,7 +565,7 @@ QString QuartzClient::defaultButtonsLeft() const
|
|||
|
||||
QString QuartzClient::defaultButtonsRight() const
|
||||
{
|
||||
return "HIAX";
|
||||
return "HIA__X";
|
||||
}
|
||||
|
||||
bool QuartzClient::decorationBehaviour(DecorationBehaviour behaviour) const
|
||||
|
|
|
@ -62,7 +62,7 @@ QString WebClient::defaultButtonsLeft() const
|
|||
|
||||
QString WebClient::defaultButtonsRight() const
|
||||
{
|
||||
return "HIAX";
|
||||
return "HIA__X";
|
||||
}
|
||||
|
||||
bool WebClient::decorationBehaviour(DecorationBehaviour behaviour) const
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue