[pitivi] mainwindow: Use unicode characters directly in the title	string
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [pitivi] mainwindow: Use unicode characters directly in the title	string
- Date: Thu, 11 Apr 2013 15:08:02 +0000 (UTC)
commit 3046b6332959c11cb31564f8a181f030da998021
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Thu Apr 11 11:07:49 2013 -0400
    mainwindow: Use unicode characters directly in the title string
    
    Avoid using Python2's unicode string method,
    as our source code has a header indicating it's unicode anyway
    
    This prevents tracebacks that block startup on locales such as Russian
    Fixes bug #697775
 pitivi/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index ac74397..febb05e 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -1352,5 +1352,5 @@ class PitiviMainWindow(Gtk.Window, Loggable):
                 name = _("Untitled")
             if self.app.current.hasUnsavedModifications():
                 touched = "*"
-        title = u"%s%s \u2014 %s" % (touched, name, APPNAME)
+        title = "%s%s — %s" % (touched, name, APPNAME)
         self.set_title(title)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]