diff options
author | Chris Toshok <toshok@ximian.com> | 2003-05-12 05:51:45 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-05-12 05:51:45 +0800 |
commit | acced3219bf60da7e20b4e1b2408b5fe0eed52ec (patch) | |
tree | b3b45450b13c264eff1337b5a83f7ab02140b61a | |
parent | 5b3149c1696899b50becfaecc4950f5a6a633c2e (diff) | |
download | gsoc2013-evolution-acced3219bf60da7e20b4e1b2408b5fe0eed52ec.tar.gz gsoc2013-evolution-acced3219bf60da7e20b4e1b2408b5fe0eed52ec.tar.zst gsoc2013-evolution-acced3219bf60da7e20b4e1b2408b5fe0eed52ec.zip |
[ fixes bug #42048 ] button => response. (e_addressbook_view_print):
2003-05-11 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".
svn path=/trunk/; revision=21145
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index f213d87521..45bc8aa89e 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,12 @@ 2003-05-11 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-05-11 Chris Toshok <toshok@ximian.com> + [ fixes bug #41245 ] * gui/component/select-names/select-names.glade: fix spacing/border widths as per HIG. diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 4585e6c4a3..7ff7a6654f 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1530,13 +1530,13 @@ e_contact_print_destroy(gpointer data, GObject *where_object_was) } 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 @@ e_addressbook_view_print(EAddressbookView *view) 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); |