Changeset 38:08f7e6592452 for src/mlx/gui/update.py
- Timestamp:
- 03/04/12 09:35:01 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/update.py
r37 r38 5 5 from mlx.gui.common import * 6 6 7 from mlx.update import update , restart7 from mlx.update import update 8 8 9 9 import mlx.const as const … … 96 96 else gtk.WIN_POS_CENTER_ON_PARENT) 97 97 98 def __init__(self, programDirectory, updateURL, parentWindow):98 def __init__(self, gui, programDirectory, updateURL, parentWindow): 99 99 """Construct the updater. If not created yet, the windows used by the 100 100 updater are also created.""" 101 101 super(Updater, self).__init__() 102 103 self._gui = gui 102 104 103 105 self._programDirectory = programDirectory … … 280 282 self._progressWindow.hide() 281 283 if self._restart: 282 restart()284 self._gui.restart() 283 285 284 286 #-------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.