Skip to content

Commit

Permalink
gconfig: remove show_debug option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Li Zefan authored and Michal Marek committed Apr 14, 2010
1 parent 2944235 commit 7b5d872
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
9 changes: 0 additions & 9 deletions scripts/kconfig/gconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
10 changes: 0 additions & 10 deletions scripts/kconfig/gconf.glade
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,6 @@
</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>
Expand Down

0 comments on commit 7b5d872

Please sign in to comment.