Remove .ics file importer button in "New Calendar"

A file imported as a "new calendar" would make it dependent on the file.
This feature was confusing everybody and is downright dangerous.

This does not prevent anyone from creating normal calendars,
and importing events from .ics files into them.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/390
This commit is contained in:
Jean-François Fortin Tam
2024-08-23 15:50:40 +00:00
committed by Georges Basile Stavracas Neto
parent 1a9bd4e9ca
commit f827b8a1f2
2 changed files with 0 additions and 73 deletions
@@ -103,30 +103,6 @@
</object>
</child>
<!-- File Chooser button -->
<child>
<object class="GcalFileChooserButton" id="calendar_file_chooser_button">
<property name="title" translatable="yes">Open a File</property>
<property name="filter">
<object class="GtkFileFilter">
<property name="name" translatable="yes">Calendar files</property>
<patterns>
<pattern>*.ical</pattern>
<pattern>*.icalendar</pattern>
<pattern>*.ics</pattern>
<pattern>*.ifb</pattern>
<pattern>*.vcs</pattern>
</patterns>
</object>
</property>
<signal name="notify::file" handler="on_file_chooser_button_file_changed_cb" object="GcalNewCalendarPage" swapped="no" />
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkRevealer" id="web_sources_revealer">
<property name="transition_type">slide-down</property>