general: Add placeholder text to search entries

Acc. HIG, "text fields should have placeholder text or a label".

https://developer.gnome.org/hig/patterns/controls/text-fields.html
This commit is contained in:
Automeris naranja
2023-06-19 22:48:02 +00:00
committed by Automeris naranja
parent 10be0ac7ef
commit 8aa62b0a17
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@
<property name="name">entry</property>
<property name="child">
<object class="GtkSearchEntry" id="entry">
<property name="placeholder-text" translatable="yes">Search events</property>
<property name="max-width-chars">0</property>
<property name="width-chars">0</property>
<signal name="activate" handler="on_entry_activate_cb" object="GcalSearchButton" swapped="no" />
+1
View File
@@ -43,6 +43,7 @@
</child>
<child>
<object class="GtkEntry" id="weather_location_entry">
<property name="placeholder-text" translatable="yes">Search locations</property>
<property name="primary_icon_name">edit-find-symbolic</property>
<property name="primary_icon_activatable">False</property>
<property name="primary_icon_sensitive">False</property>