[fractal] misc: Ensure UI files use enum variant short name consistently



commit 3d12e38336075c52787d4152b2fc6931e470462d
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Wed Sep 28 16:41:46 2022 +0200

    misc: Ensure UI files use enum variant short name consistently

 data/resources/ui/components-location-viewer.ui    |  2 +-
 data/resources/ui/components-password-entry-row.ui |  2 +-
 data/resources/ui/components-video-player.ui       |  4 ++--
 data/resources/ui/content-message-media.ui         | 12 ++++++------
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/data/resources/ui/components-location-viewer.ui b/data/resources/ui/components-location-viewer.ui
index 7ada0f635..528ff6acc 100644
--- a/data/resources/ui/components-location-viewer.ui
+++ b/data/resources/ui/components-location-viewer.ui
@@ -10,7 +10,7 @@
   <template class="ComponentsLocationViewer" parent="AdwBin">
     <property name="child">
       <object class="ShumateSimpleMap" id="map">
-        <property name="overflow">GTK_OVERFLOW_HIDDEN</property>
+        <property name="overflow">hidden</property>
         <style>
           <class name="map"/>
         </style>
diff --git a/data/resources/ui/components-password-entry-row.ui 
b/data/resources/ui/components-password-entry-row.ui
index 4cff111ed..3cc7acd2f 100644
--- a/data/resources/ui/components-password-entry-row.ui
+++ b/data/resources/ui/components-password-entry-row.ui
@@ -40,7 +40,7 @@
                     <property name="buffer">
                       <object class="GtkPasswordEntryBuffer" />
                     </property>
-                    <property name="input-purpose">GTK_INPUT_PURPOSE_PASSWORD</property>
+                    <property name="input-purpose">password</property>
                     <property name="visibility">false</property>
                   </object>
                 </child>
diff --git a/data/resources/ui/components-video-player.ui b/data/resources/ui/components-video-player.ui
index 35dd617d6..a9de1adb2 100644
--- a/data/resources/ui/components-video-player.ui
+++ b/data/resources/ui/components-video-player.ui
@@ -24,8 +24,8 @@
               <class name="timestamp"/>
             </style>
             <property name="visible" bind-source="ComponentsVideoPlayer" bind-property="compact" 
bind-flags="sync-create | invert-boolean"/>
-            <property name="halign">GTK_ALIGN_START</property>
-            <property name="valign">GTK_ALIGN_START</property>
+            <property name="halign">start</property>
+            <property name="valign">start</property>
             <property name="margin-start">5</property>
             <property name="margin-top">5</property>
             <layout>
diff --git a/data/resources/ui/content-message-media.ui b/data/resources/ui/content-message-media.ui
index 235a682a8..542fc6ddf 100644
--- a/data/resources/ui/content-message-media.ui
+++ b/data/resources/ui/content-message-media.ui
@@ -8,11 +8,11 @@
         <style>
           <class name="thumbnail"/>
         </style>
-        <property name="overflow">GTK_OVERFLOW_HIDDEN</property>
+        <property name="overflow">hidden</property>
         <child type="overlay">
           <object class="GtkSpinner" id="overlay_spinner">
-            <property name="halign">GTK_ALIGN_CENTER</property>
-            <property name="valign">GTK_ALIGN_CENTER</property>
+            <property name="halign">center</property>
+            <property name="valign">center</property>
             <layout>
               <property name="measure">true</property>
             </layout>
@@ -24,10 +24,10 @@
               <class name="osd"/>
               <class name="circular"/>
             </style>
-            <property name="halign">GTK_ALIGN_CENTER</property>
-            <property name="valign">GTK_ALIGN_CENTER</property>
+            <property name="halign">center</property>
+            <property name="valign">center</property>
             <property name="icon-name">dialog-error-symbolic</property>
-            <property name="icon-size">GTK_ICON_SIZE_LARGE</property>
+            <property name="icon-size">large</property>
             <layout>
               <property name="measure">true</property>
             </layout>


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