Set a title on the splash window even though it's not decorated.
authorJaap Keuter <jaap.keuter@xs4all.nl>
Thu, 23 Oct 2008 21:13:58 +0000 (21:13 -0000)
committerJaap Keuter <jaap.keuter@xs4all.nl>
Thu, 23 Oct 2008 21:13:58 +0000 (21:13 -0000)
This sets the title/icon of the taskbar item created when the splash screen is up.

svn path=/trunk/; revision=26533

gtk/gui_utils.c

index 9097c2c0e905fa86ed5b7c109415f0dbc3385249..0a9415649ca06ac72bebcbbe4bae5bba08997437 100644 (file)
@@ -169,14 +169,14 @@ window_new_with_geom(GtkWindowType type, const gchar *title, const gchar *geom_n
 }
 
 
-/* Create a new window for a splash screen; it's a main window, with no title,
+/* Create a new window for a splash screen; it's a main window, without decoration,
    positioned in the center of the screen. */
 GtkWidget *
 splash_window_new(void)
 {
   GtkWidget *win;
 
-  win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+  win = window_new(GTK_WINDOW_TOPLEVEL, "Wireshark");
   gtk_window_set_decorated(GTK_WINDOW(win), FALSE);
 
   /* set the initial position (must be done, before show is called!) */