forked from AuroraMiddleware/gtk
Actually add the missing/broken image icon as the image for the "missing
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am: Actually add the missing/broken image icon as the image for the "missing image" stock icon.
This commit is contained in:
parent
c77203bd74
commit
05969ed566
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
Actually add the missing/broken image icon as the
|
||||
image for the "missing image" stock icon.
|
||||
|
||||
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/gtk-demo/stock_browser.c (do_stock_browser):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
Actually add the missing/broken image icon as the
|
||||
image for the "missing image" stock icon.
|
||||
|
||||
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/gtk-demo/stock_browser.c (do_stock_browser):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
Actually add the missing/broken image icon as the
|
||||
image for the "missing image" stock icon.
|
||||
|
||||
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/gtk-demo/stock_browser.c (do_stock_browser):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
Actually add the missing/broken image icon as the
|
||||
image for the "missing image" stock icon.
|
||||
|
||||
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/gtk-demo/stock_browser.c (do_stock_browser):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
Actually add the missing/broken image icon as the
|
||||
image for the "missing image" stock icon.
|
||||
|
||||
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/gtk-demo/stock_browser.c (do_stock_browser):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
Actually add the missing/broken image icon as the
|
||||
image for the "missing image" stock icon.
|
||||
|
||||
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/gtk-demo/stock_browser.c (do_stock_browser):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 1 19:44:48 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
|
||||
Actually add the missing/broken image icon as the
|
||||
image for the "missing image" stock icon.
|
||||
|
||||
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/gtk-demo/stock_browser.c (do_stock_browser):
|
||||
|
@ -57,9 +57,6 @@ struct _GtkIconSource
|
||||
guint any_size : 1;
|
||||
};
|
||||
|
||||
/* FIXME use a better icon for this */
|
||||
#define MISSING_IMAGE_INLINE dialog_error
|
||||
|
||||
static gpointer parent_class = NULL;
|
||||
|
||||
static void gtk_icon_factory_init (GtkIconFactory *icon_factory);
|
||||
@ -454,7 +451,7 @@ get_default_icons (GtkIconFactory *factory)
|
||||
{
|
||||
/* KEEP IN SYNC with gtkstock.c */
|
||||
|
||||
add_unsized (factory, MISSING_IMAGE_INLINE, GTK_STOCK_MISSING_IMAGE);
|
||||
add_unsized (factory, stock_missing_image, GTK_STOCK_MISSING_IMAGE);
|
||||
|
||||
add_sized (factory, dialog_error, GTK_ICON_SIZE_DIALOG, GTK_STOCK_DIALOG_ERROR);
|
||||
add_sized (factory, dialog_info, GTK_ICON_SIZE_DIALOG, GTK_STOCK_DIALOG_INFO);
|
||||
@ -1094,7 +1091,7 @@ render_fallback_image (GtkStyle *style,
|
||||
static GtkIconSource fallback_source = { NULL, NULL, 0, 0, 0, TRUE, TRUE, TRUE };
|
||||
|
||||
if (fallback_source.pixbuf == NULL)
|
||||
fallback_source.pixbuf = gdk_pixbuf_new_from_inline (-1, MISSING_IMAGE_INLINE, FALSE, NULL);
|
||||
fallback_source.pixbuf = gdk_pixbuf_new_from_inline (-1, stock_missing_image, FALSE, NULL);
|
||||
|
||||
return gtk_style_render_icon (style,
|
||||
&fallback_source,
|
||||
|
@ -10,6 +10,7 @@ IMAGES = @STRIP_BEGIN@ \
|
||||
stock_align_left.png \
|
||||
stock_align_right.png \
|
||||
stock_bottom.png \
|
||||
stock_broken_image.png \
|
||||
stock_button_apply.png \
|
||||
stock_button_cancel.png \
|
||||
stock_button_close.png \
|
||||
@ -114,6 +115,7 @@ VARIABLES = @STRIP_BEGIN@ \
|
||||
stock_menu_print_preview $(srcdir)/stock_menu_print_preview.png \
|
||||
stock_menu_sort_ascending $(srcdir)/stock_menu_sort_ascending.png \
|
||||
stock_menu_sort_descending $(srcdir)/stock_menu_sort_descending.png \
|
||||
stock_missing_image $(srcdir)/stock_broken_image.png \
|
||||
stock_new $(srcdir)/stock_new.png \
|
||||
stock_open $(srcdir)/stock_open.png \
|
||||
stock_paste $(srcdir)/stock_paste.png \
|
||||
|
Loading…
Reference in New Issue
Block a user