Fix title of top-level windows
authorH.G. Muller <h.g.muller@hccnet.nl>
Mon, 18 Feb 2013 20:01:35 +0000 (21:01 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Mon, 18 Feb 2013 20:01:35 +0000 (21:01 +0100)
gtk/xoptions.c

index 00e0d5d..d488496 100644 (file)
@@ -1136,6 +1136,7 @@ printf("n=%d, h=%d, w=%d\n",n,height,width);
     if(topLevel)
       {
        dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL);
     if(topLevel)
       {
        dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+       gtk_window_set_title(dialog, title);
        box = gtk_vbox_new(FALSE,0);
        gtk_container_add (GTK_CONTAINER (dialog), box);
       }
        box = gtk_vbox_new(FALSE,0);
        gtk_container_add (GTK_CONTAINER (dialog), box);
       }