Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use location settings icon #152

Merged
merged 2 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,12 @@
</release>
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-security-privacy/master/data/screenshot.png</image>
</screenshot>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-security-privacy/master/data/screenshot-history.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/elementary/switchboard-plug-security-privacy/master/data/screenshot-location.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://elementary.io</url>
<url type="bugtracker">https://github.com/elementary/switchboard-plug-security-privacy/issues</url>
Expand Down
Binary file added data/screenshot-history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/screenshot-location.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/screenshot.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Views/LocationPanel.vala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class SecurityPrivacy.LocationPanel : Granite.SimpleSettingsPage {
Object (
activatable: true,
description: _("Allow the apps below to determine your location"),
icon_name: "find-location",
icon_name: "preferences-system-privacy-location",
title: _("Location Services")
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Widgets/ServiceList.vala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class ServiceList : Gtk.ListBox {
});

if (SecurityPrivacy.LocationPanel.location_agent_installed ()) {
var location_item = new ServiceItem ("find-location", "location", _("Location Services"));
var location_item = new ServiceItem ("preferences-system-privacy-location", "location", _("Location Services"));
add_service (location_item);
update_service_status (location_item, SecurityPrivacy.location.status_switch.active);

Expand Down