def init(self):
     """I start the application"""
     self.splash = SplashContainer()
     self.splash.pulse()
     
     profile_name = config.get('profile', 'name')
     
     if not profile_name: # user never never ran the app
         self.splash.set_text(_('Initial setup...'))
         self.splash.pulse()
         # populate databases and configure hardware afterwards
         populate_dbs()
     
     self.splash.pulse()
     self.detect_hardware()
Esempio n. 2
0
    def init(self):
        """I start the application"""
        # avoid gnome warnings
        gnome.init(APP_LONG_NAME, __version__)

        self.splash = SplashContainer()
        self.splash.pulse()

        profile_name = config.get('profile', 'name')

        if not profile_name:  # user never never ran the app
            self.splash.set_text(_('Initial setup...'))
            self.splash.pulse()
            # populate databases and configure hardware afterwards
            populate_dbs()

        self.splash.pulse()
        self.detect_hardware()
    def init(self):
        """I start the application"""
        # avoid gnome warnings
        gnome.init(APP_LONG_NAME, __version__)

        self.splash = SplashContainer()
        self.splash.pulse()

        profile_name = config.get('profile', 'name')

        if not profile_name: # user never never ran the app
            self.splash.set_text(_('Initial setup...'))
            self.splash.pulse()

        # populate network database into memory and configure hardware afterwards
        populate_dbs()

        self.splash.pulse()
        self.detect_hardware()