From 0c1b4d9c478921a2cfd1f45a20927064c8fe60f8 Mon Sep 17 00:00:00 2001 From: Joshua Strobl Date: Wed, 7 Jul 2021 22:26:27 +0300 Subject: [PATCH] Ensure the KotoExpander's "label" + icon button is response to clicks. This increases the overall clickable area rather than limiting it to just the expander pan button. --- src/koto-expander.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/koto-expander.c b/src/koto-expander.c index e841e82..d9595bc 100644 --- a/src/koto-expander.c +++ b/src/koto-expander.c @@ -199,6 +199,7 @@ static void koto_expander_init(KotoExpander * self) { self->constructed = TRUE; + koto_button_add_click_handler(self->header_button, KOTO_BUTTON_CLICK_TYPE_PRIMARY, G_CALLBACK(koto_expander_toggle_content), self); koto_button_add_click_handler(self->header_expand_button, KOTO_BUTTON_CLICK_TYPE_PRIMARY, G_CALLBACK(koto_expander_toggle_content), self); }