From 6b71ccdb43f952c96a598a902271b180c900c604 Mon Sep 17 00:00:00 2001 From: sunflowerskater Date: Sat, 17 Dec 2022 18:21:10 -0300 Subject: [PATCH] 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. --- gtk/gtkfilechooserwidget.c | 4 ++-- gtk/ui/gtkfilechooserwidget.ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 70c4cabb84..ed85b0eb9e 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -1699,13 +1699,13 @@ set_view_type (GtkFileChooserWidget *impl, case VIEW_TYPE_LIST: child = impl->browse_files_column_view; icon_name = "view-grid-symbolic"; - tooltip_text = _("Switch to grid view"); + tooltip_text = _("Grid View"); break; case VIEW_TYPE_GRID: child = impl->browse_files_grid_view; icon_name = "view-list-symbolic"; - tooltip_text = _("Switch to list view"); + tooltip_text = _("List View"); break; default: diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui index 7d15ccb052..6faecfe9eb 100644 --- a/gtk/ui/gtkfilechooserwidget.ui +++ b/gtk/ui/gtkfilechooserwidget.ui @@ -63,7 +63,7 @@ view-grid-symbolic item.toggle-view - Switch to grid view + Grid View