Code style
This commit is contained in:
@@ -66,15 +66,15 @@ class game(Gtk.Box):
|
||||
self.event_contoller_motion.connect("leave", self.hide_play)
|
||||
self.menu_button.get_popover().connect("notify::visible", self.hide_play)
|
||||
|
||||
def show_play(self, widget, *args):
|
||||
def show_play(self, _widget, *args):
|
||||
self.play_revealer.set_reveal_child(True)
|
||||
self.title_revealer.set_reveal_child(False)
|
||||
|
||||
def hide_play(self, widget, *args):
|
||||
def hide_play(self, _widget, *args):
|
||||
if not self.menu_button.get_active():
|
||||
self.play_revealer.set_reveal_child(False)
|
||||
self.title_revealer.set_reveal_child(True)
|
||||
|
||||
def launch_game(self, widget):
|
||||
def launch_game(self, _widget):
|
||||
self.parent_widget.set_active_game(None, None, self.game_id)
|
||||
self.parent_widget.get_application().on_launch_game_action(None)
|
||||
|
||||
Reference in New Issue
Block a user