Example #1
0
    def __init__(self, hatari):
        userconfdir = ".hatari"
        ConfigStore.__init__(self, userconfdir)
        conffilename = "hatari.cfg"
        self.load(self.get_filepath(conffilename))

        self._hatari = hatari
        self._lock_updates = False
        self._options = []
Example #2
0
    def __init__(self, hatari):
        userconfdir = ".hatari"
        ConfigStore.__init__(self, userconfdir)
        conffilename = "hatari.cfg"
        self.load(self.get_filepath(conffilename))

        self._hatari = hatari
        self._lock_updates = False
        self._options = []
Example #3
0
    def __init__(self, previous):
        userconfdir = ".previous"
        ConfigStore.__init__(self, userconfdir)
        conffilename = "previous.cfg"
        self.load(self.get_filepath(conffilename))

        self._previous = previous
        self._lock_updates = False
        self._options = []
Example #4
0
    def __init__(self, hatari):
        confdirs = [".config/hatari", ".hatari"]
        ConfigStore.__init__(self, confdirs)
        conffilename = "hatari.cfg"
        self.load(self.get_filepath(conffilename))

        self._hatari = hatari
        self._lock_updates = False
        self._desktop_w = 0
        self._desktop_h = 0
        self._options = []
        self._winuae = hatari.is_winuae()
        # initialize has_* attribs for things that may not be anymore
        # valid on Hatari config file and/or command line
        self.get_machine()
        self.get_desktop_st()
Example #5
0
 def __init__(self, hatari):
     confdirs = [".config/hatari", ".hatari"]
     ConfigStore.__init__(self, confdirs)
     conffilename = "hatari.cfg"
     confpath = self.get_filepath(conffilename)
     print("confpath: %s" % confpath)
     error = self.load(confpath)
     if error:
         print("WARNING: %s %s!" % (confpath, error))
     else:
         print("loaded config: %s" % confpath)
     self._hatari = hatari
     self._lock_updates = False
     self._desktop_w = 0
     self._desktop_h = 0
     self._options = []
     self._winuae = hatari.is_winuae()