source:
pkg/viola/main/kde-guidance/trunk/debian/patches/kubuntu_22_userconfig_utf8.patch
@
3444
| Revision 3444, 1.0 KB checked in by alanbach-guest, 5 years ago (diff) |
|---|
-
kde-guidance-0.8.0svn20080103
diff -Nur -x '*.orig' -x '*~' kde-guidance-0.8.0svn20080103/userconfig/userconfig.py kde-guidance-0.8.0svn20080103.new/userconfig/userconfig.py
old new 828 828 else: excludegroups = [] 829 829 for group in [g.getGroupname() for g in self.admincontext.getGroups()]: 830 830 if group in excludegroups: continue 831 # FIXME possible bug here because name is unicode and the str()'s used below might not be able to coerce a unicode group name into what we want832 831 if group in pn: 833 name = i18n( str(pn[group]))832 name = i18n(unicode(pn[group]).encode(locale.getpreferredencoding())) 834 833 wid = self.privilegeslistview 835 834 else: 836 name = str(group)835 name = unicode(group).encode(locale.getpreferredencoding()) 837 836 wid = self.groupslistview 838 837 self.secondarygroupcheckboxes[group] = QCheckListItem(wid,name,QCheckListItem.CheckBox) 839 838
Note: See TracBrowser
for help on using the repository browser.


