def __init__(self): # Apply styling to window apply_styling_to_screen(self.CSS_FILE) Gtk.Window.__init__(self) self.fullscreen() self.set_keep_above(True) self.set_icon_name('kano-updater') self.set_title(_("Updater")) self._install_screen = Install() self.add(self._install_screen) kill_apps() self.show_all() self._install_screen.hide_game_play_label() self._set_wait_cursor() # For passing user input to the install thread self.user_input = None self.user_input_lock = Lock() # The lock is busy until the answer is ready self.user_input_lock.acquire() self._start_install() bring_flappy_judoka_to_front()
def __init__(self, parent_pid): # Apply styling to window apply_styling_to_screen(self.CSS_FILE) Gtk.Window.__init__(self) self.fullscreen() self.set_keep_above(True) self.set_icon_name('kano-updater') self.set_title(_("Updater Splash")) self._relaunch_screen = Relaunch(parent_pid) self.add(self._relaunch_screen) self.show_all() self._set_wait_cursor() bring_flappy_judoka_to_front()
def __init__(self, parent_pid): # Apply styling to window apply_styling_to_screen(self.CSS_FILE) Gtk.Window.__init__(self) self.fullscreen() self.set_keep_above(True) self.set_icon_name("kano-updater") self.set_title(_("Updater Splash")) self._relaunch_screen = Relaunch(parent_pid) self.add(self._relaunch_screen) self.show_all() self._set_wait_cursor() bring_flappy_judoka_to_front()