aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
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));