changeset 5641:5e9babc828c4

[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 <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 01 Jun 2003 20:27:35 +0000
parents fb438552e4e0
children 1693a3027dc8
files src/gtkaccount.c src/gtkutils.c
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }
 
 /**************************************************************************
--- 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;
 }