~attente/libindicator/1293548-1

« back to all changes in this revision

Viewing changes to libindicator/indicator-ng.c

  • Committer: Tarmac
  • Author(s): Colin Watson
  • Date: 2013-12-20 20:31:02 UTC
  • mfrom: (519.1.1 no-gtk-stock)
  • Revision ID: tarmac-20131220203102-fbe2xnbwe4o2cn0i
Use named icons rather than (deprecated) stock items. Fixes: https://bugs.launchpad.net/bugs/1262626.

Approved by Charles Kerr, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
    {
253
253
      gchar *text = g_variant_print (variant, TRUE);
254
254
      g_warning ("invalid icon variant '%s'", text);
255
 
      gtk_image_set_from_stock (self->entry.image, GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_LARGE_TOOLBAR);
 
255
      gtk_image_set_from_icon_name (self->entry.image, "image-missing", GTK_ICON_SIZE_LARGE_TOOLBAR);
256
256
      g_free (text);
257
257
    }
258
258
}