Mercurial > pidgin
diff src/prefs.c @ 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 | 93385c6fc772 |
children | bd5f4997f063 |
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)