[Freeciv-Dev] [patch #1684] Make unit_info_label fixed-size as intended

2010-06-20 Thread Matthias Pfafferodt

Update of patch #1684 (project freeciv):

  Status:  Ready For Test = Done   
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?1684

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1684] Make unit_info_label fixed-size as intended

2010-06-12 Thread Matthias Pfafferodt

Follow-up Comment #1, patch #1684 (project freeciv):

I did test the patch and it is working as expected. The attached  version
includes some coding style fixes.

(file #9301)
___

Additional Item Attachment:

File name:
20100612-01-trunk-patch-1684-Make-unit_info_label-fixed-size-as-inte.patch
Size:1 KB


___

Reply to this item at:

  http://gna.org/patch/?1684

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1684] Make unit_info_label fixed-size as intended

2010-06-12 Thread Matthias Pfafferodt

Update of patch #1684 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = syntron
 Planned Release: = 2.3.0  


___

Reply to this item at:

  http://gna.org/patch/?1684

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #1684] Make unit_info_label fixed-size as intended

2010-05-31 Thread Jon Severinsson

URL:
  http://gna.org/patch/?1684

 Summary: Make unit_info_label fixed-size as intended
 Project: Freeciv
Submitted by: jon_severinsson
Submitted on: måndag 2010-05-31 den 23:42
Category: client
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

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

Looking at the comments for get_unit_info_label_text2 in client/text.c it is
obvious that the returned sting is supposed to always contain exactly 4
lines, so that the unit info label doesn't resize itself.

However, when multiple units are selected it will instead contain exactly 5
lines, whether the extra line is necessary or not, and thus force a resize of
the label.

This patch removes the extra line. In most cases it will only remove a blank
line. However, if 4 or more different types of units are selected the unit
info box would previously include the amount of the 3 most common types and a
summary of the rest, while with the patch it will only list the 2 most common
types and a summary of the rest.



___

File Attachments:


---
Date: måndag 2010-05-31 den 23:42  Name:
freeciv-2.2.1-fix-unit-info-label-fixed-size.patch  Size: 1001 B   By:
jon_severinsson

http://gna.org/patch/download.php?file_id=9228

___

Reply to this item at:

  http://gna.org/patch/?1684

___
  Meddelandet skickades via/av Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev