Set a title on the splash window even though it's not decorated.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Oct 2008 21:13:58 +0000 (21:13 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26533 f5534014-38df-0310-8fa8-9805f1628bb7

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!) */