[empathy: 11/16] The icon needs to be set as "icon-name" not "stock-id"



commit 0ba165de9aecc194985de7c6c938b69360e9c3a3
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Tue Apr 19 08:32:31 2011 +1000

    The icon needs to be set as "icon-name" not "stock-id"

 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 0952284..e888808 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",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]