phosh-arch/gnome-control-center-mobile/0001-avatar-chooser-Adapt-to-work-on-librem5.patch
2024-08-13 08:17:11 -07:00

41 lines
1.5 KiB
Diff

From: Mohammed Sadiq <sadiq@sadiqpk.org>
Date: Fri, 20 Sep 2019 16:11:07 +0530
Subject: [PATCH 1/7] avatar-chooser: Adapt to work on librem5
---
panels/system/users/cc-avatar-chooser.ui | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/panels/system/users/cc-avatar-chooser.ui b/panels/system/users/cc-avatar-chooser.ui
index 0f19c6e..d1ed9ae 100644
--- a/panels/system/users/cc-avatar-chooser.ui
+++ b/panels/system/users/cc-avatar-chooser.ui
@@ -3,6 +3,11 @@
<!-- interface-requires gtk+ 3.8 -->
<template class="CcAvatarChooser" parent="GtkPopover">
<property name="visible">False</property>
+ <child>
+ <object class="GtkScrolledWindow">
+ <property name="visible">1</property>
+ <property name="hscrollbar-policy">never</property>
+ <property name="min-content-height">380</property>
<child>
<object class="GtkBox">
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
@@ -11,7 +16,7 @@
<object class="GtkFlowBox" id="flowbox">
<property name="selection-mode">none</property>
<property name="homogeneous">True</property>
- <property name="max-children-per-line">5</property>
+ <property name="max-children-per-line">3</property>
<property name="column-spacing">10</property>
</object>
</child>
@@ -29,5 +34,7 @@
</child>
</object>
</child>
+ </object>
+ </child>
</template>
</interface>