summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2008-05-05 13:10:25 +0000
committerVincent Untz <vuntz@src.gnome.org>2008-05-05 13:10:25 +0000
commite721817959ea56ac46b1633a4ff96e1412c8bd13 (patch)
treee1d1e19a85a3eca796c5edea7061106e62d509ca
parent394f3a2de98df5c3479cdce3b60922d31c5163cc (diff)
downloadgnome-desktop-e721817959ea56ac46b1633a4ff96e1412c8bd13.tar.gz
don't skip the last description from gnome-version.xml. Patch by Matt
2008-05-05 Vincent Untz <vuntz@gnome.org> * gnome-about.in: don't skip the last description from gnome-version.xml. Patch by Matt Keenan <matt.keenan@sun.com>. Fix bug #530904. svn path=/branches/gnome-2-22/; revision=5070
-rw-r--r--gnome-about/ChangeLog6
-rw-r--r--gnome-about/gnome-about.in3
2 files changed, 9 insertions, 0 deletions
diff --git a/gnome-about/ChangeLog b/gnome-about/ChangeLog
index 47e2680b..06429eac 100644
--- a/gnome-about/ChangeLog
+++ b/gnome-about/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-05 Vincent Untz <vuntz@gnome.org>
+
+ * gnome-about.in: don't skip the last description from
+ gnome-version.xml.
+ Patch by Matt Keenan <matt.keenan@sun.com>. Fix bug #530904.
+
==================== 2.22.1 ====================
==================== 2.22.0 ====================
diff --git a/gnome-about/gnome-about.in b/gnome-about/gnome-about.in
index b1584f61..85af4216 100644
--- a/gnome-about/gnome-about.in
+++ b/gnome-about/gnome-about.in
@@ -995,8 +995,11 @@ contributors list) correctly positionned and sized.'''
for desc in raw_descs:
new_i = descs.index (desc)
if i != - 1:
+ # Append the previous description
translations.append (descs[i:new_i])
i = new_i
+ # Open ended to retrieve all translation for last description
+ translations.append (descs[i:])
messages = GettableList ()
for block in translations:
sorted_descs = sorted (block, cmp = desc_sort_func,