Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#10967) helpdlg bugs
Home

[Freeciv-Dev] (PR#10967) helpdlg bugs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10967) helpdlg bugs
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 23 Nov 2004 13:18:24 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10967 >

> [jdorje - Sat Nov 20 08:25:59 2004]:
> 
> Remaining bug:
> 
> The names list (on the left of the helpdialog) is fixed size.  The texts
> can easily be too wide and then you can't see them.

Here is an horrendously complicated patch that fixes this bug. To be
commited ASAP.

Index: client/gui-gtk-2.0/helpdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/helpdlg.c,v
retrieving revision 1.39
diff -u -r1.39 helpdlg.c
--- client/gui-gtk-2.0/helpdlg.c        16 Nov 2004 04:08:30 -0000      1.39
+++ client/gui-gtk-2.0/helpdlg.c        23 Nov 2004 21:18:03 -0000
@@ -487,7 +487,7 @@
 
   help_view_sw = gtk_scrolled_window_new(NULL, NULL);
   gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(help_view_sw),
-                         GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+                         GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
   gtk_widget_set_size_request(help_view_sw, 190, -1);
   gtk_container_add(GTK_CONTAINER(help_view_sw), help_view);
   gtk_widget_show(help_view);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10967) helpdlg bugs, Vasco Alexandre da Silva Costa <=