[gnome-2048/arnaudb/wip/gtk4: 20/36] Waiting for a Gtk fix.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-2048/arnaudb/wip/gtk4: 20/36] Waiting for a Gtk fix.
- Date: Tue, 14 Jul 2020 11:00:04 +0000 (UTC)
commit 2a5bfc2d0203ba6cdf588298be08cbf4a84502f0
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]