Mercurial > pidgin.yaz
changeset 901:f168f2c7b357
[gaim-migrate @ 911]
i can't believe i just did this
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 14 Sep 2000 00:37:51 +0000 |
parents | e18815f5a4e9 |
children | bd5f4997f063 |
files | src/prefs.c |
diffstat | 1 files changed, 11 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/prefs.c Wed Sep 13 23:48:43 2000 +0000 +++ b/src/prefs.c Thu Sep 14 00:37:51 2000 +0000 @@ -1609,14 +1609,6 @@ gtk_signal_connect(GTK_OBJECT(preftree), "tree_select_row", GTK_SIGNAL_FUNC(try_me), NULL); gtk_widget_show(preftree); - prefs_build_general(preftree); - prefs_build_connect(preftree); - prefs_build_buddy(preftree); - prefs_build_convo(preftree); - prefs_build_sound(preftree); - prefs_build_away(preftree); - prefs_build_browser(preftree); - container = gtk_frame_new(NULL); gtk_container_set_border_width(GTK_CONTAINER(container), 0); gtk_frame_set_shadow_type(GTK_FRAME(container), GTK_SHADOW_NONE); @@ -1627,7 +1619,15 @@ gtk_container_add(GTK_CONTAINER(container), prefdialog); gtk_widget_show(prefdialog); - general_page(); + prefs_build_general(preftree); + prefs_build_connect(preftree); + prefs_build_buddy(preftree); + prefs_build_convo(preftree); + prefs_build_sound(preftree); + prefs_build_away(preftree); + prefs_build_browser(preftree); + + //general_page(); hbox = gtk_hbox_new(FALSE, 5); gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); @@ -1815,6 +1815,8 @@ parent = gtk_ctree_insert_node(GTK_CTREE(preftree), NULL, NULL, text, 5, NULL, NULL, NULL, NULL, 0, 1); gtk_ctree_node_set_row_data(GTK_CTREE(preftree), parent, general_page); + + gtk_ctree_select(GTK_CTREE(preftree), parent); } void prefs_build_connect(GtkWidget *preftree)