[lightsoff/arnaudb/wip/gtk4: 12/28] Comment MenuButton thing for now.




commit a3ba2ecdb076491828ea81cccf854282b0e97182
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Nov 27 16:10:07 2020 +0100

    Comment MenuButton thing for now.
    
    https://gitlab.gnome.org/GNOME/gtk/-/issues/2634

 src/lightsoff-window.vala | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/lightsoff-window.vala b/src/lightsoff-window.vala
index e4d73dd..d8ce4fb 100644
--- a/src/lightsoff-window.vala
+++ b/src/lightsoff-window.vala
@@ -146,8 +146,9 @@ private class LightsoffWindow : ManagedWindow
 
     private inline bool on_key_pressed (EventControllerKey _key_controller, uint keyval, uint keycode, 
Gdk.ModifierType state)
     {
-        if (menu_button.get_active())
-            return false;
+//        if (menu_button.get_active ())    // FIXME https://gitlab.gnome.org/GNOME/gtk/-/issues/2634
+//            return false;
+
         switch (keyval)
         {
         case Gdk.Key.Escape:


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