diff options
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) |