Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Re: fix Gtk+ City Report; was Re: two bugs (PR#264)
Home

[Freeciv-Dev] Re: fix Gtk+ City Report; was Re: two bugs (PR#264)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: fix Gtk+ City Report; was Re: two bugs (PR#264)
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Sun, 20 Feb 2000 04:48:47 -0800 (PST)

At 2000/02/20 05:49 , David Pfitzner wrote:
>David Pfitzner wrote:
>
>> This suggests that a solution would be to avoid doing
>> the remove/putback thing.  This patch tries to do this,
>> by instead updating the row in-place.
>> 
>> Seems to work ok...  I can no longer reproduce the crashes
>> and/or display/memory garbage problems, and haven't noticed
>> any other problems.
>
>A possible complaint with my fix is that changes via
>city_report_dialog_update_city() do not update the sorting
>of the list.  If desired, adding a call to
>        gtk_clist_sort(GTK_CLIST(city_list));
>(after gtk_clist_thaw?) should fix.

These together seem to work great for me, too.

jjm





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: fix Gtk+ City Report; was Re: two bugs (PR#264), Jeff Mallatt <=