Merge branch 'reduce-shortcuts-searchentry-width' into 'main'

shortcutswindow: Reduce default width of search entry

See merge request GNOME/gtk!6707
This commit is contained in:
Matthias Clasen 2024-01-04 13:42:18 +00:00
commit 69ffaab09f

View File

@ -944,7 +944,8 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
g_object_set (self->search_entry,
/* Translators: This is placeholder text for the search entry in the shortcuts window */
"placeholder-text", _("Search Shortcuts"),
"width-chars", 40,
"width-chars", 31,
"max-width-chars", 40,
NULL);
gtk_accessible_update_property (GTK_ACCESSIBLE (self->search_entry),