get image from icon factory directly
2004-11-26 JP Rosevear <jpr@novell.com> * audio-inline.c (org_gnome_audio_inline_add_button): get image from icon factory directly svn path=/trunk/; revision=28001
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2004-11-26 JP Rosevear <jpr@novell.com>
|
||||
|
||||
* audio-inline.c (org_gnome_audio_inline_add_button): get image
|
||||
from icon factory directly
|
||||
|
||||
2004-11-11 Radek Doulik <rodo@ximian.com>
|
||||
|
||||
* org-gnome-audio-inline.eplug.in: fixed author and description
|
||||
|
@ -254,10 +254,7 @@ org_gnome_audio_inline_add_button (GtkWidget *box, char *icon_name, GCallback cb
|
||||
GtkWidget *icon, *button;
|
||||
GdkPixbuf *pixbuf;
|
||||
|
||||
pixbuf = e_icon_factory_get_icon (icon_name, E_ICON_SIZE_LARGE_TOOLBAR);
|
||||
|
||||
icon = gtk_image_new_from_pixbuf (pixbuf);
|
||||
g_object_unref (pixbuf);
|
||||
icon = e_icon_factory_get_image (icon_name, E_ICON_SIZE_LARGE_TOOLBAR);
|
||||
gtk_widget_show (icon);
|
||||
|
||||
button = gtk_button_new ();
|
||||
|
Reference in New Issue
Block a user