KIOSK: Disable "Configure Window Behavior" menu option when kwinrc is immutable.

svn path=/trunk/kdebase/kwin/; revision=222215
icc-effect-5.14.5
Waldo Bastian 2003-04-26 15:43:20 +00:00
parent 0778f37a58
commit 7857c16713
1 changed files with 5 additions and 3 deletions

View File

@ -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();