[gnome-panel] status-notifier: use image-missing for items that doesn't have icon



commit 9e7bd29a0d96a4728201c4f941d69e9795d5c402
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Nov 10 18:17:59 2016 +0200

    status-notifier: use image-missing for items that doesn't have icon

 applets/status-notifier/sn-item-v0.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/applets/status-notifier/sn-item-v0.c b/applets/status-notifier/sn-item-v0.c
index 3f76623..15e832e 100644
--- a/applets/status-notifier/sn-item-v0.c
+++ b/applets/status-notifier/sn-item-v0.c
@@ -241,7 +241,8 @@ update (SnItemV0 *v0)
     }
   else
     {
-      g_debug ("status notifier item does not have icon");
+      gtk_image_set_from_icon_name (image, "image-missing", GTK_ICON_SIZE_MENU);
+      gtk_image_set_pixel_size (image, 16);
     }
 
   tip = v0->tooltip;


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