From 6f14cc7bc7a4d619aa3718acac8cfd96fe8a10a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 3 Mar 2012 08:53:08 +0000 Subject: [PATCH] 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: r18999 --- src/ExportOptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExportOptions.py b/src/ExportOptions.py index 9377c0a23..7fe3c9123 100644 --- a/src/ExportOptions.py +++ b/src/ExportOptions.py @@ -145,7 +145,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 @@ -247,7 +247,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":