Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: gconf: update pane correctly after loading a config file

Every time a config file is loaded (either by clicking the "Load" button
or selecting "File" -> "Load" from the menu), a new list is appended to
the pane.

The current tree needs to be cleared by calling gtk_tree_store_clear().

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+3 -1
+3 -1
scripts/kconfig/gconf.c
··· 487 487 if (conf_read(fn)) 488 488 text_insert_msg("Error", "Unable to load configuration !"); 489 489 else 490 - display_tree(&rootmenu); 490 + display_tree_part(); 491 491 } 492 492 493 493 void on_load1_activate(GtkMenuItem * menuitem, gpointer user_data) ··· 1399 1399 display_tree(current); 1400 1400 else if (view_mode == SPLIT_VIEW) 1401 1401 display_tree(browsed); 1402 + else if (view_mode == FULL_VIEW) 1403 + display_tree(&rootmenu); 1402 1404 gtk_tree_view_expand_all(GTK_TREE_VIEW(tree2_w)); 1403 1405 } 1404 1406