Updating branch refs/heads/master
         to b7a42ad057feb1707611aa931f6bd8dbd532d169 (commit)
       from c551c14a5c415d7bcb67975a3ca013a9318a71e7 (commit)

commit b7a42ad057feb1707611aa931f6bd8dbd532d169
Author: Alistair Buxton <[email protected]>
Date:   Thu Nov 7 23:02:22 2013 +0000

    Remove the old icon, not the label, when icon is updated.

 panel-plugin/indicator-button-box.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/indicator-button-box.c 
b/panel-plugin/indicator-button-box.c
index 1118a52..38ead57 100644
--- a/panel-plugin/indicator-button-box.c
+++ b/panel-plugin/indicator-button-box.c
@@ -280,7 +280,7 @@ indicator_button_box_set_image (IndicatorButtonBox  *box,
 
   if (box->icon != NULL)
     {
-      gtk_container_remove (GTK_CONTAINER (box), box->label);
+      gtk_container_remove (GTK_CONTAINER (box), box->icon);
       g_object_unref (G_OBJECT (box->icon));
     }
   box->icon = GTK_WIDGET (image);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to