[pitivi] GTK3 port: remove the deprecated dialog separator properties



commit 6e4e50422a92a72d745bb1c33c387ee386e39b7b
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Wed Aug 1 17:03:46 2012 +0200

    GTK3 port: remove the deprecated dialog separator properties

 pitivi/mainwindow.py |    3 +--
 pitivi/project.py    |    1 -
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index face4fb..3746320 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -797,13 +797,12 @@ class PitiviMainWindow(gtk.Window, Loggable):
             save = gtk.STOCK_SAVE_AS
 
         dialog = gtk.Dialog("",
-            self, gtk.DIALOG_MODAL | gtk.DIALOG_NO_SEPARATOR,
+            self, gtk.DIALOG_MODAL,
             (_("Close without saving"), gtk.RESPONSE_REJECT,
                     gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
                     save, gtk.RESPONSE_YES))
         dialog.set_icon_name("pitivi")
         dialog.set_resizable(False)
-        dialog.set_has_separator(False)
         dialog.set_default_response(gtk.RESPONSE_YES)
         dialog.set_transient_for(self)
 
diff --git a/pitivi/project.py b/pitivi/project.py
index ce6565d..535d053 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -186,7 +186,6 @@ class ProjectManager(Signallable, Loggable):
                     _("Restore from backup"), gtk.RESPONSE_YES))
         dialog.set_icon_name("pitivi")
         dialog.set_resizable(False)
-        dialog.set_has_separator(False)
         dialog.set_default_response(gtk.RESPONSE_YES)
 
         primary = gtk.Label()



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