Summary: Move the citizen bar next to the city name
                 Project: Freeciv
            Submitted by: jon_severinsson
            Submitted on: måndag 2010-05-31 den 23:43
                Category: client-gtk-2.0
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 



This is the fourth patch in a short series intended to improve the gtk gui on
netbook sized displays.

The city dialogue is to tall to fit on netbook sized displays. This patch
moves the citizen bar up one row, next to the city name, and thus reduces the
height of the window. This has the side effect that the citizen bar can be
accessed from all tabs in the window, but I don't see that as being

Also please note that because there now is something to the right of the bar,
the pixcomm widget must be resized (or rather truncated when drawn) to it's
current width instead of just continue empty. This prompted a minor change in
how the + and - icons in edit mode is treated (they are now considered
"citizen" when counting citizens, thus the change in NUM_CITIZENS_SHOWN).
Clicking on the + and - doesn't actually do anything at the moment, and this
patch doesn't change that fact (as it doesn't touch citizens_callback()).


File Attachments:

Date: måndag 2010-05-31 den 23:43  Name:
freeciv-2.2.1-move-citizen-bar-next-to-city-name.patch  Size: 4 kB   By:



Reply to this item at:


  Meddelandet skickades via/av Gna!

Freeciv-dev mailing list

Reply via email to