[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kicker/ui
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-11-04 16:20:35
Message-ID: 20041104162035.93CE316D6F () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

KIOSK: Don't show "Help" menu when action/help is false


  M +6 -3      panelop_mnu.cpp   1.52


--- kdebase/kicker/ui/panelop_mnu.cpp  #1.51:1.52
@@ -67,8 +67,11 @@ void PanelOpMenu::buildMenu()
     insertItem(SmallIconSet("configure"), i18n("&Configure Panel..."),
             Kicker::kicker(), SLOT(slotLaunchConfig()));
-    insertSeparator();
 
+    if (kapp->authorizeKAction("help"))
+    {
+       insertSeparator();
     KHelpMenu* help = new KHelpMenu( _panel, KGlobal::instance()->aboutData(), false);
     insertItem(SmallIconSet("help"), KStdGuiItem::help().text(), help->menu());
+    }
 
     built = true;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic