From 19af062a41124cdcdc4ce738caadfb511a7bd2cc Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Tue, 19 Feb 2013 14:08:46 -0500 Subject: [PATCH] * #19867: gnome: always refresh account list on account updates --- gnome/src/config/accountlistconfigdialog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnome/src/config/accountlistconfigdialog.c b/gnome/src/config/accountlistconfigdialog.c index e408ca5e06..182ac585ba 100644 --- a/gnome/src/config/accountlistconfigdialog.c +++ b/gnome/src/config/accountlistconfigdialog.c @@ -114,12 +114,15 @@ static void delete_account_cb(G_GNUC_UNUSED GtkButton *button, gpointer data) g_free(selected_accountID); } +static void account_store_fill(); + static void run_account_dialog(const gchar *selected_accountID, SFLPhoneClient *client) { account_t *account = account_list_get_by_id(selected_accountID); GtkWidget *dialog = show_account_window(account, client); update_account_from_dialog(dialog, account); + account_store_fill(); } static void row_activated_cb(GtkTreeView *view, @@ -197,7 +200,6 @@ static void add_account_cb(SFLPhoneClient *client) account_t *new_account = create_default_account(); account_list_add(new_account); run_account_dialog(new_account->accountID, client); - account_store_fill(); } /** -- GitLab