diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-01-05 20:29:12 +0100 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-01-05 20:29:12 +0100 |
commit | fd924cf2bc47a66d793d720158d8812f9077d462 (patch) | |
tree | de95d11a58731dacc886a1399a847c84685158e8 /redhat/kdebase/kdebase-3.5.12-kdm_hide_menu_button.patch | |
parent | e565534290c19c9f69d0672be1a79bc51e661a19 (diff) | |
download | tde-packaging-fd924cf2bc47a66d793d720158d8812f9077d462.tar.gz tde-packaging-fd924cf2bc47a66d793d720158d8812f9077d462.zip |
RHEL/Fedora: add kdmrc option to hide menu button
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.12-kdm_hide_menu_button.patch')
-rw-r--r-- | redhat/kdebase/kdebase-3.5.12-kdm_hide_menu_button.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/redhat/kdebase/kdebase-3.5.12-kdm_hide_menu_button.patch b/redhat/kdebase/kdebase-3.5.12-kdm_hide_menu_button.patch new file mode 100644 index 000000000..f2cb32511 --- /dev/null +++ b/redhat/kdebase/kdebase-3.5.12-kdm_hide_menu_button.patch @@ -0,0 +1,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(); |