[gnome-software: 109/110] Set GtkViewport:scroll-to-focus consistently
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 109/110] Set GtkViewport:scroll-to-focus consistently
- Date: Tue, 5 Oct 2021 20:32:47 +0000 (UTC)
commit 35248e7e8808c7b3f049ac30fa438de1d3ce697a
Author: Philip Withnall <pwithnall endlessos org>
Date: Tue Oct 5 20:33:50 2021 +0100
Set GtkViewport:scroll-to-focus consistently
It no longer defaults to true in GTK4.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
src/gs-category-page.ui | 1 +
src/gs-details-page.ui | 1 +
src/gs-overview-page.ui | 1 +
3 files changed, 3 insertions(+)
---
diff --git a/src/gs-category-page.ui b/src/gs-category-page.ui
index fce0bbbbe..3b8f26478 100644
--- a/src/gs-category-page.ui
+++ b/src/gs-category-page.ui
@@ -10,6 +10,7 @@
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport3">
+ <property name="scroll-to-focus">True</property>
<property name="visible">True</property>
<child>
<object class="AdwClamp">
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index fc3ff7d4c..04b106bd2 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -61,6 +61,7 @@
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport1">
+ <property name="scroll-to-focus">True</property>
<property name="visible">True</property>
<child>
<object class="GtkBox">
diff --git a/src/gs-overview-page.ui b/src/gs-overview-page.ui
index 1201a4d0b..716bb9fe8 100644
--- a/src/gs-overview-page.ui
+++ b/src/gs-overview-page.ui
@@ -69,6 +69,7 @@
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkViewport" id="viewport_overview">
+ <property name="scroll-to-focus">True</property>
<property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]