diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 19:54:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 19:54:01 -0400 |
commit | f3ae1c75203535f65448517e46c8dd70a56b6c71 (patch) | |
tree | 58f719cb97666dcfb3392c6c0547d6cbce2e68c8 /scripts/kconfig/gconf.c | |
parent | 9720d75399fd2655a6b6fb06abcf548150f22362 (diff) | |
parent | d49e46875c11a09e80e76c66db90710369b8fe12 (diff) |
Merge branch 'kconfig-for-40' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'kconfig-for-40' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
xconfig: merge code path to conf_write()
kconfig: do not record timestamp in .config
gconfig: Hide unused left treeview when start up the interface
gconfig: enable rules hint for main treeviews
MAINTAINERS: Update KCONFIG entry
kconfig-language: add to hints
kconfig: Document the new "visible if" syntax
kconfig: quiet commands when V=0
kconfig: change update-po-config to reflect new layout of arch/um
kconfig: make update-po-config work in KBUILD_OUTPUT
kconfig: rearrange clean-files
kconfig: change gconf to modify hostprogs-y like nconf and mconf
kconfig: change qconf to modify hostprogs-y like nconf and mconf
kconfig: only build kxgettext when needed
nconfig: Silence unused return values from wattrset
kconfig: Do not record timestamp in auto.conf and autoconf.h
kconfig: get rid of unused flags
kconfig: allow multiple inclusion of the same file
kconfig: Avoid buffer underrun in choice input
Diffstat (limited to 'scripts/kconfig/gconf.c')
-rw-r--r-- | scripts/kconfig/gconf.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 455896164d72..a11d5f7b9eeb 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c | |||
@@ -253,7 +253,7 @@ void init_left_tree(void) | |||
253 | 253 | ||
254 | gtk_tree_view_set_model(view, model1); | 254 | gtk_tree_view_set_model(view, model1); |
255 | gtk_tree_view_set_headers_visible(view, TRUE); | 255 | gtk_tree_view_set_headers_visible(view, TRUE); |
256 | gtk_tree_view_set_rules_hint(view, FALSE); | 256 | gtk_tree_view_set_rules_hint(view, TRUE); |
257 | 257 | ||
258 | column = gtk_tree_view_column_new(); | 258 | column = gtk_tree_view_column_new(); |
259 | gtk_tree_view_append_column(view, column); | 259 | gtk_tree_view_append_column(view, column); |
@@ -298,7 +298,7 @@ void init_right_tree(void) | |||
298 | 298 | ||
299 | gtk_tree_view_set_model(view, model2); | 299 | gtk_tree_view_set_model(view, model2); |
300 | gtk_tree_view_set_headers_visible(view, TRUE); | 300 | gtk_tree_view_set_headers_visible(view, TRUE); |
301 | gtk_tree_view_set_rules_hint(view, FALSE); | 301 | gtk_tree_view_set_rules_hint(view, TRUE); |
302 | 302 | ||
303 | column = gtk_tree_view_column_new(); | 303 | column = gtk_tree_view_column_new(); |
304 | gtk_tree_view_append_column(view, column); | 304 | gtk_tree_view_append_column(view, column); |
@@ -756,7 +756,6 @@ void on_load_clicked(GtkButton * button, gpointer user_data) | |||
756 | void on_single_clicked(GtkButton * button, gpointer user_data) | 756 | void on_single_clicked(GtkButton * button, gpointer user_data) |
757 | { | 757 | { |
758 | view_mode = SINGLE_VIEW; | 758 | view_mode = SINGLE_VIEW; |
759 | gtk_paned_set_position(GTK_PANED(hpaned), 0); | ||
760 | gtk_widget_hide(tree1_w); | 759 | gtk_widget_hide(tree1_w); |
761 | current = &rootmenu; | 760 | current = &rootmenu; |
762 | display_tree_part(); | 761 | display_tree_part(); |
@@ -782,7 +781,6 @@ void on_split_clicked(GtkButton * button, gpointer user_data) | |||
782 | void on_full_clicked(GtkButton * button, gpointer user_data) | 781 | void on_full_clicked(GtkButton * button, gpointer user_data) |
783 | { | 782 | { |
784 | view_mode = FULL_VIEW; | 783 | view_mode = FULL_VIEW; |
785 | gtk_paned_set_position(GTK_PANED(hpaned), 0); | ||
786 | gtk_widget_hide(tree1_w); | 784 | gtk_widget_hide(tree1_w); |
787 | if (tree2) | 785 | if (tree2) |
788 | gtk_tree_store_clear(tree2); | 786 | gtk_tree_store_clear(tree2); |
@@ -1444,6 +1442,12 @@ static void display_tree(struct menu *menu) | |||
1444 | if (((menu != &rootmenu) && !(menu->flags & MENU_ROOT)) | 1442 | if (((menu != &rootmenu) && !(menu->flags & MENU_ROOT)) |
1445 | || (view_mode == FULL_VIEW) | 1443 | || (view_mode == FULL_VIEW) |
1446 | || (view_mode == SPLIT_VIEW))*/ | 1444 | || (view_mode == SPLIT_VIEW))*/ |
1445 | |||
1446 | /* Change paned position if the view is not in 'split mode' */ | ||
1447 | if (view_mode == SINGLE_VIEW || view_mode == FULL_VIEW) { | ||
1448 | gtk_paned_set_position(GTK_PANED(hpaned), 0); | ||
1449 | } | ||
1450 | |||
1447 | if (((view_mode == SINGLE_VIEW) && (menu->flags & MENU_ROOT)) | 1451 | if (((view_mode == SINGLE_VIEW) && (menu->flags & MENU_ROOT)) |
1448 | || (view_mode == FULL_VIEW) | 1452 | || (view_mode == FULL_VIEW) |
1449 | || (view_mode == SPLIT_VIEW)) { | 1453 | || (view_mode == SPLIT_VIEW)) { |