diff pidgin/gtkprefs.c @ 18032:fbebe15c91a7

propagate from branch 'im.pidgin.pidgin' (head bdd3cb040100fe925456b862d03cc6c5a61648ef) to branch 'im.pidgin.pidgin.2.1.0' (head d848f911176cfb2100a9f60b1d6bacdfe86e956e)
author Luke Schierer <lschiere@pidgin.im>
date Sat, 02 Jun 2007 13:09:49 +0000
parents 8e8da9a1eaac 92e27556160c
children 6b7b13adb9b1
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Sat Jun 02 06:26:24 2007 +0000
+++ b/pidgin/gtkprefs.c	Sat Jun 02 13:09:49 2007 +0000
@@ -1987,11 +1987,7 @@
 	/* Back to instant-apply! I win!  BU-HAHAHA! */
 
 	/* Create the window */
-	prefs = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-	gtk_window_set_role(GTK_WINDOW(prefs), "preferences");
-	gtk_window_set_title(GTK_WINDOW(prefs), _("Preferences"));
-	gtk_window_set_resizable (GTK_WINDOW(prefs), FALSE);
-	gtk_container_set_border_width(GTK_CONTAINER(prefs), PIDGIN_HIG_BORDER);
+	prefs = pidgin_create_window(_("Preferences"), PIDGIN_HIG_BORDER, "preferences", FALSE);
 	g_signal_connect(G_OBJECT(prefs), "destroy",
 					 G_CALLBACK(delete_prefs), NULL);