Avoid to ignore last characters when we have more than 999 individuals (string length into button). It is not fixed for all cases, only more confort.

svn: r18998
This commit is contained in:
Jérôme Rapinat 2012-03-03 08:51:57 +00:00
parent 7d1f6e56d5
commit 7742443d0c

View File

@ -143,7 +143,7 @@ class WriterOptionBox(object):
button = gtk.Button(ngettext("%d Person", "%d People", people_count) %
people_count)
button.set_tooltip_text(_("Click to see preview of unfiltered data"))
button.set_size_request(100, -1)
button.set_size_request(107, -1)
button.connect("clicked", self.show_preview_data)
button.proxy_name = "unfiltered"
self.preview_proxy_button["unfiltered"] = button
@ -245,7 +245,7 @@ class WriterOptionBox(object):
import gtk
import gui.widgets
button = gtk.Button(ngettext("%d Person", "%d People", 0) % 0)
button.set_size_request(100, -1)
button.set_size_request(107, -1)
button.connect("clicked", self.show_preview_data)
button.proxy_name = proxy_name
if proxy_name == "person":