make the context menus in the taskbar and the window manager consistent again; put Advanced at the bottom of the list since it is, well, advanced, implying that the other options are more common

BUG:190823

svn path=/trunk/KDE/kdebase/workspace/; revision=959979
This commit is contained in:
Aaron J. Seigo 2009-04-27 17:30:33 +00:00
parent 33d2f0398b
commit 815c7c25a0

View file

@ -116,9 +116,6 @@ QMenu* Workspace::clientPopup()
action->setIcon( KIcon( "wizard" ) );
action->setData( Options::ApplicationRulesOp );
action = popup->addMenu( advanced_popup );
action->setText( i18n("Ad&vanced") );
trans_popup = 0;
if (compositing()){
trans_popup = new QMenu( popup );
@ -170,6 +167,9 @@ QMenu* Workspace::clientPopup()
mShadeOpAction->setCheckable( true );
mShadeOpAction->setData( Options::ShadeOp );
action = popup->addMenu( advanced_popup );
action->setText( i18n("Ad&vanced") );
popup->addSeparator();
if (!KGlobal::config()->isImmutable() &&
@ -266,7 +266,7 @@ void Workspace::initDesktopPopup()
this, SLOT( desktopPopupAboutToShow() ) );
QAction *action = desk_popup->menuAction();
popup->insertAction(advanced_popup->menuAction(), action);
popup->insertAction(mMoveOpAction, action);
action->setText( i18n("To &Desktop") );
}