------------------------------------------------------------ revno: 94 committer: David Barth <david.ba...@canonical.com> branch nick: indicator-me timestamp: Fri 2010-04-02 01:14:13 +0200 message: use the default icon if the -panel version is not present modified: src/about-me-menu-item.c
-- lp:indicator-me https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk Your team ayatana-commits is subscribed to branch lp:indicator-me. To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-me/trunk/+edit-subscription
=== modified file 'src/about-me-menu-item.c' --- src/about-me-menu-item.c 2010-03-31 20:10:35 +0000 +++ src/about-me-menu-item.c 2010-04-01 23:14:13 +0000 @@ -261,6 +261,8 @@ priv->label = gtk_label_new (priv->realname); gdouble pixels_per_em = get_pixels_per_em (priv->label); GdkPixbuf *pixbuf = load_icon ("stock_person-panel", pixels_per_em * 3); + if (pixbuf == NULL) + pixbuf = load_icon ("stock_person", pixels_per_em * 3); priv->image = gtk_image_new_from_pixbuf (pixbuf); gtk_misc_set_padding (GTK_MISC (priv->image), 2, 2);
_______________________________________________ Mailing list: https://launchpad.net/~ayatana-commits Post to : ayatana-commits@lists.launchpad.net Unsubscribe : https://launchpad.net/~ayatana-commits More help : https://help.launchpad.net/ListHelp