Changeset 1111:cb25010707a5
- Timestamp:
- 09/27/23 14:25:35 (15 months ago)
- Branch:
- python3
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/cef.py
r1108 r1111 209 209 210 210 _simBriefHandler = SimBriefHandler() 211 _initializeCEF([], initializedCallback)211 GObject.timeout_add(100, _initializeCEF, [], initializedCallback) 212 212 213 213 #------------------------------------------------------------------------------ … … 251 251 print("Initialized, executing callback...") 252 252 initializedCallback() 253 254 if os.name != "nt": 255 Gtk.main_quit() 256 253 257 return False 254 258 -
src/mlx/gui/gui.py
r1108 r1111 485 485 486 486 singleton.raiseCallback = self.raiseCallback 487 if os.name=="nt": 488 Gtk.main() 489 else: 490 cef.initialize(self._cefInitialized) 487 Gtk.main() 488 if os.name != "nt": 491 489 cef.messageLoop() 492 490 … … 1981 1979 It checks if we already know the PID, and if not, asks the user whether 1982 1980 to register.""" 1983 if os.name=="nt": 1984 cef.initialize(self._cefInitialized) 1981 cef.initialize(self._cefInitialized) 1985 1982 1986 1983 if not self.config.pilotID and not self.config.password:
Note:
See TracChangeset
for help on using the changeset viewer.