Changeset 1108:0d45f3dff91b for src/mlx/gui/gui.py
- Timestamp:
- 09/21/23 10:32:56 (7 months ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r1106 r1108 485 485 486 486 singleton.raiseCallback = self.raiseCallback 487 Gtk.main() 487 if os.name=="nt": 488 Gtk.main() 489 else: 490 cef.initialize(self._cefInitialized) 491 cef.messageLoop() 492 488 493 singleton.raiseCallback = None 489 494 … … 1323 1328 if result==Gtk.ResponseType.YES: 1324 1329 self._statusIcon.destroy() 1325 return Gtk.main_quit() 1330 if os.name=="nt": 1331 return Gtk.main_quit() 1332 else: 1333 cef.quitMessageLoop() 1334 return True 1326 1335 1327 1336 def _notebookPageSwitch(self, notebook, page, page_num): … … 1972 1981 It checks if we already know the PID, and if not, asks the user whether 1973 1982 to register.""" 1974 cef.initialize(self._cefInitialized) 1983 if os.name=="nt": 1984 cef.initialize(self._cefInitialized) 1975 1985 1976 1986 if not self.config.pilotID and not self.config.password:
Note:
See TracChangeset
for help on using the changeset viewer.