filechooser: Fix the gridview
authorMatthias Clasen <mclasen@redhat.com>
Tue, 11 Apr 2023 05:41:09 +0000 (07:41 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 11 Apr 2023 05:41:09 +0000 (07:41 +0200)
2a70093a309481cf6 was a bit overeager in its porting
to GtkColumnViewCell. The gridview needs to keep its
list items.

gtk/ui/gtkfilechooserwidget.ui

index acc3b57e94a6b557f4acdeeb04b850a1519fa84a..165b2e1643f71375816a77ccd09256423cb7de85 100644 (file)
         <property name="bytes"><![CDATA[
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <template class="GtkColumnViewCell">
+  <template class="GtkListItem">
     <property name="child">
       <object class="GtkFileChooserCell">
         <binding name="item">
-          <lookup name="item">GtkColumnViewCell</lookup>
+          <lookup name="item">GtkListItem</lookup>
         </binding>
-        <property name="list-item">GtkColumnViewCell</property>
+        <property name="list-item">GtkListItem</property>
         <child>
           <object class="GtkBox">
             <property name="orientation">vertical</property>
             <binding name="tooltip-text">
               <closure type="gchararray" function="column_view_get_tooltip_text">
-                <lookup name="item">GtkColumnViewCell</lookup>
+                <lookup name="item">GtkListItem</lookup>
               </closure>
             </binding>
             <child>
                 <property name="margin-start">6</property>
                 <property name="margin-end">6</property>
                 <binding name="file-info">
-                  <lookup name="item">GtkColumnViewCell</lookup>
+                  <lookup name="item">GtkListItem</lookup>
                 </binding>
               </object>
             </child>
                 </attributes>
                 <binding name="label">
                   <closure type="gchararray" function="column_view_get_file_display_name">
-                    <lookup name="item">GtkColumnViewCell</lookup>
+                    <lookup name="item">GtkListItem</lookup>
                   </closure>
                 </binding>
               </object>