diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-10-08 12:02:20 -0300 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-20 22:34:40 -0400 |
commit | de2624faa7aa40a917651cb6af5ef4dd82d1f500 (patch) | |
tree | 587841ac7c8b90de1637a61d073b6cbb820a2bef /gtk/ui | |
parent | cda784a5f4a8fa1caf16005de65740e72e0c9bad (diff) | |
download | gtk+-de2624faa7aa40a917651cb6af5ef4dd82d1f500.tar.gz |
filechooserwidget: Move tooltip text to column view
Use a closure binding to query the tooltip.
Diffstat (limited to 'gtk/ui')
-rw-r--r-- | gtk/ui/gtkfilechooserwidget.ui | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui index 695bb94bc1..9f7b92da07 100644 --- a/gtk/ui/gtkfilechooserwidget.ui +++ b/gtk/ui/gtkfilechooserwidget.ui @@ -157,6 +157,9 @@ <template class="GtkListItem"> <property name="child"> <object class="GtkBox"> + <binding name="tooltip-text"> + <closure type="gchararray" function="column_view_get_tooltip_text" /> + </binding> <child> <object class="GtkFileThumbnail"> <property name="margin-start">6</property> @@ -210,6 +213,9 @@ <binding name="text"> <closure type="gchararray" function="column_view_get_location" /> </binding> + <binding name="tooltip-text"> + <closure type="gchararray" function="column_view_get_tooltip_text" /> + </binding> </object> </property> </template> @@ -240,6 +246,9 @@ </lookup> </closure> </binding> + <binding name="tooltip-text"> + <closure type="gchararray" function="column_view_get_tooltip_text" /> + </binding> </object> </property> </template> @@ -271,6 +280,9 @@ </lookup> </closure> </binding> + <binding name="tooltip-text"> + <closure type="gchararray" function="column_view_get_tooltip_text" /> + </binding> </object> </property> </template> @@ -293,6 +305,9 @@ <property name="child"> <object class="GtkBox"> <property name="spacing">6</property> + <binding name="tooltip-text"> + <closure type="gchararray" function="column_view_get_tooltip_text" /> + </binding> <child> <object class="GtkLabel"> <binding name="label"> @@ -372,7 +387,6 @@ <signal name="pressed" handler="click_cb" swapped="no"/> </object> </child> - <signal name="query-tooltip" handler="file_list_query_tooltip_cb" swapped="no"/> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection2"> <signal name="changed" handler="list_selection_changed" swapped="no"/> |