diff pidgin/gtksavedstatuses.c @ 17774:9c9184b61564

Make the New Status dialog window resizable and make the text field expand as the window expands.
author Mark Doliner <mark@kingant.net>
date Thu, 07 Jun 2007 08:03:25 +0000
parents 6873797b4ed3
children 0b3d6ea61760
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c	Thu Jun 07 08:02:47 2007 +0000
+++ b/pidgin/gtksavedstatuses.c	Thu Jun 07 08:03:25 2007 +0000
@@ -1088,7 +1088,6 @@
 	dialog->window = win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
 	gtk_window_set_role(GTK_WINDOW(win), "status");
 	gtk_window_set_title(GTK_WINDOW(win), _("Status"));
-	gtk_window_set_resizable(GTK_WINDOW(win), FALSE);
 	gtk_container_set_border_width(GTK_CONTAINER(win), PIDGIN_HIG_BORDER);
 
 	g_signal_connect(G_OBJECT(win), "delete_event",
@@ -1137,7 +1136,7 @@
 
 	/* Status message */
 	hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_BOX_SPACE);
-	gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
+	gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0);
 
 	label = gtk_label_new_with_mnemonic(_("_Message:"));
 	gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);