[fractal] sidebar: Bundle expander arrow and update behavior



commit e5c97c2517bae9b864bf01c338088bde4da3146b
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Sat Apr 23 12:52:38 2022 +0200

    sidebar: Bundle expander arrow and update behavior
    
    The icon and its behavior has been changed upstream.
    
    Bundle it so we don't have inconsistent behavior if it is updated upstream again.

 data/resources/icons/scalable/actions/expander-arrow-symbolic.svg | 1 +
 data/resources/resources.gresource.xml                            | 1 +
 data/resources/style.css                                          | 4 ++--
 data/resources/ui/sidebar-category-row.ui                         | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/resources/icons/scalable/actions/expander-arrow-symbolic.svg 
b/data/resources/icons/scalable/actions/expander-arrow-symbolic.svg
new file mode 100644
index 000000000..54c8488b1
--- /dev/null
+++ b/data/resources/icons/scalable/actions/expander-arrow-symbolic.svg
@@ -0,0 +1 @@
+<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg";><path d="M2 9.999a1 1 0 0 0 1.708.709L8 
6.415l4.293 4.293a1 1 0 1 0 1.414-1.416l-5-5a1 1 0 0 0-1.414 0l-5 5A1 1 0 0 0 2 9.999Z" 
style="fill:#2e3436;fill-opacity:1"/></svg>
\ No newline at end of file
diff --git a/data/resources/resources.gresource.xml b/data/resources/resources.gresource.xml
index 308ca019d..0ea971393 100644
--- a/data/resources/resources.gresource.xml
+++ b/data/resources/resources.gresource.xml
@@ -5,6 +5,7 @@
     <file preprocess="xml-stripblanks">assets/other-device.svg</file>
     <file preprocess="xml-stripblanks">assets/setup-complete.svg</file>
     <file preprocess="xml-stripblanks">assets/welcome.svg</file>
+    <file preprocess="xml-stripblanks">icons/scalable/actions/expander-arrow-symbolic.svg</file>
     <file preprocess="xml-stripblanks">icons/scalable/actions/idp-apple-dark.svg</file>
     <file preprocess="xml-stripblanks">icons/scalable/actions/idp-apple.svg</file>
     <file preprocess="xml-stripblanks">icons/scalable/actions/idp-facebook.svg</file>
diff --git a/data/resources/style.css b/data/resources/style.css
index 436166817..9e8c0c908 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -300,11 +300,11 @@ login {
 }
 
 .sidebar-list row.category .category-row:not(:checked) image.arrow:dir(ltr) {
-  transform: rotate(-0.25turn);
+  transform: rotate(-0.5turn);
 }
 
 .sidebar-list row.category .category-row:not(:checked) image.arrow:dir(rtl) {
-  transform: rotate(0.25turn);
+  transform: rotate(0.5turn);
 }
 
 .sidebar-list row.room .notification_count {
diff --git a/data/resources/ui/sidebar-category-row.ui b/data/resources/ui/sidebar-category-row.ui
index bab9f9a62..bf61d0f7a 100644
--- a/data/resources/ui/sidebar-category-row.ui
+++ b/data/resources/ui/sidebar-category-row.ui
@@ -20,7 +20,7 @@
         </child>
         <child type="end">
           <object class="GtkImage" id="arrow">
-            <property name="icon-name">adw-expander-arrow-symbolic</property>
+            <property name="icon-name">expander-arrow-symbolic</property>
             <style>
               <class name="arrow"/>
               <class name="dim-label"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]