[evolution-patches] #50647:on delete folder,opened mail goes blank



This time I get the blank window closed as you suggested.

        http://bugzilla.ximian.com/show_bug.cgi?id=50647

Index: folder-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/Attic/folder-browser.c,v
retrieving revision 1.347.2.4
diff -u -r1.347.2.4 folder-browser.c
--- folder-browser.c	9 Sep 2003 20:49:41 -0000	1.347.2.4
+++ folder-browser.c	12 Feb 2004 15:24:08 -0000
@@ -2508,6 +2508,7 @@
 			}
 		} else {
 			mail_display_set_message (fb->mail_display, NULL, NULL, NULL);
+			g_signal_emit (fb, folder_browser_signals[MESSAGE_LOADED], 0, NULL);
 		}
 	}
 	
Index: message-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/Attic/message-browser.c,v
retrieving revision 1.39.2.2
diff -u -r1.39.2.2 message-browser.c
--- message-browser.c	1 Aug 2003 02:45:05 -0000	1.39.2.2
+++ message-browser.c	12 Feb 2004 15:24:40 -0000
@@ -228,6 +228,10 @@
 	
 	if (message)
 		subject = (char *) camel_mime_message_get_subject (message);
+	else {
+		gtk_widget_destroy (mb);
+		return;
+	}
 	
 	if (subject == NULL)
 		subject = _("(No subject)");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]