aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 0952284e6..e888808ab 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -912,7 +912,9 @@ main_window_setup_balance_create_action (EmpathyMainWindow *window,
action = gtk_action_new (name,
tp_account_get_display_name (account),
_("Top up account credit"),
- tp_account_get_icon_name (account));
+ NULL);
+ g_object_bind_property (account, "icon-name", action, "icon-name",
+ G_BINDING_SYNC_CREATE);
g_object_set_data (G_OBJECT (action), "account", account);
g_signal_connect (action, "activate",