diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-28 21:42:12 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-28 21:42:12 +0800 |
commit | e0b74b2ce55a3b543566146feedd5015acdd3517 (patch) | |
tree | dd8ea352827d5d7da3aa69a0fdf1acf9c60f08e8 | |
parent | aba2b5bbeb4e21e1bac6e2e8779d45bfdf610569 (diff) | |
download | gsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.tar gsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.tar.gz gsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.tar.bz2 gsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.tar.lz gsoc2013-evolution-e0b74b2ce55a3b543566146feedd5015acdd3517.tar.xz 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
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/mail-search-dialogue.c | 7 | ||||
-rw-r--r-- | mail/mail-vfolder.c | 3 |
3 files changed, 17 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 0f7fe22915..efb7a36e96 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,13 @@ 2001-01-28 Ettore Perazzoli <ettore@ximian.com> + * mail-vfolder.c (vfolder_gui_add_rule): Make the OK button the + default one. + + * mail-search-dialogue.c (mail_search_dialogue_init): Use stock + buttons for OK and Cancel. Make the OK button the default one. + +2001-01-28 Ettore Perazzoli <ettore@ximian.com> + * mail-vfolder.c (vfolder_gui_add_rule): Set a default size for the window so that more rules are visible. 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); } diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index cb6896a363..c46a09e746 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -299,10 +299,13 @@ vfolder_gui_add_rule(VfolderRule *rule) GnomeDialog *gd; w = filter_rule_get_widget((FilterRule *)rule, (RuleContext *)context); + gd = (GnomeDialog *)gnome_dialog_new(_("New VFolder"), GNOME_STOCK_BUTTON_OK, GNOME_STOCK_BUTTON_CANCEL, NULL); + gnome_dialog_set_default (gd, 0); + gtk_window_set_policy(GTK_WINDOW(gd), FALSE, TRUE, FALSE); gtk_window_set_default_size (GTK_WINDOW (gd), 500, 500); gtk_box_pack_start((GtkBox *)gd->vbox, w, TRUE, TRUE, 0); |