aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-search-dialogue.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-28 21:42:12 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-28 21:42:12 +0800
commite0b74b2ce55a3b543566146feedd5015acdd3517 (patch)
treedd8ea352827d5d7da3aa69a0fdf1acf9c60f08e8 /mail/mail-search-dialogue.c
parentaba2b5bbeb4e21e1bac6e2e8779d45bfdf610569 (diff)
downloadgsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.tar.gz
gsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.tar.zst
gsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.zip
Make the advanced search dialog use stock buttons. Make the OK button
the default button in the advanced search and vfolder dialogs. svn path=/trunk/; revision=7878
Diffstat (limited to 'mail/mail-search-dialogue.c')
-rw-r--r--mail/mail-search-dialogue.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/mail-search-dialogue.c b/mail/mail-search-dialogue.c
index 457832353b..5d6d3221fd 100644
--- a/mail/mail-search-dialogue.c
+++ b/mail/mail-search-dialogue.c
@@ -102,7 +102,12 @@ mail_search_dialogue_init (MailSearchDialogue *o)
{
GnomeDialog *dialogue = GNOME_DIALOG (o);
- gnome_dialog_append_buttons (dialogue, _("Ok"), _("Search"), _("Cancel"), 0);
+ gnome_dialog_append_buttons (dialogue,
+ GNOME_STOCK_BUTTON_OK,
+ _("_Search"),
+ GNOME_STOCK_BUTTON_CANCEL,
+ NULL);
+ gnome_dialog_set_default (dialogue, 0);
}