[gnome-calendar/gbsneto/gtk4: 23/37] meeting-row: Port to GTK4




commit 9e7058d7fa8f75ac42565d60fcad9ace5b9681a7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jan 14 11:46:08 2022 -0300

    meeting-row: Port to GTK4

 src/gui/gcal-meeting-row.ui | 38 +++++++++++++-------------------------
 1 file changed, 13 insertions(+), 25 deletions(-)
---
diff --git a/src/gui/gcal-meeting-row.ui b/src/gui/gcal-meeting-row.ui
index 71d4b96f..7fb9f6f8 100644
--- a/src/gui/gcal-meeting-row.ui
+++ b/src/gui/gcal-meeting-row.ui
@@ -2,17 +2,10 @@
 <interface>
   <requires lib="gtk+" version="3.14"/>
   <template class="GcalMeetingRow" parent="GtkListBoxRow">
-    <property name="visible">True</property>
     <property name="activatable">False</property>
-    <focus-chain>
-      <widget name="url_label"/>
-      <widget name="join_button"/>
-    </focus-chain>
 
     <child>
       <object class="GtkGrid">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
         <property name="margin-start">12</property>
         <property name="margin-end">12</property>
         <property name="margin-top">6</property>
@@ -21,55 +14,50 @@
 
         <child>
           <object class="GtkLabel" id="service_label">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="hexpand">True</property>
             <property name="xalign">0.0</property>
+            <layout>
+              <property name="row">0</property>
+              <property name="column">0</property>
+            </layout>
             <style>
               <class name="title" />
             </style>
           </object>
-          <packing>
-            <property name="top-attach">0</property>
-            <property name="left-attach">0</property>
-          </packing>
         </child>
 
         <child>
           <object class="GtkLabel" id="url_label">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="hexpand">True</property>
             <property name="xalign">0.0</property>
+            <layout>
+              <property name="row">1</property>
+              <property name="column">0</property>
+            </layout>
             <style>
               <class name="subtitle" />
               <class name="dim-label" />
             </style>
           </object>
-          <packing>
-            <property name="top-attach">1</property>
-            <property name="left-attach">0</property>
-          </packing>
         </child>
 
         <child>
           <object class="GtkButton" id="join_button">
-            <property name="visible">True</property>
             <property name="can-focus">True</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
             <!-- Translators: "Join" as in "Join meeting" -->
             <property name="label" translatable="yes">Join</property>
+            <layout>
+              <property name="row">0</property>
+              <property name="column">1</property>
+              <property name="row-span">2</property>
+            </layout>
             <style>
               <class name="suggested-action" />
             </style>
             <signal name="clicked" handler="on_join_button_clicked_cb" object="GcalMeetingRow" swapped="no" 
/>
           </object>
-          <packing>
-            <property name="top-attach">0</property>
-            <property name="left-attach">1</property>
-            <property name="height">2</property>
-          </packing>
         </child>
       </object>
     </child>


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