diff pidgin/gtkdebug.c @ 29391:93f613ccd002

De-dialogify the file-transfer and debug windows. Closes #6054.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 08 Feb 2010 16:44:05 +0000
parents f59dd3e9875d
children 2b9db39bd7ed
line wrap: on
line diff
--- a/pidgin/gtkdebug.c	Sun Feb 07 17:43:30 2010 +0000
+++ b/pidgin/gtkdebug.c	Mon Feb 08 16:44:05 2010 +0000
@@ -686,7 +686,7 @@
 	width  = purple_prefs_get_int(PIDGIN_PREFS_ROOT "/debug/width");
 	height = purple_prefs_get_int(PIDGIN_PREFS_ROOT "/debug/height");
 
-	win->window = pidgin_create_dialog(_("Debug Window"), 0, "debug", TRUE);
+	win->window = pidgin_create_window(_("Debug Window"), 0, "debug", TRUE);
 	purple_debug_info("gtkdebug", "Setting dimensions to %d, %d\n",
 					width, height);
 
@@ -714,7 +714,8 @@
 #endif /* HAVE_REGEX_H */
 
 	/* Setup the vbox */
-	vbox = pidgin_dialog_get_vbox(GTK_DIALOG(win->window));
+	vbox = gtk_vbox_new(FALSE, 0);
+	gtk_container_add(GTK_CONTAINER(win->window), vbox);
 
 	if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/debug/toolbar")) {
 		/* Setup our top button bar thingie. */