gui/window: Remove open online calendars menu item

This menu item was found to be confusing in a small experiment with 3
people. Since online calendars are already accessible when adding
calendars in the calendar management dialog, this menu item can be
removed.

Closes #1642

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/876>
This commit is contained in:
ARAKHNID
2026-10-16 21:37:06 +00:00
committed by Marge Bot
parent acd87d2626
commit 86c00a5292
2 changed files with 0 additions and 16 deletions
-5
View File
@@ -382,11 +382,6 @@ menu menu {
action: "win.open-date-time-settings";
}
item {
label: _("_Online Accounts…");
action: "win.open-online-accounts";
}
submenu {
label: _("Weather");
-11
View File
@@ -670,16 +670,6 @@ on_window_open_date_time_settings_cb (GSimpleAction *action,
gcal_util_launch_gnome_settings (connection, "datetime", NULL);
}
static void
on_window_open_online_accounts_cb (GSimpleAction *action,
GVariant *param,
gpointer user_data)
{
GDBusConnection *connection = g_application_get_dbus_connection (g_application_get_default ());
gcal_util_launch_gnome_settings (connection, "online-accounts", NULL);
}
static void
on_window_previous_date_activated_cb (GSimpleAction *action,
GVariant *param,
@@ -1471,7 +1461,6 @@ gcal_window_init (GcalWindow *self)
{"next-date", on_window_next_date_activated_cb },
{"new-event", on_window_new_event_cb },
{"open-date-time-settings", on_window_open_date_time_settings_cb },
{"open-online-accounts", on_window_open_online_accounts_cb },
{"previous-date", on_window_previous_date_activated_cb },
{"show-calendars", on_show_calendars_action_activated },
{"today", on_window_today_activated_cb },