diff Gtk/importFiebdc.py @ 11:fe9c55f86698

Improvements in navigation buttons
author Miguel Ángel Bárcena Rodríguez <miguelangel@obraencurso.es>
date Wed, 24 Nov 2010 22:56:02 +0100
parents 55df0b15706b
children 60bc5117926c
line wrap: on
line diff
--- a/Gtk/importFiebdc.py	Fri Nov 19 19:17:11 2010 +0100
+++ b/Gtk/importFiebdc.py	Wed Nov 24 22:56:02 2010 +0100
@@ -111,9 +111,7 @@
         _emptyPage = gui.EmptyPage(self.__mainWindow, self.__readFileMethod,
                                    self.__budget, self.__filename,
                                    self.__cancelMethod, self.__filetype)
-        self.__mainWindow.notebook.append_page(_emptyPage.widget,
-                                                    _emptyPage.title)
-        self.__mainWindow.pageList.append(_emptyPage)
+        self.__mainWindow.appendEmptyPage(_emptyPage)
         _emptyPage.run()
 
     def _openFile(self, filename):
@@ -424,7 +422,6 @@
             self.__page.threadCanceled()
         else:
             _mainWindow = self.__mainWindow
-            _mainWindow._addBudget(_budget)
             self.__page.threadFinishedSignal(_budget)
             if self.__filetype == "database":
                 self.saveDurusDatabase()