aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/search/e-addressbook-search-dialog.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-02-05 23:57:15 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-05 23:57:15 +0800
commit5a8d47207061f70c4dc0ce6c77d12ea241644133 (patch)
treee19b6c2385514629f48676cee50ef9c477349aba /addressbook/gui/search/e-addressbook-search-dialog.c
parent6c2bb13f676683a4ea59af45bf9d750bb6a84591 (diff)
downloadgsoc2013-evolution-5a8d47207061f70c4dc0ce6c77d12ea241644133.tar
gsoc2013-evolution-5a8d47207061f70c4dc0ce6c77d12ea241644133.tar.gz
gsoc2013-evolution-5a8d47207061f70c4dc0ce6c77d12ea241644133.tar.bz2
gsoc2013-evolution-5a8d47207061f70c4dc0ce6c77d12ea241644133.tar.lz
gsoc2013-evolution-5a8d47207061f70c4dc0ce6c77d12ea241644133.tar.xz
gsoc2013-evolution-5a8d47207061f70c4dc0ce6c77d12ea241644133.tar.zst
gsoc2013-evolution-5a8d47207061f70c4dc0ce6c77d12ea241644133.zip
Make the Note field be quoted printable.
2001-02-05 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c (e_card_get_vcard): Make the Note field be quoted printable. 2001-01-27 Christopher James Lahey <clahey@helixcode.com> * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_init): This should be a close button, not a cancel button. svn path=/trunk/; revision=7971
Diffstat (limited to 'addressbook/gui/search/e-addressbook-search-dialog.c')
-rw-r--r--addressbook/gui/search/e-addressbook-search-dialog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/search/e-addressbook-search-dialog.c b/addressbook/gui/search/e-addressbook-search-dialog.c
index 20ac9c7413..f334b5e652 100644
--- a/addressbook/gui/search/e-addressbook-search-dialog.c
+++ b/addressbook/gui/search/e-addressbook-search-dialog.c
@@ -125,7 +125,6 @@ button_press (GtkWidget *widget, int button, EAddressbookSearchDialog *dialog)
char *query;
if (button == 0) {
- gtk_widget_show(dialog->scrolled_window);
query = get_query(dialog);
gtk_object_set(GTK_OBJECT(dialog->view),
"query", query,
@@ -149,7 +148,7 @@ e_addressbook_search_dialog_init (EAddressbookSearchDialog *view)
gnome_dialog_append_buttons(dialog,
_("Search"),
- GNOME_STOCK_BUTTON_CANCEL, NULL);
+ GNOME_STOCK_BUTTON_CLOSE, NULL);
gnome_dialog_set_default(dialog, 0);
@@ -164,6 +163,8 @@ e_addressbook_search_dialog_init (EAddressbookSearchDialog *view)
GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER);
gtk_container_add(GTK_CONTAINER(view->scrolled_window), view->view);
+ gtk_widget_show(view->scrolled_window);
+
gtk_box_pack_start(GTK_BOX(dialog->vbox), view->scrolled_window, TRUE, TRUE, 0);
}