diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-04-14 11:46:24 +0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-04-14 15:34:19 +0200 |
commit | 06f9a55cf72b6aa19b4206a05d6f9af6fa9648ea (patch) | |
tree | 77b587eacf8c5cbd85b75f9bfa66f9a19c08921c /scripts/kconfig/gconf.glade | |
parent | 22c7eca61e51296643bb0a379fc726fda8f3b015 (diff) | |
download | blackbird-op-linux-06f9a55cf72b6aa19b4206a05d6f9af6fa9648ea.tar.gz blackbird-op-linux-06f9a55cf72b6aa19b4206a05d6f9af6fa9648ea.zip |
gconfig: add support to show hidden options that have prompts
There's a button in gconfig to "Show all options", but I think
normally we are not interested in those configs which have no
prompt and thus can't be changed, so here I add a new button to
show hidden options which have prompts.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/gconf.glade')
-rw-r--r-- | scripts/kconfig/gconf.glade | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/scripts/kconfig/gconf.glade b/scripts/kconfig/gconf.glade index 909f5a457ac0..d52b0a75d824 100644 --- a/scripts/kconfig/gconf.glade +++ b/scripts/kconfig/gconf.glade @@ -190,13 +190,37 @@ </child> <child> - <widget class="GtkCheckMenuItem" id="show_all_options1"> + <widget class="GtkRadioMenuItem" id="set_option_mode1"> + <property name="visible">True</property> + <property name="tooltip" translatable="yes">Show normal options</property> + <property name="label" translatable="yes">Show normal options</property> + <property name="use_underline">True</property> + <property name="active">True</property> + <signal name="activate" handler="on_set_option_mode1_activate"/> + </widget> + </child> + + <child> + <widget class="GtkRadioMenuItem" id="set_option_mode2"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Show all options</property> <property name="label" translatable="yes">Show all _options</property> <property name="use_underline">True</property> <property name="active">False</property> - <signal name="activate" handler="on_show_all_options1_activate"/> + <property name="group">set_option_mode1</property> + <signal name="activate" handler="on_set_option_mode2_activate"/> + </widget> + </child> + + <child> + <widget class="GtkRadioMenuItem" id="set_option_mode3"> + <property name="visible">True</property> + <property name="tooltip" translatable="yes">Show all options with prompts</property> + <property name="label" translatable="yes">Show all prompt options</property> + <property name="use_underline">True</property> + <property name="active">False</property> + <property name="group">set_option_mode1</property> + <signal name="activate" handler="on_set_option_mode3_activate"/> </widget> </child> |