Commit f738b2ce authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent be592be9
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
......
......@@ -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);
}
......
data/images/gimp_splash.png

131 KB | W: | H:

data/images/gimp_splash.png

247 KB | W: | H:

data/images/gimp_splash.png
data/images/gimp_splash.png
data/images/gimp_splash.png
data/images/gimp_splash.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment