gconfig: remove show_debug option
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 14 Apr 2010 03:44:51 +0000 (11:44 +0800)
committerMichal Marek <mmarek@suse.cz>
Wed, 14 Apr 2010 13:34:18 +0000 (15:34 +0200)
This option is a no-op, so remove it.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/gconf.c
scripts/kconfig/gconf.glade

index 80fe9ca..c6aa5a5 100644 (file)
@@ -35,7 +35,6 @@ static gboolean show_name = TRUE;
 static gboolean show_range = TRUE;
 static gboolean show_value = TRUE;
 static gboolean show_all = FALSE;
-static gboolean show_debug = FALSE;
 static gboolean resizeable = FALSE;
 
 GtkWidget *main_wnd = NULL;
@@ -647,14 +646,6 @@ on_show_all_options1_activate(GtkMenuItem * menuitem, gpointer user_data)
 }
 
 
-void
-on_show_debug_info1_activate(GtkMenuItem * menuitem, gpointer user_data)
-{
-       show_debug = GTK_CHECK_MENU_ITEM(menuitem)->active;
-       update_tree(&rootmenu, NULL);
-}
-
-
 void on_introduction1_activate(GtkMenuItem * menuitem, gpointer user_data)
 {
        GtkWidget *dialog;
index b1c86c1..909f5a4 100644 (file)
                    </widget>
                  </child>
 
-                 <child>
-                   <widget class="GtkCheckMenuItem" id="show_debug_info1">
-                     <property name="visible">True</property>
-                     <property name="tooltip" translatable="yes">Show masked options</property>
-                     <property name="label" translatable="yes">Show _debug info</property>
-                     <property name="use_underline">True</property>
-                     <property name="active">False</property>
-                     <signal name="activate" handler="on_show_debug_info1_activate"/>
-                   </widget>
-                 </child>
                </widget>
              </child>
            </widget>