changeset 4142:b45a29ad4e14

[gaim-migrate @ 4360] Ari Pollak (sourceo): " This cleans up dialogs.c, fixes a warning on gaim exit when the File->New Message dialog has been opened, and made the dialogs a bit more consistent" committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 26 Dec 2002 00:15:43 +0000
parents ccec4fde84f4
children 7f5a18b2b9ac
files src/dialogs.c
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Wed Dec 25 05:30:08 2002 +0000
+++ b/src/dialogs.c	Thu Dec 26 00:15:43 2002 +0000
@@ -688,7 +688,7 @@
 	if (!imdialog) {
 		info = g_new0(struct getuserinfo, 1);
 		info->gc = connections->data;
-		imdialog = gtk_dialog_new_with_buttons("", NULL, GTK_DIALOG_MODAL, 
+		imdialog = gtk_dialog_new_with_buttons("Gaim - New Message", blist ? GTK_WINDOW(blist) : NULL, GTK_DIALOG_MODAL, 
 						       GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
 		gtk_dialog_set_default_response (GTK_DIALOG(imdialog), GTK_RESPONSE_OK);
 		gtk_container_set_border_width (GTK_CONTAINER(imdialog), 6);
@@ -764,8 +764,6 @@
 		}
 		
 		g_signal_connect(G_OBJECT(imdialog), "response", G_CALLBACK(do_im), info);
-		
-		dialogwindows = g_list_prepend(dialogwindows, imdialog->window);
 	}
 	
 	gtk_widget_show_all(imdialog);
@@ -788,7 +786,7 @@
 	g_free(filename);
 	info->gc = connections->data;
 
-	window = gtk_dialog_new_with_buttons("", blist ? GTK_WINDOW(blist) : NULL, GTK_DIALOG_MODAL, 
+	window = gtk_dialog_new_with_buttons("Gaim - Get User Info", blist ? GTK_WINDOW(blist) : NULL, GTK_DIALOG_MODAL, 
 					     GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
 	gtk_dialog_set_default_response (GTK_DIALOG(window), GTK_RESPONSE_OK);
 	gtk_container_set_border_width (GTK_CONTAINER(window), 6);
@@ -3473,12 +3471,10 @@
 	GtkWidget *hbox;
 	GtkWidget *titlebox;
 	GtkWidget *tbox;
-	GtkWidget *sw;
 	GtkWidget *label;
 	GtkWidget *frame;
 	GtkWidget *fbox;
 	GtkWidget *button;
-	GtkTextBuffer *buffer;
 
 	struct create_away *ca = g_new0(struct create_away, 1);
 
@@ -3721,7 +3717,6 @@
 	GtkWidget *bbox;
 	GtkWidget *cancel;
 	static GtkWidget *add = NULL;
-	const char *name = g_malloc(80);
 	GtkWidget *label;
 	GtkWidget *topbox;
 	static int a, c;
@@ -5243,4 +5238,3 @@
 /*------------------------------------------------------------------------*/
 /*  End dialog for setting v-card info                                    */
 /*------------------------------------------------------------------------*/
-