[gnome-control-center/gbsneto/gtk4: 34/35] fixup! common: Port to GTK4




commit 6b858498062f0bb2bcc97806590377932e07e810
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Oct 31 22:11:47 2021 -0300

    fixup! common: Port to GTK4

 panels/common/cc-language-chooser.ui | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)
---
diff --git a/panels/common/cc-language-chooser.ui b/panels/common/cc-language-chooser.ui
index eda118a11..cd8cd07d3 100644
--- a/panels/common/cc-language-chooser.ui
+++ b/panels/common/cc-language-chooser.ui
@@ -11,11 +11,7 @@
     <child type="action">
       <object class="GtkButton" id="select_button">
         <property name="label" translatable="yes">_Select</property>
-        <property name="visible">True</property>
         <property name="sensitive">False</property>
-        <property name="can_focus">True</property>
-        <property name="can_default">True</property>
-        <property name="receives_default">True</property>
         <property name="use_underline">True</property>
         <property name="valign">center</property>
       </object>
@@ -23,25 +19,19 @@
     <child type="action">
       <object class="GtkButton" id="cancel_button">
         <property name="label" translatable="yes">_Cancel</property>
-        <property name="visible">True</property>
-        <property name="can_focus">True</property>
         <property name="use_underline">True</property>
         <property name="valign">center</property>
       </object>
     </child>
-    <child internal-child="vbox">
+    <child>
       <object class="GtkBox">
-        <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <property name="spacing">0</property>
-        <property name="border-width">0</property>
         <child>
           <object class="GtkSearchBar" id="search_bar">
-            <property name="visible">True</property>
             <property name="hexpand">True</property>
             <child>
               <object class="GtkSearchEntry" id="language_filter_entry">
-                <property name="visible">True</property>
                 <property name="width_chars">30</property>
                 <signal name="search-changed" handler="language_filter_entry_search_changed_cb" 
object="CcLanguageChooser" swapped="yes"/>
               </object>
@@ -50,14 +40,12 @@
         </child>
         <child>
           <object class="GtkScrolledWindow">
-            <property name="visible">True</property>
             <property name="hscrollbar-policy">never</property>
             <property name="vscrollbar-policy">automatic</property>
             <property name="propagate-natural-height">True</property>
             <property name="min-content-height">200</property>
             <child>
               <object class="GtkListBox" id="language_listbox">
-                <property name="visible">True</property>
                 <property name="can-focus">True</property>
                 <property name="vexpand">True</property>
                 <property name="halign">fill</property>
@@ -67,7 +55,6 @@
                 <signal name="row-activated" handler="language_listbox_row_activated_cb" 
object="CcLanguageChooser" swapped="yes"/>
                 <child type="placeholder">
                   <object class="GtkLabel">
-                    <property name="visible">True</property>
                     <property name="label" translatable="yes">No languages found</property>
                     <property name="sensitive">False</property>
                   </object>
@@ -76,15 +63,12 @@
                 <!-- "More" row -->
                 <child>
                   <object class="GtkListBoxRow" id="more_row">
-                    <property name="visible">True</property>
                     <child>
                       <object class="GtkBox">
-                        <property name="visible">True</property>
                         <property name="spacing">10</property>
                         <property name="tooltip_markup" translatable="yes">Moreā€¦</property>
                         <child>
                           <object class="GtkImage">
-                            <property name="visible">True</property>
                             <property name="hexpand">True</property>
                             <property name="halign">center</property>
                             <property name="icon-name">view-more-symbolic</property>


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