back to a still splash image.

2002-03-07  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c: back to a still splash image.

	* data/images/gimp_splash.png: blinkenwilber as seen from the
	berlinerfernsehturm.de.
This commit is contained in:
Sven Neumann 2002-03-07 16:10:08 +00:00 committed by Sven Neumann
parent be592be98d
commit f738b2ce57
3 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2002-03-07 Sven Neumann <sven@gimp.org>
* app/gui/splash.c: back to a still splash image.
* data/images/gimp_splash.png: blinkenwilber as seen from the
berlinerfernsehturm.de.
2002-03-07 Sven Neumann <sven@gimp.org>
* themes/Default/imagerc: applied patch from Guillermo S. Romero that

View File

@ -45,7 +45,7 @@ void
splash_create (gboolean show_image)
{
GtkWidget *vbox;
GdkPixbufAnimation *animation = NULL;
GdkPixbuf *pixbuf = NULL;
win_initstatus = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_type_hint (GTK_WINDOW (win_initstatus),
@ -65,17 +65,17 @@ splash_create (gboolean show_image)
gchar *filename;
filename = g_build_filename (gimp_data_directory (),
"images", "gimp_splash.gif", NULL);
animation = gdk_pixbuf_animation_new_from_file (filename, NULL);
"images", "gimp_splash.png", NULL);
pixbuf = gdk_pixbuf_new_from_file (filename, NULL);
g_free (filename);
if (animation)
if (pixbuf)
{
GtkWidget *align;
GtkWidget *image;
image = gtk_image_new_from_animation (animation);
g_object_unref (animation);
image = gtk_image_new_from_pixbuf (pixbuf);
g_object_unref (pixbuf);
align = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
gtk_box_pack_start (GTK_BOX (vbox), align, FALSE, TRUE, 0);
@ -86,7 +86,7 @@ splash_create (gboolean show_image)
}
}
if (!animation)
if (!pixbuf)
{
GtkWidget *line;
@ -101,6 +101,8 @@ splash_create (gboolean show_image)
line = gtk_hseparator_new ();
gtk_box_pack_start_defaults (GTK_BOX (vbox), line);
gtk_widget_show (line);
gtk_widget_set_size_request (win_initstatus, DEFAULT_WIDTH, -1);
}
label1 = gtk_label_new ("");
@ -115,9 +117,6 @@ splash_create (gboolean show_image)
gtk_box_pack_start_defaults (GTK_BOX (vbox), progress);
gtk_widget_show (progress);
if (!animation)
gtk_widget_set_size_request (win_initstatus, DEFAULT_WIDTH, -1);
gtk_widget_show (win_initstatus);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 248 KiB