Index: capplets/common/ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/common/ChangeLog,v
retrieving revision 1.129
diff -u -r1.129 ChangeLog
--- capplets/common/ChangeLog	8 Feb 2005 22:42:09 -0000	1.129
+++ capplets/common/ChangeLog	2 Mar 2005 09:38:41 -0000
@@ -1,3 +1,10 @@
+2005-03-02  Shakti Sen  <shprasad@novell.com>
+
+	* gnome-theme-info.c (read_icon_theme): Do not add the Icon Theme if
+	the key 'Hidden' is 'true' in the index.theme file.
+
+	Fixes bug #168348
+
 2005-02-08  Sebastien Bacher  <seb128@debian.org>
 
 	* gnome-theme-info.c: (update_common_theme_dir_index):
Index: capplets/common/gnome-theme-info.c
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/common/gnome-theme-info.c,v
retrieving revision 1.19
diff -u -r1.19 gnome-theme-info.c
--- capplets/common/gnome-theme-info.c	8 Feb 2005 22:42:09 -0000	1.19
+++ capplets/common/gnome-theme-info.c	2 Mar 2005 09:38:53 -0000
@@ -386,6 +386,7 @@
   GnomeDesktopItem *icon_theme_ditem;
   char *icon_theme_file;
   const gchar *name;
+  const gchar *hidden_theme_icon;
 
   icon_theme_file = gnome_vfs_uri_to_string (icon_theme_uri, GNOME_VFS_URI_HIDE_NONE);
   icon_theme_ditem = gnome_desktop_item_new_from_uri (icon_theme_file, 0, NULL);
@@ -402,10 +403,20 @@
       g_free (icon_theme_file);
       return NULL;
     }
+  hidden_theme_icon = gnome_desktop_item_get_string (icon_theme_ditem, "Icon Theme/Hidden");
 
-  icon_theme_info = gnome_theme_icon_info_new ();
-  icon_theme_info->name = g_strdup (name);
-  icon_theme_info->path = icon_theme_file;
+  if (hidden_theme_icon == NULL || 
+      strcmp (hidden_theme_icon, "false") == 0) 
+    {
+      icon_theme_info = gnome_theme_icon_info_new ();
+      icon_theme_info->name = g_strdup (name);
+      icon_theme_info->path = icon_theme_file;
+    }
+  else 
+    {
+      gnome_desktop_item_unref (icon_theme_ditem);
+      return NULL;
+    }
 
   gnome_desktop_item_unref (icon_theme_ditem);
 
