You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/redhat/kdebase/kdebase-3.5.12-kdm_hide_men...

30 lines
870 B

diff -Nuar kdebase/kdm.ORI/config.def kdebase/kdm/config.def
--- kdebase/kdm.ORI/config.def 2012-01-05 19:29:01.956728364 +0100
+++ kdebase/kdm/config.def 2012-01-05 19:28:53.165728336 +0100
@@ -2630,3 +2630,12 @@
Description:
The theme to use for the greeter. Can point to either a directory or an XML
file.
+
+Key: HideMenuButton
+Type: bool
+Default: false
+User: greeter
+Instance: */
+Comment: &
+Description:
+ Determines if the "menu" button should be hidden on KDM login prompt.
diff -Nuar kdebase/kdm.ORI/kfrontend/kgreeter.cpp kdebase/kdm/kfrontend/kgreeter.cpp
--- kdebase/kdm.ORI/kfrontend/kgreeter.cpp 2012-01-05 19:29:01.955735413 +0100
+++ kdebase/kdm/kfrontend/kgreeter.cpp 2012-01-05 19:30:39.538730206 +0100
@@ -892,6 +892,9 @@
else
menuButton->hide();
+ if ( _hideMenuButton)
+ menuButton->hide();
+
pluginSetup();
verify->start();