[evolution-patches] [Addressbook] Fix for #337604



Hi,

Bug 337604 - Print dialog covers the print preview window for contacts
panel.
http://bugzilla.gnome.org/show_bug.cgi?id=337604

Send the patch for review. Destory the print dialog after clicking print
preview button.

Thanks,
-Simon
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.2062.2.1
diff -u -p -r1.2062.2.1 ChangeLog
--- ChangeLog	7 Apr 2006 07:41:12 -0000	1.2062.2.1
+++ ChangeLog	14 Apr 2006 05:37:07 -0000
@@ -1,3 +1,10 @@
+2006-04-14  Simon Zheng  <simon zheng sun com>
+
+	Fix for bug #337604
+	* printing/e-contact-print.c: (e_contact_print_response):
+	Should destory the print dialog window after clicking Print 
+	Preview button.
+
 2006-03-29  Li Yuan <li yuan sun com>
 
 	Fix for bug #336454
Index: printing/e-contact-print.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/printing/e-contact-print.c,v
retrieving revision 1.55
diff -u -p -r1.55 e-contact-print.c
--- printing/e-contact-print.c	14 Feb 2006 10:43:15 -0000	1.55
+++ printing/e-contact-print.c	14 Apr 2006 05:37:07 -0000
@@ -893,6 +893,7 @@ e_contact_print_response(GtkWidget *dial
 			g_object_ref(contact);
 			complete_sequence(NULL, E_BOOK_VIEW_STATUS_OK, ctxt);
 		}
+		gtk_widget_destroy (dialog);
 		break;
 	case GNOME_PRINT_DIALOG_RESPONSE_CANCEL:
 		if (uses_book)


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