mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
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:
commit
123eebb93d
@ -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