[libadwaita/wip/exalm/a11y-fixes: 4/14] view-switcher-button: Set mnemonic in init()
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/a11y-fixes: 4/14] view-switcher-button: Set mnemonic in init()
- Date: Mon, 27 Dec 2021 18:37:43 +0000 (UTC)
commit 99acc43c8f6dc6ec87efff76f6bf3f6ef572c420
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Dec 27 17:16:01 2021 +0500
view-switcher-button: Set mnemonic in init()
We need it to be correct before the first horizontal->vertical orientation
change as well.
src/adw-view-switcher-button.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/adw-view-switcher-button.c b/src/adw-view-switcher-button.c
index ed10d076..0617c8d6 100644
--- a/src/adw-view-switcher-button.c
+++ b/src/adw-view-switcher-button.c
@@ -360,6 +360,7 @@ adw_view_switcher_button_init (AdwViewSwitcherButton *self)
gtk_stack_set_visible_child (GTK_STACK (self->stack), GTK_WIDGET (self->horizontal_box));
gtk_widget_set_focus_on_click (GTK_WIDGET (self), FALSE);
+ update_mnemonic (self);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]