Re: [PATCH - rhel6-branch] Fix translations of timezones in the UI (#530014).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 21, 2009 at 11:45 AM, Chris Lumens <clumens@xxxxxxxxxx> wrote:
> @@ -163,7 +163,7 @@ class AnacondaTZMap(TimezoneMap):
>         iter = widget.get_active_iter()
>         if iter is None:
>             return
> -        entry = widget.get_model().get_value(iter, self.columns.ENTRY)
> +        entry = widget.get_model().get_value(iter, 1)

Why not use the enum here?  Most of the patch is switching to using
the self.columns enum but this hunk does the opposite.

> @@ -172,10 +172,12 @@ class AnacondaTZMap(TimezoneMap):
>     def updateTimezoneList(self):
[snip]
>         while iter:
> -            if self.tzCombo.get_model().get_value(iter, 1) == self.currentEntry.tz:
> +            if model.get_value(iter, 2) == self.currentEntry.tz:

And the same for this one

- Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux