summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.12-kdm_hide_menu_button.patch
blob: f2cb325118f7f2f61882447c6cf31debbbb6d9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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();