[gnome-klotski/arnaudb/wip/gtk4: 36/42] Comment some things.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski/arnaudb/wip/gtk4: 36/42] Comment some things.
- Date: Mon, 1 Jun 2020 21:23:58 +0000 (UTC)
commit cbc29d435543237bf5c10839bf6d4f7a88420d59
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu May 7 09:57:21 2020 +0200
Comment some things.
https://gitlab.gnome.org/GNOME/gtk/-/issues/2634
src/klotski-window.vala | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/klotski-window.vala b/src/klotski-window.vala
index c675d87..8b33964 100644
--- a/src/klotski-window.vala
+++ b/src/klotski-window.vala
@@ -880,7 +880,7 @@ private class KlotskiWindow : ApplicationWindow
view.puzzle = puzzle;
update_moves_label ();
- game_menubutton.active = false;
+ game_menubutton.popdown ();
start_game.set_enabled (false);
game_menubutton.sensitive = false;
}
@@ -1091,13 +1091,15 @@ private class KlotskiWindow : ApplicationWindow
{
if (state == 0)
{
- main_menubutton.active = !main_menubutton.active;
+ main_menubutton.popup (); // https://gitlab.gnome.org/GNOME/gtk/-/issues/2634 2/3
+ // main_menubutton.active = !main_menubutton.active;
return true;
}
if (game_menubutton.sensitive
&& (state & Gdk.ModifierType.CONTROL_MASK) != 0)
{
- game_menubutton.active = !game_menubutton.active;
+ game_menubutton.popup (); // https://gitlab.gnome.org/GNOME/gtk/-/issues/2634 3/3
+ // game_menubutton.active = !game_menubutton.active;
return true;
}
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]