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 /mail/mail-vfolder.c | |
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
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |