GtkFileChooser: Tweak Grid View & List View button tooltips

The tooltips from the Grid View & List View buttons are unnecessarily long and look different from the tooltips used in Nautilus.

This commit makes the tooltips to be consistent with Nautilus and, consequently, makes them shorter.
This commit is contained in:
sunflowerskater 2022-12-17 18:21:10 -03:00
parent c81a793f63
commit 6b71ccdb43
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>