aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-03-02 02:59:38 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-03-02 02:59:42 +0800
commitb0de7c5d5d8c93dd7b74a77b4892c331f37f5441 (patch)
tree8c63a77afe624bb20a49c6afd6a86e47704e6a5d /src/empathy-accounts-dialog.c
parent886357ee6af17fe37523337209a09aa6f3112604 (diff)
downloadgsoc2013-empathy-b0de7c5d5d8c93dd7b74a77b4892c331f37f5441.tar
gsoc2013-empathy-b0de7c5d5d8c93dd7b74a77b4892c331f37f5441.tar.gz
gsoc2013-empathy-b0de7c5d5d8c93dd7b74a77b4892c331f37f5441.tar.bz2
gsoc2013-empathy-b0de7c5d5d8c93dd7b74a77b4892c331f37f5441.tar.lz
gsoc2013-empathy-b0de7c5d5d8c93dd7b74a77b4892c331f37f5441.tar.xz
gsoc2013-empathy-b0de7c5d5d8c93dd7b74a77b4892c331f37f5441.tar.zst
gsoc2013-empathy-b0de7c5d5d8c93dd7b74a77b4892c331f37f5441.zip
Make the empathy-account code be slightly more streamlined
On every run of the accounts UI we should try to import MC4 accounts (if they weren't imported already). Also replace the --try-import option with --if-needed to better document the fact that it will only display the UI if needed.
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 1256a1758..c300065f9 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -2229,7 +2229,7 @@ empathy_accounts_dialog_show_application (GdkScreen *screen,
GChildWatchFunc application_exit_cb,
gpointer user_data,
TpAccount *selected_account,
- gboolean try_import,
+ gboolean if_needed,
gboolean hidden)
{
gint command_pid;
@@ -2265,8 +2265,8 @@ empathy_accounts_dialog_show_application (GdkScreen *screen,
argv[i++] = account_option;
}
- if (try_import)
- argv[i++] = "--import";
+ if (if_needed)
+ argv[i++] = "--if-needed";
if (hidden)
argv[i++] = "--hidden";