changeset 5661:b596002ff81e

[gaim-migrate @ 6075] There's a big spider crawling up my monitor ... Oh, and the weirdo things with the disclosure widget no longer happen. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 09:48:19 +0000
parents 1709a545a7bd
children 937d5554021e
files src/gtkaccount.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Mon Jun 02 09:44:42 2003 +0000
+++ b/src/gtkaccount.c	Mon Jun 02 09:48:19 2003 +0000
@@ -505,9 +505,7 @@
 		dialog->prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(dialog->plugin);
 
 
-	GAIM_DIALOG(win);
-	dialog->window = win;
-
+	dialog->window = win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
 	gtk_window_set_role(GTK_WINDOW(win), "account");
 
 	if (type == ADD_ACCOUNT_DIALOG)
@@ -515,6 +513,8 @@
 	else
 		gtk_window_set_title(GTK_WINDOW(win), _("Modify Account"));
 
+	gtk_window_set_resizable(GTK_WINDOW(win), FALSE);
+
 	gtk_container_set_border_width(GTK_CONTAINER(win), 12);
 
 #if 0
@@ -540,7 +540,6 @@
 	/* Setup the box that the disclosure will cover. */
 	dbox = gtk_vbox_new(FALSE, 0);
 	gtk_box_pack_start(GTK_BOX(vbox), dbox, FALSE, FALSE, 0);
-	gtk_widget_show(dbox);
 
 	gaim_disclosure_set_container(GAIM_DISCLOSURE(disclosure), dbox);