[gnome-2048/arnaudb/wip/gtk4: 14/30] Waiting for a Gtk fix.



commit 6de3e400d41f9ecfae8f40593c532e813bb311ab
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 28 07:57:36 2020 +0200

    Waiting for a Gtk fix.
    
    https://gitlab.gnome.org/GNOME/gtk/issues/2634

 src/game-headerbar.vala | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/game-headerbar.vala b/src/game-headerbar.vala
index dc3193c..b474e8a 100644
--- a/src/game-headerbar.vala
+++ b/src/game-headerbar.vala
@@ -47,7 +47,8 @@ private class GameHeaderBar : HeaderBar
 
     internal bool has_popover ()
     {
-        return _hamburger_button.active || _new_game_button.active;
+//        return _hamburger_button.active || _new_game_button.active;
+        return false;
     }
 
     /*\
@@ -127,7 +128,7 @@ private class GameHeaderBar : HeaderBar
 
     internal void toggle_hamburger_menu ()
     {
-        _hamburger_button.active = !_hamburger_button.active;
+//        _hamburger_button.active = !_hamburger_button.active;
     }
 
     /*\
@@ -177,6 +178,6 @@ private class GameHeaderBar : HeaderBar
 
     internal void toggle_new_game ()
     {
-        _new_game_button.active = !_new_game_button.active;
+//        _new_game_button.active = !_new_game_button.active;
     }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]