=== modified file 'debian/changelog' --- debian/changelog 2008-07-26 11:31:00 +0000 +++ debian/changelog 2008-07-26 11:47:59 +0000 @@ -25,6 +25,11 @@ (in a kvm instance here, 19 seconds -> 4 seconds). * Remove hardcoded invisible_char properties in order to use GTK's defaults (LP: #225882). + * GTK frontend: + - Don't translate step_label when switching to the language page; + on_language_treeview_selection_changed will take care of it if + necessary, and the page-switch handler may not know the correct + language (LP: #225876). -- Evan Dandrea Wed, 23 Jul 2008 15:37:27 -0400 === modified file 'ubiquity/frontend/gtk_ui.py' --- ubiquity/frontend/gtk_ui.py 2008-07-25 17:01:58 +0000 +++ ubiquity/frontend/gtk_ui.py 2008-07-26 11:47:59 +0000 @@ -1090,7 +1090,12 @@ def on_steps_switch_page (self, foo, bar, current): self.current_page = current - self.translate_widget(self.step_label, self.locale) + # If we're on the language page, then + # on_language_treeview_selection_changed will take care of + # translating this, and we may not know the correct language at this + # point. + if self.step_name(current) != 'stepLanguage': + self.translate_widget(self.step_label, self.locale) syslog.syslog('switched to page %s' % self.step_name(current))