Complete.Org: Mailing Lists: Archives: freeciv-dev: October 1999:
[Freeciv-Dev] Re: text-popups blank in current cvs (PR#149)
Home

[Freeciv-Dev] Re: text-popups blank in current cvs (PR#149)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ronis@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: text-popups blank in current cvs (PR#149)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sun, 17 Oct 1999 21:48:03 +1000 (EST)

ronis@xxxxxxxxxxxxxxxxxxxxxx wrote:

> Full_Name: david ronis
> Version: 1.8.4-devel (CVS-041099)
> OS: linux-2.2.12

> The current CVS generates text popups (score, demographics, happiness reports)
> that are blank.  This used to work in earlier beta versions.
> 
> In the interrum, I've upgraded to the recently released gtk+/glib 1.2.6.

I have just checked into CVS the following patch by 
Jeff Mallatt <jjm@xxxxxxxxxxxx>, which apparently fixes 
a warning related to these popups when using gtk-1.2.6.

Can you please try this patch (or update to latest cvs) and 
see if that fixes your problem?

Thanks,
-- David
diff -ru FreecivCVS/client/gui-gtk/dialogs.c freeciv/client/gui-gtk/dialogs.c
--- FreecivCVS/client/gui-gtk/dialogs.c Mon Oct  4 11:16:46 1999
+++ freeciv/client/gui-gtk/dialogs.c    Sat Oct 16 14:00:00 1999
@@ -167,6 +167,8 @@
   
   gtk_container_border_width( 
GTK_CONTAINER(GTK_DIALOG(notify_dialog_shell)->vbox), 5 );
 
+  gtk_widget_realize (notify_dialog_shell);
+
   notify_headline = gtk_label_new( headline);   
   gtk_box_pack_start( GTK_BOX( GTK_DIALOG(notify_dialog_shell)->vbox ),
        notify_headline, FALSE, FALSE, 0 );

[Prev in Thread] Current Thread [Next in Thread]