Added appropriate window_type_hint to the splash window.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 7 Jul 2007 12:42:02 +0000 (12:42 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 7 Jul 2007 12:42:02 +0000 (12:42 +0000)
src/ui/gui/main.c

index 4fc21595bedd3c442b8394aec1fa922ab5b15707..6a38d7259ee4aaec22d75344958634783188326f 100644 (file)
@@ -41,6 +41,9 @@ create_splash_window (void)
   gtk_window_set_position (GTK_WINDOW (splash),
                           GTK_WIN_POS_CENTER_ALWAYS);
 
+  gtk_window_set_type_hint (GTK_WINDOW (splash),
+                           GDK_WINDOW_TYPE_HINT_SPLASHSCREEN);
+
   image = gtk_image_new_from_file (PKGDATADIR "/splash.png");
 
   gtk_container_add (GTK_CONTAINER (splash), image);