Index: kdehelp/main.cpp =================================================================== RCS file: /export/cvs/lbw/kde/kde-1.1.2/kdebase-1.1.2/kdehelp/main.cpp,v retrieving revision 1.1.1.1 diff -r1.1.1.1 main.cpp 110a111,114 > if ( getenv("KDE_RESTRICTED")) { > execlp( "kfmwarn" , "kfmwarn" , "No help available." , 0 ); > exit(1); > } Index: kfm/root.cpp =================================================================== RCS file: /export/cvs/lbw/kde/kde-1.1.2/kdebase-1.1.2/kfm/root.cpp,v retrieving revision 1.1.1.1 diff -r1.1.1.1 root.cpp 1648a1649 > if ( ! getenv("KDE_RESTRICTED")) { 1664a1666 > } Index: kpanel/events.C =================================================================== RCS file: /export/cvs/lbw/kde/kde-1.1.2/kdebase-1.1.2/kpanel/events.C,v retrieving revision 1.1.1.1 diff -r1.1.1.1 events.C 860c860,861 < p->insertItem(klocale->translate("Configure"), --- > if ( ! getenv("KDE_RESTRICTED")) { > p->insertItem(klocale->translate("Configure"), 862c863 < p->insertItem(klocale->translate("Restart"), --- > p->insertItem(klocale->translate("Restart"), 864c865,866 < p->popup(mapToGlobal(ev->pos())); --- > p->popup(mapToGlobal(ev->pos())); > } Index: kpanel/kpanel.C =================================================================== RCS file: /export/cvs/lbw/kde/kde-1.1.2/kdebase-1.1.2/kpanel/kpanel.C,v retrieving revision 1.1.1.1 diff -r1.1.1.1 kpanel.C 943c943,947 < popup_item->setItemEnabled(3, true); --- > if ( getenv("KDE_RESTRICTED")) { > popup_item->setItemEnabled(3, false); > } else { > popup_item->setItemEnabled(3, true); > } 948c952,956 < popup_item->setItemEnabled(3, true); --- > if ( getenv("KDE_RESTRICTED")) { > popup_item->setItemEnabled(3, false); > } else { > popup_item->setItemEnabled(3, true); > } 952c960,964 < popup_item->setItemEnabled(1, true); --- > if ( getenv("KDE_RESTRICTED")) { > popup_item->setItemEnabled(1, false); > } else { > popup_item->setItemEnabled(1, true); > } Index: kpanel/props.C =================================================================== RCS file: /export/cvs/lbw/kde/kde-1.1.2/kdebase-1.1.2/kpanel/props.C,v retrieving revision 1.1.1.1 diff -r1.1.1.1 props.C 206a207,208 > if ( ! getenv("KDE_RESTRICTED")) { > pmenu->add( fileBrowser ); 208,212c210,212 < pmenu->add( fileBrowser ); < < < pmenu->add( new PMenuItem(submenu, klocale->translate("Panel"), 0, "mini-panel.xpm", < panel_menu, 0, 0, new myPopupMenu) ); --- > pmenu->add( new PMenuItem(submenu, klocale->translate("Panel"), 0, "mini-panel.xpm", > panel_menu, 0, 0, new myPopupMenu) ); > } 220c220,221 < PFileMenu::calculateMaxEntriesOnScreen(fileBrowser); --- > if ( ! getenv("KDE_RESTRICTED")) { > PFileMenu::calculateMaxEntriesOnScreen(fileBrowser); 222c223,224 < panel_popup = panel_menu->getQPopupMenu(); --- > panel_popup = panel_menu->getQPopupMenu(); > } 226,230c228,234 < if (has_kdisknav_button) < panel_popup->setItemChecked(add_disknav_entry, true); < < if (has_windowlist_button) < panel_popup->setItemChecked(add_windowlist_entry, true); --- > if ( ! getenv("KDE_RESTRICTED")) { > if (has_kdisknav_button) > panel_popup->setItemChecked(add_disknav_entry, true); > > if (has_windowlist_button) > panel_popup->setItemChecked(add_windowlist_entry, true); > } Index: krootwm/krootwm.C =================================================================== RCS file: /export/cvs/lbw/kde/kde-1.1.2/kdebase-1.1.2/krootwm/krootwm.C,v retrieving revision 1.1.1.1 diff -r1.1.1.1 krootwm.C 276,278c276,285 < rmb->insertItem(klocale->translate("New"), menuNew ); < rmb->insertItem(klocale->translate("Bookmarks"), bookmarks ); < rmb->insertSeparator(); --- > if ( ! getenv("KDE_RESTRICTED")) { > rmb->insertItem(klocale->translate("New"), menuNew ); > rmb->insertItem(klocale->translate("Bookmarks"), bookmarks ); > rmb->insertSeparator(); > } > } > if ( ! getenv("KDE_RESTRICTED")) { > rmb->insertItem(klocale->translate("Help on desktop"), RMB_HELP); > rmb->insertItem(klocale->translate("Execute command"), RMB_EXECUTE); > rmb->insertItem(klocale->translate("Display properties"), RMB_DISPLAY_PROPERTIES); 280,282d286 < rmb->insertItem(klocale->translate("Help on desktop"), RMB_HELP); < rmb->insertItem(klocale->translate("Execute command"), RMB_EXECUTE); < rmb->insertItem(klocale->translate("Display properties"), RMB_DISPLAY_PROPERTIES); Index: kwm/main.C =================================================================== RCS file: /export/cvs/lbw/kde/kde-1.1.2/kdebase-1.1.2/kwm/main.C,v retrieving revision 1.1.1.1 diff -r1.1.1.1 main.C 1690c1690,1692 < showMinicli(); --- > if ( ! getenv("KDE_RESTRICTED")) { > showMinicli(); > }