diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-03 17:23:01 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-03-03 17:23:01 +0800 |
commit | 67308bd569a5a3884225b65b8514725fdf8f3117 (patch) | |
tree | 1e4b3d6d150ca2709b1a3730582d6ee8ecbc889c /src/empathy-accounts-dialog.c | |
parent | 37ae70ceec9ead69d1584067ed9a489f309d1961 (diff) | |
download | gsoc2013-empathy-67308bd569a5a3884225b65b8514725fdf8f3117.tar gsoc2013-empathy-67308bd569a5a3884225b65b8514725fdf8f3117.tar.gz gsoc2013-empathy-67308bd569a5a3884225b65b8514725fdf8f3117.tar.bz2 gsoc2013-empathy-67308bd569a5a3884225b65b8514725fdf8f3117.tar.lz gsoc2013-empathy-67308bd569a5a3884225b65b8514725fdf8f3117.tar.xz gsoc2013-empathy-67308bd569a5a3884225b65b8514725fdf8f3117.tar.zst gsoc2013-empathy-67308bd569a5a3884225b65b8514725fdf8f3117.zip |
accounts-dialog: set display-name before creating the account
This saves us a D-Bus call.
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r-- | src/empathy-accounts-dialog.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 5843c0d74..d8489ee92 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -398,19 +398,10 @@ empathy_account_dialog_account_created_cb (EmpathyAccountWidget *widget_object, TpAccount *account, EmpathyAccountsDialog *dialog) { - gchar *display_name; EmpathyAccountSettings *settings = accounts_dialog_model_get_selected_settings (dialog); EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog); - display_name = empathy_account_widget_get_default_display_name ( - widget_object); - - empathy_account_settings_set_display_name_async (settings, - display_name, NULL, NULL); - - g_free (display_name); - accounts_dialog_update_settings (dialog, settings); accounts_dialog_update_status_infobar (dialog, empathy_account_settings_get_account (settings)); |