cc-window: Enable scroll-to-focus on panel list

GTK4 doesn't do this by default, so we need to make sure
to specify it on our GtkViewport.
This commit is contained in:
Christopher Davis 2022-01-04 13:20:06 -08:00 committed by Georges Basile Stavracas Neto
parent 8ba134fbce
commit f1d5a0e71e

View file

@ -84,6 +84,9 @@
<property name="vexpand">True</property>
<property name="width-request">200</property>
<property name="hscrollbar_policy">never</property>
<child>
<object class="GtkViewport">
<property name="scroll-to-focus">True</property>
<child>
<object class="CcPanelList" id="panel_list">
<property name="search-mode" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="bidirectional" />
@ -95,6 +98,8 @@
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkSeparator" id="panel_separator">