diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-16 11:19:32 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-16 11:19:32 +0000 |
commit | b97db977f54071b7dd3f78e4851e6eb6b6e93226 (patch) | |
tree | 115dd9938c09ff4160539140611fd6a5914546d2 /x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch | |
parent | Version Bump javacc to 5.0. (diff) | |
download | gentoo-2-b97db977f54071b7dd3f78e4851e6eb6b6e93226.tar.gz gentoo-2-b97db977f54071b7dd3f78e4851e6eb6b6e93226.tar.bz2 gentoo-2-b97db977f54071b7dd3f78e4851e6eb6b6e93226.zip |
Import Fedora patchset.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch')
-rw-r--r-- | x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch b/x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch new file mode 100644 index 000000000000..df4155025255 --- /dev/null +++ b/x11-misc/driconf/files/driconf-0.9.1-glxinfo-unicode.patch @@ -0,0 +1,22 @@ +http://cvs.fedoraproject.org/viewvc/rpms/driconf/devel/ + +--- driconf_simpleui.py ++++ driconf_simpleui.py +@@ -450,11 +450,13 @@ class MainWindow (gtk.Window): + else: + screen = self.screens[0] + if screen.glxInfo: +- text = "%s (%s)" % ( +- screen.glxInfo.renderer, screen.glxInfo.vendor) ++ text = u"%s (%s)" % ( ++ unicode(screen.glxInfo.renderer, "utf-8", "replace"), ++ unicode(screen.glxInfo.vendor, "utf-8", "replace")) + else: +- text = _("Screen") + " %d: %s" % ( +- screen.num, screen.driver.name.capitalize()) ++ text = _(u"Screen") + u" %d: %s" % (screen.num, ++ unicode(screen.driver.name, "utf-8", ++ "replace").capitalize()) + deviceHBox = gtk.HBox() + deviceLabel = gtk.Label() + deviceLabel.set_justify(gtk.JUSTIFY_LEFT) |