Merge branch 'tweak-gtkfilechooser-button-tooltips' into 'main'

GtkFileChooser: Tweak Grid View & List View button tooltips

See merge request GNOME/gtk!5345
This commit is contained in:
Matthias Clasen 2022-12-21 12:39:53 +00:00
commit 123eebb93d
2 changed files with 3 additions and 3 deletions

View File

@ -1699,13 +1699,13 @@ set_view_type (GtkFileChooserWidget *impl,
case VIEW_TYPE_LIST: case VIEW_TYPE_LIST:
child = impl->browse_files_column_view; child = impl->browse_files_column_view;
icon_name = "view-grid-symbolic"; icon_name = "view-grid-symbolic";
tooltip_text = _("Switch to grid view"); tooltip_text = _("Grid View");
break; break;
case VIEW_TYPE_GRID: case VIEW_TYPE_GRID:
child = impl->browse_files_grid_view; child = impl->browse_files_grid_view;
icon_name = "view-list-symbolic"; icon_name = "view-list-symbolic";
tooltip_text = _("Switch to list view"); tooltip_text = _("List View");
break; break;
default: default:

View File

@ -63,7 +63,7 @@
<object class="GtkButton" id="browse_toggle_view_button"> <object class="GtkButton" id="browse_toggle_view_button">
<property name="icon-name">view-grid-symbolic</property> <property name="icon-name">view-grid-symbolic</property>
<property name="action-name">item.toggle-view</property> <property name="action-name">item.toggle-view</property>
<property name="tooltip-text" translatable="yes">Switch to grid view</property> <property name="tooltip-text" translatable="yes">Grid View</property>
</object> </object>
</child> </child>
<child> <child>