aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-11 01:14:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-11 07:18:11 +0800
commit3dfdf087fc7657905fc7804b59414ecd3d74028e (patch)
tree45a5bb547ca73ebaea9c3276860f93df6d417006 /modules/addressbook
parentf70ecb0406903e0fdc09bbf1c9a3367c7ba55ec2 (diff)
downloadgsoc2013-evolution-3dfdf087fc7657905fc7804b59414ecd3d74028e.tar
gsoc2013-evolution-3dfdf087fc7657905fc7804b59414ecd3d74028e.tar.gz
gsoc2013-evolution-3dfdf087fc7657905fc7804b59414ecd3d74028e.tar.bz2
gsoc2013-evolution-3dfdf087fc7657905fc7804b59414ecd3d74028e.tar.lz
gsoc2013-evolution-3dfdf087fc7657905fc7804b59414ecd3d74028e.tar.xz
gsoc2013-evolution-3dfdf087fc7657905fc7804b59414ecd3d74028e.tar.zst
gsoc2013-evolution-3dfdf087fc7657905fc7804b59414ecd3d74028e.zip
Kill more redundant save dialogs and related utilities.
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index 6882f29e6e..0ec4eac2e6 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -225,9 +225,11 @@ action_address_book_save_as_cb (GtkAction *action,
if (list == NULL)
goto exit;
+ string = eab_suggest_filename (list);
file = e_shell_run_save_dialog (
- shell, _("Save as vCard"),
- (GtkCallback) eab_suggest_filename, list);
+ shell, _("Save as vCard"), string, NULL, NULL);
+ g_free (string);
+
if (file == NULL)
goto exit;
@@ -540,9 +542,11 @@ action_contact_save_as_cb (GtkAction *action,
if (list == NULL)
goto exit;
+ string = eab_suggest_filename (list);
file = e_shell_run_save_dialog (
- shell, _("Save as vCard"),
- (GtkCallback) eab_suggest_filename, list);
+ shell, _("Save as vCard"), string, NULL, NULL);
+ g_free (string);
+
if (file == NULL)
goto exit;