app/gui/user-install-dialog.c use stock pixbufs instead of xpm pixmaps.
2002-05-10 Sven Neumann <sven@gimp.org> * app/gui/user-install-dialog.c * plug-ins/common/gtm.c: use stock pixbufs instead of xpm pixmaps. * pixmaps/Makefile.am * pixmaps/eek.xpm * pixmaps/folder.xpm * pixmaps/wilber.xpm: removed now unused pixmaps.
This commit is contained in:
committed by
Sven Neumann
parent
359990db33
commit
dd7f30161c
@ -49,9 +49,6 @@
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/folder.xpm"
|
||||
#include "pixmaps/new.xpm"
|
||||
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
# ifndef __EMX__
|
||||
@ -800,8 +797,12 @@ user_install_dialog_create (Gimp *gimp)
|
||||
G_CALLBACK (user_install_sel_changed),
|
||||
notebook2);
|
||||
|
||||
file_pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) new_xpm);
|
||||
folder_pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) folder_xpm);
|
||||
file_pixbuf = gtk_widget_render_icon (tv,
|
||||
GTK_STOCK_NEW, GTK_ICON_SIZE_MENU,
|
||||
NULL);
|
||||
folder_pixbuf = gtk_widget_render_icon (tv,
|
||||
GTK_STOCK_OPEN, GTK_ICON_SIZE_MENU,
|
||||
NULL);
|
||||
|
||||
gtk_tree_store_append (tree, &iter, NULL);
|
||||
gtk_tree_store_set (tree, &iter,
|
||||
|
||||
Reference in New Issue
Block a user