aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-12-10 23:08:52 +0800
committerMilan Crha <mcrha@redhat.com>2009-12-10 23:08:52 +0800
commit4a9bf4dffd98346f9eee848708df573df56ed1d6 (patch)
treeff25e44e04c981f030fdbd734520dd6f0c9703cd /plugins
parent23b4037df07370ee9f2bf069db2256620c0a2f82 (diff)
downloadgsoc2013-evolution-4a9bf4dffd98346f9eee848708df573df56ed1d6.tar.gz
gsoc2013-evolution-4a9bf4dffd98346f9eee848708df573df56ed1d6.tar.zst
gsoc2013-evolution-4a9bf4dffd98346f9eee848708df573df56ed1d6.zip
Bug #499322 - Use extension for "Save as" suggested file name
Diffstat (limited to 'plugins')
-rw-r--r--plugins/backup-restore/backup-restore.c2
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/backup-restore/backup-restore.c b/plugins/backup-restore/backup-restore.c
index bc7766e861..80d0b76fcb 100644
--- a/plugins/backup-restore/backup-restore.c
+++ b/plugins/backup-restore/backup-restore.c
@@ -150,7 +150,7 @@ action_settings_backup_cb (GtkAction *action,
file = e_shell_run_save_dialog (
e_shell_window_get_shell (shell_window),
_("Select name of the Evolution backup file"),
- "evolution-backup.tar.gz", (GtkCallback)
+ "evolution-backup.tar.gz", "*.tar.gz", (GtkCallback)
set_local_only, NULL);
if (file == NULL)
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index d1819b4b48..57e9bc2ad8 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -1519,7 +1519,7 @@ save_vcalendar_cb (GtkWidget *button, struct _itip_puri *pitip)
shell = e_shell_get_default ();
file = e_shell_run_save_dialog (
- shell, _("Save Calendar"), suggestion, NULL, NULL);
+ shell, _("Save Calendar"), suggestion, "*.ics:text/calendar", NULL, NULL);
if (file == NULL)
return;