privacy, help: Fix broken link to "Location Services" docs

The subpage tag name AND the correspondent docs page name were wrong.
This commit is contained in:
Felipe Borges 2024-03-25 15:07:38 +01:00
parent 7a9f5a3056
commit f4a1f9e9c3

View file

@ -52,10 +52,8 @@ cc_privacy_panel_get_help_uri (CcPanel *panel)
AdwNavigationPage *page = adw_navigation_view_get_visible_page (CC_PRIVACY_PANEL (panel)->navigation);
const char *page_tag = adw_navigation_page_get_tag (page);
if (g_strcmp0 (page_tag, "location-page") == 0)
return "help:gnome-help/location";
else if (g_strcmp0 (page_tag, "microphone-page") == 0)
return "help:gnome-help/microphone";
if (g_strcmp0 (page_tag, "location") == 0)
return "help:gnome-help/privacy-location";
else
return "help:gnome-help/privacy";
}