[gsettings-desktop-schemas] Add disable-log-out to org.gnome.desktop.lockdown



commit 2255d92a2cc7c1684cbabb73aa08164e7df1f543
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Feb 25 14:52:37 2011 +0100

    Add disable-log-out to org.gnome.desktop.lockdown
    
    This used to be a gconf key specific to gnome-panel.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=643287

 schemas/gsettings-desktop-schemas.convert          |    1 +
 .../org.gnome.desktop.lockdown.gschema.xml.in.in   |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/schemas/gsettings-desktop-schemas.convert b/schemas/gsettings-desktop-schemas.convert
index d8e201f..9ddfed9 100644
--- a/schemas/gsettings-desktop-schemas.convert
+++ b/schemas/gsettings-desktop-schemas.convert
@@ -84,6 +84,7 @@ disable-print-setup = /desktop/gnome/lockdown/disable_print_setup
 disable-user-switching = /desktop/gnome/lockdown/disable_user_switching
 disable-lock-screen = /desktop/gnome/lockdown/disable_lock_screen
 disable-application-handlers = /desktop/gnome/lockdown/disable_application_handlers
+disable-log-out = /apps/panel/global/disable_log_out
 
 # From org.gnome.system.proxy.gschema.xml
 [org.gnome.system.proxy]
diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in.in b/schemas/org.gnome.desktop.lockdown.gschema.xml.in.in
index 7ba4c60..bf1abb4 100644
--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in.in
+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in.in
@@ -55,5 +55,12 @@
         Prevent running any URL or MIME type handler applications.
       </_description>
     </key>
+    <key name="disable-log-out" type="b">
+      <default>false</default>
+      <_summary>Disable log out</_summary>
+      <_description>
+        Prevent the user from logging out.
+      </_description>
+    </key>
   </schema>
 </schemalist>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]