new-calendar: Show webcalendar subscription errors
Let the user know what went wrong, using a secondary icon and tooltip directly in the URL entry field. Also provide a hint to GTK that it is meant to be a URL field. Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1177
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
<object class="GtkEntry" id="calendar_address_entry">
|
||||
<property name="hexpand">True</property>
|
||||
<property name="placeholder-text">https://example.com/calendar.ics</property>
|
||||
<property name="input-purpose">url</property>
|
||||
<signal name="notify::text" handler="on_url_entry_text_changed_cb" object="GcalNewCalendarPage" swapped="no" />
|
||||
<signal name="activate" handler="on_calendar_address_activated_cb" object="GcalNewCalendarPage" swapped="no" />
|
||||
<layout>
|
||||
|
||||
Reference in New Issue
Block a user