filechooserwidget: Port to ColumnViewCell

This commit is contained in:
Benjamin Otte 2023-03-31 14:05:57 +02:00
parent 5af3c2b2ec
commit f5dea9a3c2

View File

@ -186,18 +186,18 @@
<property name="bytes"><![CDATA[ <property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<template class="GtkListItem"> <template class="GtkColumnViewCell">
<property name="child"> <property name="child">
<object class="GtkFileChooserCell"> <object class="GtkFileChooserCell">
<binding name="item"> <binding name="item">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</binding> </binding>
<property name="list-item">GtkListItem</property> <property name="list-item">GtkColumnViewCell</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<binding name="tooltip-text"> <binding name="tooltip-text">
<closure type="gchararray" function="column_view_get_tooltip_text"> <closure type="gchararray" function="column_view_get_tooltip_text">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
<child> <child>
@ -205,7 +205,7 @@
<property name="margin-start">6</property> <property name="margin-start">6</property>
<property name="margin-end">6</property> <property name="margin-end">6</property>
<binding name="file-info"> <binding name="file-info">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</binding> </binding>
</object> </object>
</child> </child>
@ -216,7 +216,7 @@
<property name="min-chars">10</property> <property name="min-chars">10</property>
<binding name="text"> <binding name="text">
<closure type="gchararray" function="column_view_get_file_display_name"> <closure type="gchararray" function="column_view_get_file_display_name">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
</object> </object>
@ -244,13 +244,13 @@
<property name="bytes"><![CDATA[ <property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<template class="GtkListItem"> <template class="GtkColumnViewCell">
<property name="child"> <property name="child">
<object class="GtkFileChooserCell"> <object class="GtkFileChooserCell">
<binding name="item"> <binding name="item">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</binding> </binding>
<property name="list-item">GtkListItem</property> <property name="list-item">GtkColumnViewCell</property>
<child> <child>
<object class="GtkInscription"> <object class="GtkInscription">
<property name="hexpand">1</property> <property name="hexpand">1</property>
@ -260,12 +260,12 @@
<property name="margin-end">6</property> <property name="margin-end">6</property>
<binding name="text"> <binding name="text">
<closure type="gchararray" function="column_view_get_location"> <closure type="gchararray" function="column_view_get_location">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
<binding name="tooltip-text"> <binding name="tooltip-text">
<closure type="gchararray" function="column_view_get_tooltip_text"> <closure type="gchararray" function="column_view_get_tooltip_text">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
</object> </object>
@ -288,25 +288,25 @@
<property name="bytes"><![CDATA[ <property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<template class="GtkListItem"> <template class="GtkColumnViewCell">
<property name="child"> <property name="child">
<object class="GtkFileChooserCell"> <object class="GtkFileChooserCell">
<binding name="item"> <binding name="item">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</binding> </binding>
<property name="list-item">GtkListItem</property> <property name="list-item">GtkColumnViewCell</property>
<child> <child>
<object class="GtkLabel"> <object class="GtkLabel">
<property name="hexpand">1</property> <property name="hexpand">1</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<binding name="label"> <binding name="label">
<closure type="gchararray" function="column_view_get_size"> <closure type="gchararray" function="column_view_get_size">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
<binding name="tooltip-text"> <binding name="tooltip-text">
<closure type="gchararray" function="column_view_get_tooltip_text"> <closure type="gchararray" function="column_view_get_tooltip_text">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
</object> </object>
@ -371,26 +371,26 @@
<property name="bytes"><![CDATA[ <property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<template class="GtkListItem"> <template class="GtkColumnViewCell">
<property name="child"> <property name="child">
<object class="GtkFileChooserCell" id="file_chooser_cell"> <object class="GtkFileChooserCell" id="file_chooser_cell">
<binding name="item"> <binding name="item">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</binding> </binding>
<property name="list-item">GtkListItem</property> <property name="list-item">GtkColumnViewCell</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="spacing">6</property> <property name="spacing">6</property>
<binding name="tooltip-text"> <binding name="tooltip-text">
<closure type="gchararray" function="column_view_get_tooltip_text"> <closure type="gchararray" function="column_view_get_tooltip_text">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
<child> <child>
<object class="GtkLabel"> <object class="GtkLabel">
<binding name="label"> <binding name="label">
<closure type="gchararray" function="column_view_get_file_date"> <closure type="gchararray" function="column_view_get_file_date">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
</object> </object>
@ -400,7 +400,7 @@
<property name="visible" bind-source="file_chooser_cell" bind-property="show-time" bind-flags="sync-create"/> <property name="visible" bind-source="file_chooser_cell" bind-property="show-time" bind-flags="sync-create"/>
<binding name="label"> <binding name="label">
<closure type="gchararray" function="column_view_get_file_time"> <closure type="gchararray" function="column_view_get_file_time">
<lookup name="item">GtkListItem</lookup> <lookup name="item">GtkColumnViewCell</lookup>
</closure> </closure>
</binding> </binding>
</object> </object>