KIOSK: Disable "Configure Window Behavior" menu option when kwinrc is immutable.
svn path=/trunk/kdebase/kwin/; revision=222215
This commit is contained in:
parent
0778f37a58
commit
7857c16713
1 changed files with 5 additions and 3 deletions
|
@ -1724,9 +1724,11 @@ QPopupMenu* Workspace::clientPopup()
|
|||
popup->insertItem( SmallIconSet( "attach" ), i18n("Always &on Top"), Options::StaysOnTopOp );
|
||||
popup->insertItem( SmallIconSet( "filesave" ), i18n("Sto&re Window Settings"), Options::ToggleStoreSettingsOp );
|
||||
|
||||
popup->insertSeparator();
|
||||
|
||||
popup->insertItem(SmallIconSet( "configure" ), i18n("Configur&e Window Behavior..."), this, SLOT( configureWM() ));
|
||||
if (!KGlobal::config()->isImmutable())
|
||||
{
|
||||
popup->insertSeparator();
|
||||
popup->insertItem(SmallIconSet( "configure" ), i18n("Configur&e Window Behavior..."), this, SLOT( configureWM() ));
|
||||
}
|
||||
|
||||
popup->insertSeparator();
|
||||
|
||||
|
|
Loading…
Reference in a new issue