[gnome-klotski/arnaudb/wip/gtk4: 61/62] Comment some things.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski/arnaudb/wip/gtk4: 61/62] Comment some things.
- Date: Fri, 25 Sep 2020 16:27:14 +0000 (UTC)
commit ca03365d88a2e23699c1a2b42ebe3e64fdbdb656
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 bf861a2..97ee070 100644
--- a/src/klotski-window.vala
+++ b/src/klotski-window.vala
@@ -873,7 +873,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;
}
@@ -1084,13 +1084,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]