mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 14:50:06 +00:00
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:
parent
c81a793f63
commit
6b71ccdb43
@ -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:
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user