[evolution-patches] patch for 42048
- From: Chris Toshok <toshok ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] patch for 42048
- Date: 06 May 2003 11:33:39 -0700
This hooks up the dialog properly. the table still doesn't print for me
but i'm pretty sure this is an etable problem and not an addressbook
problem. Is the addressbook the only component that makes use of etable
printing?
Chris
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1396
diff -u -r1.1396 ChangeLog
--- ChangeLog 30 Apr 2003 04:10:20 -0000 1.1396
+++ ChangeLog 6 May 2003 18:23:48 -0000
@@ -1,3 +1,10 @@
+2003-05-06 Chris Toshok <toshok ximian com>
+
+ [ fixes bug #42048 ]
+ * gui/widgets/e-addressbook-view.c (e_contact_print_button):
+ button => response.
+ (e_addressbook_view_print): connect to "response", not "clicked".
+
2003-04-29 Chris Toshok <toshok ximian com>
[ fixes bug #41255 ]
Index: gui/widgets/e-addressbook-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-addressbook-view.c,v
retrieving revision 1.113
diff -u -r1.113 e-addressbook-view.c
--- gui/widgets/e-addressbook-view.c 23 Apr 2003 20:34:36 -0000 1.113
+++ gui/widgets/e-addressbook-view.c 6 May 2003 18:23:48 -0000
@@ -1530,13 +1530,13 @@
}
static void
-e_contact_print_button(GtkDialog *dialog, gint button, gpointer data)
+e_contact_print_button(GtkDialog *dialog, gint response, gpointer data)
{
GnomePrintJob *master;
GnomePrintContext *pc;
EPrintable *printable = g_object_get_data(G_OBJECT(dialog), "printable");
GtkWidget *preview;
- switch( button ) {
+ switch( response ) {
case GNOME_PRINT_DIALOG_RESPONSE_PRINT:
master = gnome_print_job_new(gnome_print_dialog_get_config ( GNOME_PRINT_DIALOG(dialog) ));
pc = gnome_print_job_get_context( master );
@@ -1674,7 +1674,7 @@
g_object_set_data (G_OBJECT (dialog), "printable", printable);
g_signal_connect(dialog,
- "clicked", G_CALLBACK(e_contact_print_button), NULL);
+ "response", G_CALLBACK(e_contact_print_button), NULL);
weak_data = g_new (EContactPrintDialogWeakData, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]