Don't refer to nonexisting stock ids.

2005-08-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock):
	* gtk/gtkimage.c (gtk_image_new_from_stock): Don't
	refer to nonexisting stock ids.
This commit is contained in:
Matthias Clasen 2005-08-29 20:06:16 +00:00 committed by Matthias Clasen
parent 4dfca1aa6b
commit 9a9d081dad
4 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2005-08-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock):
* gtk/gtkimage.c (gtk_image_new_from_stock): Don't
refer to nonexisting stock ids.
* gtk/gtktextview.c (popup_targets_received):
* gtk/gtkentry.c (popup_targets_received): Construct
the "Select All" menuitem from stock.

View File

@ -1,5 +1,9 @@
2005-08-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock):
* gtk/gtkimage.c (gtk_image_new_from_stock): Don't
refer to nonexisting stock ids.
* gtk/gtktextview.c (popup_targets_received):
* gtk/gtkentry.c (popup_targets_received): Construct
the "Select All" menuitem from stock.

View File

@ -611,7 +611,7 @@ gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf)
* @size: a stock icon size
*
* Creates a #GtkImage displaying a stock icon. Sample stock icon
* names are #GTK_STOCK_OPEN, #GTK_STOCK_EXIT. Sample stock sizes
* names are #GTK_STOCK_OPEN, #GTK_STOCK_QUIT. Sample stock sizes
* are #GTK_ICON_SIZE_MENU, #GTK_ICON_SIZE_SMALL_TOOLBAR. If the stock
* icon name isn't known, the image will be empty.
* You can register your own stock icon names, see

View File

@ -452,7 +452,7 @@ gtk_status_icon_new_from_file (const gchar *filename)
* @stock_id: a stock icon id
*
* Creates a status icon displaying a stock icon. Sample stock icon
* names are #GTK_STOCK_OPEN, #GTK_STOCK_EXIT. You can register your
* names are #GTK_STOCK_OPEN, #GTK_STOCK_QUIT. You can register your
* own stock icon names, see gtk_icon_factory_add_default() and
* gtk_icon_factory_add().
*