[pitivi] ui: fix export dialog closing button



commit 6bd0564e938de185ffdb89c1a1745b2d964f4336
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Mon Jun 6 12:12:43 2011 -0400

    ui: fix export dialog closing button
    
    Forgot to update the destroy call when porting to GtkBuilder

 pitivi/ui/sourcelist.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/ui/sourcelist.py b/pitivi/ui/sourcelist.py
index 79569b4..16855f2 100644
--- a/pitivi/ui/sourcelist.py
+++ b/pitivi/ui/sourcelist.py
@@ -663,11 +663,11 @@ class SourceList(gtk.VBox, Loggable):
     ## Error Dialog Box callbacks
 
     def _errorDialogBoxCloseCb(self, unused_dialog):
-        self._error_dialogbox.destroy()
+        self._error_dialogbox.window.destroy()
         self._error_dialogbox = None
 
     def _errorDialogBoxResponseCb(self, unused_dialog, unused_response):
-        self._error_dialogbox.destroy()
+        self._error_dialogbox.window.destroy()
         self._error_dialogbox = None
 
     ## Import Sources Dialog Box callbacks
@@ -753,7 +753,7 @@ class SourceList(gtk.VBox, Loggable):
         self._error_dialogbox.connect("response", self._errorDialogBoxResponseCb)
         for uri, reason, extra in self._errors:
             self._error_dialogbox.addFailedFile(uri, reason, extra)
-        self._error_dialogbox.show()
+        self._error_dialogbox.window.show()
         self._errors = []  # Reset the error list (since the user has read them)
         self._import_warning_infobar.hide()
 



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