From 581740ce36eed13bed3e269fde3c0f117f3950ac Mon Sep 17 00:00:00 2001 From: Nat Friedman Date: Wed, 8 Aug 2001 10:27:28 +0000 Subject: Fixes Clahey bug #2200 :-) 2001-08-08 Nat Friedman * evolution-contact-editor.xml: Removed Print Envelope since it's disabled for Evolution 1.0. * gui/widgets/e-addressbook-reflow-adapter.c (print_envelope): If 0'd out since Envelope printing is disabled for 1.0. * gui/widgets/e-addressbook-view.c (print_envelope): Likewise. * gui/contact-editor/e-contact-editor.c (print_envelope_cb): Likewise. * gui/widgets/e-addressbook-reflow-adapter.c (e_addressbook_reflow_adapter_right_click): Removed "Print Envelope" menu item. * gui/widgets/e-addressbook-view.c (table_right_click): Likewise. * gui/contact-editor/e-contact-editor.c (verbs): Likewise. svn path=/trunk/; revision=11780 --- addressbook/gui/contact-editor/e-contact-editor.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addressbook/gui/contact-editor') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index ae1ef0ff95..1a5f154111 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -982,6 +982,7 @@ print_cb (BonoboUIComponent *uih, void *data, const char *path) gtk_widget_show(e_contact_print_card_dialog_new(ce->card)); } +#if 0 /* Envelope printing is disabled for Evolution 1.0. */ /* Emits the signal to request printing a card */ static void print_envelope_cb (BonoboUIComponent *uih, void *data, const char *path) @@ -995,6 +996,7 @@ print_envelope_cb (BonoboUIComponent *uih, void *data, const char *path) gtk_widget_show(e_contact_print_envelope_dialog_new(ce->card)); } +#endif /* Toolbar/Save and Close callback */ static void @@ -1015,7 +1017,9 @@ BonoboUIVerb verbs [] = { BONOBO_UI_UNSAFE_VERB ("ContactEditorSendTo", file_send_to_cb), BONOBO_UI_UNSAFE_VERB ("ContactEditorDelete", delete_cb), BONOBO_UI_UNSAFE_VERB ("ContactEditorPrint", print_cb), +#if 0 /* Envelope printing is disabled for Evolution 1.0. */ BONOBO_UI_UNSAFE_VERB ("ContactEditorPrintEnvelope", print_envelope_cb), +#endif /* BONOBO_UI_UNSAFE_VERB ("ContactEditorPageSetup", file_page_setup_menu), */ BONOBO_UI_UNSAFE_VERB ("ContactEditorClose", file_close_cb), -- cgit v1.2.3