aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorNat Friedman <nat@ximian.com>2001-08-08 18:27:28 +0800
committerNat Friedman <nat@src.gnome.org>2001-08-08 18:27:28 +0800
commit581740ce36eed13bed3e269fde3c0f117f3950ac (patch)
tree3f5b9a05ded0900f799e8745a2c90847df1e6af4 /addressbook/gui/widgets
parent588f0d537f68fce195ab8fa904c3426f728280b3 (diff)
downloadgsoc2013-evolution-581740ce36eed13bed3e269fde3c0f117f3950ac.tar
gsoc2013-evolution-581740ce36eed13bed3e269fde3c0f117f3950ac.tar.gz
gsoc2013-evolution-581740ce36eed13bed3e269fde3c0f117f3950ac.tar.bz2
gsoc2013-evolution-581740ce36eed13bed3e269fde3c0f117f3950ac.tar.lz
gsoc2013-evolution-581740ce36eed13bed3e269fde3c0f117f3950ac.tar.xz
gsoc2013-evolution-581740ce36eed13bed3e269fde3c0f117f3950ac.tar.zst
gsoc2013-evolution-581740ce36eed13bed3e269fde3c0f117f3950ac.zip
Fixes Clahey bug #2200 :-)
2001-08-08 Nat Friedman <nat@ximian.com> * 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
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/e-addressbook-reflow-adapter.c4
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
index 04f17fd074..47f81db581 100644
--- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
@@ -173,6 +173,7 @@ print (GtkWidget *widget, ModelAndSelection *mns)
model_and_selection_free (mns);
}
+#if 0 /* Envelope printing is disabled for Evolution 1.0. */
static void
print_envelope (GtkWidget *widget, ModelAndSelection *mns)
{
@@ -184,6 +185,7 @@ print_envelope (GtkWidget *widget, ModelAndSelection *mns)
g_list_free (list);
model_and_selection_free (mns);
}
+#endif
static void
card_changed_cb (EBook* book, EBookStatus status, gpointer user_data)
@@ -231,7 +233,9 @@ e_addressbook_reflow_adapter_right_click (EAddressbookReflowAdapter *adapter, Gd
{N_("Send contact to other"), NULL, GTK_SIGNAL_FUNC(send_as), NULL, 0},
{N_("Send message to contact"), NULL, GTK_SIGNAL_FUNC(send_to), NULL, 0},
{N_("Print"), NULL, GTK_SIGNAL_FUNC(print), NULL, 0},
+#if 0 /* Envelope printing is disabled for Evolution 1.0. */
{N_("Print Envelope"), NULL, GTK_SIGNAL_FUNC(print_envelope), NULL, 0},
+#endif
{N_("Delete"), NULL, GTK_SIGNAL_FUNC(delete), NULL, 0},
{NULL, NULL, NULL, 0}};
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 74935dc242..709b0fdfde 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -633,12 +633,14 @@ print (GtkWidget *widget, CardAndBook *card_and_book)
card_and_book_free(card_and_book);
}
+#if 0 /* Envelope printing is disabled for Evolution 1.0. */
static void
print_envelope (GtkWidget *widget, CardAndBook *card_and_book)
{
gtk_widget_show(e_contact_print_envelope_dialog_new(card_and_book->card));
card_and_book_free(card_and_book);
}
+#endif
static void
delete (GtkWidget *widget, CardAndBook *card_and_book)
@@ -671,7 +673,9 @@ table_right_click(ETableScrolled *table, gint row, gint col, GdkEvent *event, EA
{N_("Send contact to other"), NULL, GTK_SIGNAL_FUNC(send_as), NULL, 0},
{N_("Send message to contact"), NULL, GTK_SIGNAL_FUNC(send_to), NULL, 0},
{N_("Print"), NULL, GTK_SIGNAL_FUNC(print), NULL, 0},
+#if 0 /* Envelope printing is disabled for Evolution 1.0. */
{N_("Print Envelope"), NULL, GTK_SIGNAL_FUNC(print_envelope), NULL, 0},
+#endif
{N_("Delete"), NULL, GTK_SIGNAL_FUNC(delete), NULL, 0},
{NULL, NULL, NULL, NULL, 0}
};