[libadwaita/wip/exalm/fixes: 1/2] split-button: Don't make menu button insensitive when button is




commit e58b8a17298debe052879fc887afc88f09ecb913
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 28 08:54:56 2022 +0400

    split-button: Don't make menu button insensitive when button is
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/567

 src/adw-split-button.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/adw-split-button.c b/src/adw-split-button.c
index 6e283a0d..991dec81 100644
--- a/src/adw-split-button.c
+++ b/src/adw-split-button.c
@@ -516,10 +516,6 @@ adw_split_button_init (AdwSplitButton *self)
   g_signal_connect_swapped (self->menu_button, "notify::popover", G_CALLBACK (notify_popover_cb), self);
   g_signal_connect_swapped (self->menu_button, "notify::direction", G_CALLBACK (notify_direction_cb), self);
 
-  g_object_bind_property (self->button, "sensitive",
-                          self, "sensitive",
-                          G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
-
   update_style_classes (self);
 }
 


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