# HG changeset patch # User Christian Hammond # Date 1054499255 0 # Node ID 5e9babc828c49bc4542766a7748b205608591697 # Parent fb438552e4e0aba7921f074c39ffc5cee2483d27 [gaim-migrate @ 6054] The Modify Account dialog shows, but don't expect it to be functional in any way :) I had to get this out of the way to fix something else. committer: Tailor Script diff -r fb438552e4e0 -r 5e9babc828c4 src/gtkaccount.c --- a/src/gtkaccount.c Sun Jun 01 19:44:14 2003 +0000 +++ b/src/gtkaccount.c Sun Jun 01 20:27:35 2003 +0000 @@ -100,7 +100,7 @@ static GtkWidget * __make_protocol_menu(AccountPrefsDialog *dialog) { - return NULL; + return gtk_button_new(); } static GtkWidget * @@ -118,6 +118,7 @@ gtk_size_group_add_widget(dialog->sg, label); gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); gtk_box_pack_start(GTK_BOX(hbox), widget, TRUE, TRUE, 0); gtk_widget_show(widget); @@ -140,9 +141,11 @@ dialog->login_frame = gtk_widget_get_parent(gtk_widget_get_parent(frame)); gtk_box_reorder_child(GTK_BOX(parent), dialog->login_frame, 0); + gtk_widget_show(dialog->login_frame); vbox = gtk_vbox_new(FALSE, 6); gtk_container_add(GTK_CONTAINER(frame), vbox); + gtk_widget_show(vbox); /* Protocol */ dialog->protocol_menu = __make_protocol_menu(dialog); @@ -166,6 +169,7 @@ dialog = g_new0(AccountPrefsDialog, 1); dialog->type = type; + dialog->sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); GAIM_DIALOG(win); dialog->window = win; @@ -194,6 +198,8 @@ #if 0 __add_user_options(dialog, vbox); #endif + + gtk_widget_show(win); } /************************************************************************** diff -r fb438552e4e0 -r 5e9babc828c4 src/gtkutils.c --- a/src/gtkutils.c Sun Jun 01 19:44:14 2003 +0000 +++ b/src/gtkutils.c Sun Jun 01 20:27:35 2003 +0000 @@ -497,6 +497,7 @@ vbox = gtk_vbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(parent), vbox, FALSE, FALSE, 0); + gtk_widget_show(vbox); label = gtk_label_new(NULL); g_snprintf(labeltitle, sizeof(labeltitle), @@ -505,15 +506,19 @@ gtk_label_set_markup(GTK_LABEL(label), labeltitle); gtk_misc_set_alignment(GTK_MISC(label), 0, 0); gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); hbox = gtk_hbox_new(FALSE, 6); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); + gtk_widget_show(hbox); label = gtk_label_new(" "); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); vbox = gtk_vbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(hbox), vbox, FALSE, FALSE, 0); + gtk_widget_show(vbox); return vbox; }