[Addressbook] Fix for #337604

"simon.zheng" <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <1145000999.28363.4.camel@snowboard>
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

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
337604-destory-print-dialog.diff (text/x-patch, 1.2 KB)
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  <[email protected]>
+
+	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 <[email protected]>
 
 	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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.