From 86c00a52925b093be2037e34147408ad2a5e2f09 Mon Sep 17 00:00:00 2001 From: ARAKHNID Date: Sat, 10 Oct 2026 21:01:38 -0500 Subject: [PATCH] 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: --- src/gui/gcal-window.blp | 5 ----- src/gui/gcal-window.c | 11 ----------- 2 files changed, 16 deletions(-) diff --git a/src/gui/gcal-window.blp b/src/gui/gcal-window.blp index 8e96e84a..1af58cde 100644 --- a/src/gui/gcal-window.blp +++ b/src/gui/gcal-window.blp @@ -382,11 +382,6 @@ menu menu { action: "win.open-date-time-settings"; } - item { - label: _("_Online Accounts…"); - action: "win.open-online-accounts"; - } - submenu { label: _("Weather"); diff --git a/src/gui/gcal-window.c b/src/gui/gcal-window.c index 855e5cfe..2107500f 100644 --- a/src/gui/gcal-window.c +++ b/src/gui/gcal-window.c @@ -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 },