aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-04-19 06:32:31 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-05-05 15:12:27 +0800
commit0ba165de9aecc194985de7c6c938b69360e9c3a3 (patch)
treedc500316ad3c2b90cebf625bce8dac49bacccdfe /src/empathy-main-window.c
parenta3efb63e796880a945daa81be60c77df8a610f95 (diff)
downloadgsoc2013-empathy-0ba165de9aecc194985de7c6c938b69360e9c3a3.tar
gsoc2013-empathy-0ba165de9aecc194985de7c6c938b69360e9c3a3.tar.gz
gsoc2013-empathy-0ba165de9aecc194985de7c6c938b69360e9c3a3.tar.bz2
gsoc2013-empathy-0ba165de9aecc194985de7c6c938b69360e9c3a3.tar.lz
gsoc2013-empathy-0ba165de9aecc194985de7c6c938b69360e9c3a3.tar.xz
gsoc2013-empathy-0ba165de9aecc194985de7c6c938b69360e9c3a3.tar.zst
gsoc2013-empathy-0ba165de9aecc194985de7c6c938b69360e9c3a3.zip
The icon needs to be set as "icon-name" not "stock-id"
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",