diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-04-19 06:32:31 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-05-05 15:12:27 +0800 |
commit | 0ba165de9aecc194985de7c6c938b69360e9c3a3 (patch) | |
tree | dc500316ad3c2b90cebf625bce8dac49bacccdfe | |
parent | a3efb63e796880a945daa81be60c77df8a610f95 (diff) | |
download | gsoc2013-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"
-rw-r--r-- | src/empathy-main-window.c | 4 |
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", |