Ignore:
Timestamp:
07/04/19 17:39:03 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Using 'GObject' instead of 'gobject' (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/cef.py

    r945 r995  
    101101    def call(self, plan, getCredentials, updateProgress, htmlFilePath):
    102102        """Call SimBrief with the given plan."""
    103         self._timeoutID = gobject.timeout_add(120*1000, self._timedOut)
     103        self._timeoutID = GObject.timeout_add(120*1000, self._timedOut)
    104104
    105105        self._plan = plan
     
    196196        if results!=SIMBRIEF_RESULT_NONE:
    197197            if self._timeoutID is not None:
    198                 gobject.source_remove(self._timeoutID)
     198                GObject.source_remove(self._timeoutID)
    199199            self._plan = None
    200200
     
    251251            f.write(availableInfo["plan_html"])
    252252
    253         gobject.idle_add(self._resultsAvailable, flightInfo)
     253        GObject.idle_add(self._resultsAvailable, flightInfo)
    254254
    255255#------------------------------------------------------------------------------
     
    260260    _toQuit = False
    261261
    262     gobject.threads_init()
     262    GObject.threads_init()
    263263
    264264    _simBriefHandler = SimBriefHandler()
     
    297297    cefpython.Initialize(settings, switches)
    298298
    299     gobject.timeout_add(10, _handleTimeout)
     299    GObject.timeout_add(10, _handleTimeout)
    300300
    301301    print("Initialized, executing callback...")
Note: See TracChangeset for help on using the changeset viewer.