aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-01 14:05:48 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-01 14:05:48 +0800
commit7e12d9c21c403cd2e9dff86d4d41874bea585bdc (patch)
tree62f41458e551f2e76176bae6f5af9449356318ad /addressbook/gui/component
parentc4f7e31e8eabc2f61df46af45378c8f272ecf759 (diff)
downloadgsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.tar
gsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.tar.gz
gsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.tar.bz2
gsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.tar.lz
gsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.tar.xz
gsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.tar.zst
gsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.zip
Use stock Cancel buttons in the addressbook dialogs.
svn path=/trunk/; revision=3333
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 369400f4a1..42ca9dca78 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -109,7 +109,7 @@ new_contact_cb (BonoboUIHandler *uih, void *user_data, const char *path)
EBook *book;
AddressbookView *view = (AddressbookView *) user_data;
GtkObject *object;
- GtkWidget* dlg = gnome_dialog_new ("Contact Editor", "Save", "Cancel", NULL);
+ GtkWidget* dlg = gnome_dialog_new ("Contact Editor", "Save", GNOME_STOCK_BUTTON_CANCEL, NULL);
card = e_card_new("");
contact_editor = e_contact_editor_new(card);
@@ -257,7 +257,9 @@ find_contact_cb (BonoboUIHandler *uih, void *user_data, const char *path)
GtkWidget* search_entry = gtk_entry_new();
gchar* search_text;
AddressbookView *view = (AddressbookView *) user_data;
- GtkWidget* dlg = gnome_dialog_new ("Search Contacts", "Find", "Cancel", NULL);
+
+ GtkWidget* dlg = gnome_dialog_new ("Search Contacts", "Find",
+ GNOME_STOCK_BUTTON_CANCEL, NULL);
search_text = get_query (view);
gtk_entry_set_text(GTK_ENTRY(search_entry), search_text);
@@ -810,7 +812,7 @@ table_double_click(ETable *table, gint row, AddressbookView *view)
gint result;
GtkWidget* contact_editor;
EBook *book;
- GtkWidget* dlg = gnome_dialog_new ("Contact Editor", "Save", "Cancel", NULL);
+ GtkWidget* dlg = gnome_dialog_new ("Contact Editor", "Save", GNOME_STOCK_BUTTON_CANCEL, NULL);
contact_editor = e_contact_editor_new(card);
gtk_object_unref(GTK_OBJECT(card));