applications: Fix link to privacy panel

The privacy panel was removed in a4bdc37, so this link is broken.
We link to the first panel in the privacy section, which is what
is show when selecting this section.
This commit is contained in:
Robert Ancell 2019-11-15 15:53:48 +13:00 committed by Georges Basile Stavracas Neto
parent 3173ccefb7
commit 2a8b287d33

View file

@ -140,7 +140,7 @@ privacy_link_cb (CcApplicationsPanel *self)
CcShell *shell = cc_panel_get_shell (CC_PANEL (self));
g_autoptr(GError) error = NULL;
if (!cc_shell_set_active_panel_from_id (shell, "privacy", NULL, &error))
if (!cc_shell_set_active_panel_from_id (shell, "location", NULL, &error))
g_warning ("Failed to switch to privacy panel: %s", error->message);
return TRUE;