aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
parentc4f7e31e8eabc2f61df46af45378c8f272ecf759 (diff)
downloadgsoc2013-evolution-7e12d9c21c403cd2e9dff86d4d41874bea585bdc.tar.gz
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')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook.c8
2 files changed, 12 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 1ba0c5f034..458236ad84 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
+
+ * gui/component/addressbook.c (new_contact_cb): Use the stock
+ cancel button for the dialog.
+ (table_double_click): Likewise.
+ (find_contact_cb): Likewise.
+
2000-05-31 Miguel de Icaza <miguel@helixcode.com>
* contact-editor/contact-editor.glade: Added accelerators for
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));