use GIMP_STOCK_INFO for the tips dialog.

2006-06-20  Sven Neumann  <sven@gimp.org>

	* app/dialogs/tips-dialog.c: use GIMP_STOCK_INFO for the tips
dialog.

	* data/images/Makefile.am: do not install unused wilber icons.
This commit is contained in:
Sven Neumann 2006-06-20 18:28:06 +00:00 committed by Sven Neumann
parent d537872b3e
commit 42e6b515c6
5 changed files with 21 additions and 23 deletions

View File

@ -26,6 +26,7 @@ This file is generated from authors.xml, do not edit it directly.
Brent Burton
Francisco Bustamante
Albert Cahalan
Lapo Calamandrei
George J. Carrette
Sean Cier
Winston Chang
@ -123,6 +124,7 @@ This file is generated from authors.xml, do not edit it directly.
David Neary
David Necas
Sven Neumann
Andreas Nilsson
Stephen Robert Norris
Tim Newsome
Erik Nygren
@ -163,6 +165,7 @@ This file is generated from authors.xml, do not edit it directly.
Jakub Steiner
Nathan Summers
Mike Sweet
William Szilveszter
Eiichi Takamori
Tristan Tarrant
Michael Taylor

View File

@ -1,3 +1,9 @@
2006-06-20 Sven Neumann <sven@gimp.org>
* app/dialogs/tips-dialog.c: use GIMP_STOCK_INFO for the tips dialog.
* data/images/Makefile.am: do not install unused wilber icons.
2006-06-20 Jakub Steiner <jimmac@ximian.com>
* themes/Default/images/stock-wilber-*: tweak shape a bit

View File

@ -26,6 +26,7 @@ static const gchar * const authors[] =
"Brent Burton",
"Francisco Bustamante",
"Albert Cahalan",
"Lapo Calamandrei",
"George J. Carrette",
"Sean Cier",
"Winston Chang",
@ -121,6 +122,7 @@ static const gchar * const authors[] =
"David Neary",
"David Necas",
"Sven Neumann",
"Andreas Nilsson",
"Stephen Robert Norris",
"Tim Newsome",
"Erik Nygren",
@ -160,6 +162,7 @@ static const gchar * const authors[] =
"Jakub Steiner",
"Nathan Summers",
"Mike Sweet",
"William Szilveszter",
"Eiichi Takamori",
"Tristan Tarrant",
"Michael Taylor",
@ -182,11 +185,14 @@ static const gchar * const authors[] =
static const gchar * const artists[] =
{
"Lapo Calamandrei",
"Tuomas Kuosmanen",
"Karl La Rocca",
"Andreas Nilsson",
"Mike Schaeffer",
"Carol Spears",
"Jakub Steiner",
"William Szilveszter",
NULL
};

View File

@ -65,8 +65,7 @@ tips_dialog_create (Gimp *gimp)
GtkWidget *hbox;
GtkWidget *bbox;
GtkWidget *button;
GdkPixbuf *wilber;
gchar *filename;
GtkWidget *image;
g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
@ -166,24 +165,12 @@ tips_dialog_create (Gimp *gimp)
gtk_widget_show (thetip_label);
vbox2 = gtk_vbox_new (FALSE, 0);
gtk_box_pack_end (GTK_BOX (hbox), vbox2, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (hbox), vbox2, FALSE, FALSE, 0);
gtk_widget_show (vbox2);
filename = g_build_filename (gimp_data_directory (),
"images", "wilber-tips.png", NULL);
wilber = gdk_pixbuf_new_from_file (filename, NULL);
g_free (filename);
if (wilber)
{
GtkWidget *image;
image = gtk_image_new_from_pixbuf (wilber);
g_object_unref (wilber);
gtk_box_pack_start (GTK_BOX (vbox2), image, TRUE, FALSE, 0);
gtk_widget_show (image);
}
image = gtk_image_new_from_stock (GIMP_STOCK_INFO, GTK_ICON_SIZE_DIALOG);
gtk_box_pack_start (GTK_BOX (vbox2), image, TRUE, FALSE, 0);
gtk_widget_show (image);
hbox = gtk_hbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 12);

View File

@ -4,10 +4,6 @@ imagedatadir = $(gimpdatadir)/images
imagedata_DATA = \
gimp-logo.png \
gimp-splash.png \
wilber-devel-icon.png \
wilber-icon.png \
wilber-tips.png \
wilber-wizard.png
gimp-splash.png
EXTRA_DIST = $(imagedata_DATA)