gcal-utils: Combine GNOME Settings launchers

This refactor combines the functions
gcal_utils_launch_online_accounts_panel and
gcal_utils_launch_datetime_settings_panel into a single function that
takes a panel ID as an argument.
This commit is contained in:
Victoria Lacroix
2023-07-15 23:04:51 +00:00
committed by Georges Basile Stavracas Neto
parent 3526cadcca
commit aec45594f9
5 changed files with 20 additions and 78 deletions
@@ -513,7 +513,7 @@ on_web_description_label_link_activated_cb (GtkLabel *label,
{
GDBusConnection *connection = g_application_get_dbus_connection (g_application_get_default ());
gcal_utils_launch_online_accounts_panel (connection, NULL, NULL);
gcal_utils_launch_gnome_settings (connection, "online-accounts", NULL);
}