[pitivi] mainwindow: Properly set the about dialog's program name



commit d7301f42a5817dd61c77f0fad5cadd2b951aa2ba
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun Feb 2 23:10:16 2014 -0500

    mainwindow: Properly set the about dialog's program name
    
    set_name was deprecated in GTK 2.12 and had no effect anymore. Gtk would default
    to g_get_application_name() and we'd end up with "pitivi" (no capitalization).

 pitivi/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index a5ebdb4..02aba8c 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -670,7 +670,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
 
     def _aboutCb(self, unused_action):
         abt = Gtk.AboutDialog()
-        abt.set_name(APPNAME)
+        abt.set_program_name(APPNAME)
         if in_devel():
             abt.set_version(_("Development version"))
         else:


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