new gtk version has also a set_window

svn: r14188
This commit is contained in:
Benny Malengier 2010-02-02 08:10:09 +00:00
parent 351b010e7a
commit 9e1e197460

View File

@ -117,7 +117,9 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
self.top_title = _("Export Assistant") self.top_title = _("Export Assistant")
ManagedWindow.ManagedWindow.__init__(self,uistate,[], ManagedWindow.ManagedWindow.__init__(self,uistate,[],
self.__class__) self.__class__)
self.set_window(self, None, self.top_title, isWindow=True) #set_window is present in both parent classes
ManagedWindow.ManagedWindow.set_window(self, self, None,
self.top_title, isWindow=True)
#set up callback method for the export plugins #set up callback method for the export plugins
self.callback = self.pulse_progressbar self.callback = self.pulse_progressbar