? patched-stamp
? m4/intltool.m4
Index: capplets/theme-switcher/gnome-theme-manager.c
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/theme-switcher/gnome-theme-manager.c,v
retrieving revision 1.60
diff -u -r1.60 gnome-theme-manager.c
--- capplets/theme-switcher/gnome-theme-manager.c	25 Apr 2006 21:30:45 -0000	1.60
+++ capplets/theme-switcher/gnome-theme-manager.c	27 Jun 2006 16:36:13 -0000
@@ -1238,7 +1238,25 @@
   gtk_widget_set_sensitive(WID("meta_theme_revert_button"), FALSE);  
   reverted = TRUE;
 }
-	
+static gboolean
+get_lockdown_status ()
+{
+  GConfClient *client;
+  GConfValue *value;
+  GError *error = NULL;
+  gboolean res;
+
+  client = gconf_client_get_default ();
+  res = gconf_client_get_bool (client, LOCKDOWN_KEY, error);
+
+  if (error)
+    {
+      g_clear_error (&error);
+      return NULL;
+    }
+  return res;
+}	
+
 static void
 setup_dialog (GladeXML *dialog)
 {
@@ -1341,6 +1359,8 @@
 
   update_font_button_state (dialog);
   update_background_button_state (dialog);
+
+  gtk_widget_set_sensitive (parent,!get_lockdown_status ());
   gtk_widget_show (parent);
 
 }
Index: capplets/theme-switcher/gnome-theme-manager.h
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/theme-switcher/gnome-theme-manager.h,v
retrieving revision 1.11
diff -u -r1.11 gnome-theme-manager.h
--- capplets/theme-switcher/gnome-theme-manager.h	3 Jan 2006 10:06:50 -0000	1.11
+++ capplets/theme-switcher/gnome-theme-manager.h	27 Jun 2006 16:36:13 -0000
@@ -10,7 +10,7 @@
 #define FONT_KEY	   "/desktop/gnome/interface/font_name"
 #define DESKTOP_FONT_KEY   "/apps/nautilus/preferences/desktop_font"
 #define MONOSPACE_FONT_KEY "/desktop/gnome/interface/monospace_font_name"
-#define BACKGROUND_KEY	   "/desktop/gnome/background/picture_filename"
+#define LOCKDOWN_KEY	   "/desktop/gnome/interface/lockdown_theme_change"
 
 #define METACITY_THEME_DIR "/apps/metacity/general"
 #define METACITY_THEME_KEY METACITY_THEME_DIR "/theme"
