← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~bratsche/appmenu-gtk/pixbuf-support into lp:appmenu-gtk

 

Cody Russell has proposed merging lp:~bratsche/appmenu-gtk/pixbuf-support into lp:appmenu-gtk.

Requested reviews:
  Canonical Desktop Experience Team (canonical-dx-team)
Related bugs:
  #598528 doesn't display icons
  https://bugs.launchpad.net/bugs/598528

-- 
https://code.launchpad.net/~bratsche/appmenu-gtk/pixbuf-support/+merge/29400
Your team ayatana-commits is subscribed to branch lp:appmenu-gtk.
=== modified file 'src/bridge.c'
--- src/bridge.c	2010-07-06 14:33:39 +0000
+++ src/bridge.c	2010-07-07 15:08:41 +0000
@@ -618,6 +618,12 @@
                 {
                   update_icon_name (mi, image);
                 }
+              else if (image_type == GTK_IMAGE_PIXBUF)
+                {
+                  dbusmenu_menuitem_property_set_image (mi,
+                                                        DBUSMENU_MENUITEM_PROP_ICON_DATA,
+                                                        gtk_image_get_pixbuf (GTK_IMAGE (image)));
+                }
             }
 
           dbusmenu_menuitem_property_set (mi,


Follow ups