[pitivi] project: Prevent the backup restore dialog from being titled "pitivi"



commit b436f179e10484ee2d88ceee58a58b4ff29202f9
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Tue Aug 6 16:17:39 2013 +0200

    project: Prevent the backup restore dialog from being titled "pitivi"

 pitivi/project.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index c67ccd7..70250fb 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -190,6 +190,9 @@ class ProjectManager(Signallable, Loggable):
         dialog = Gtk.Dialog("", None, 0,
                             (_("Ignore backup"), Gtk.ResponseType.REJECT,
                             _("Restore from backup"), Gtk.ResponseType.YES))
+        # Even though we set the title to an empty string when creating dialog,
+        # seems we really have to do it once more so it doesn't show "pitivi"...
+        dialog.set_title("")
         dialog.set_icon_name("pitivi")
         dialog.set_transient_for(self.app.gui)
         dialog.set_modal(True)


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