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

Show when location services are in use #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danirabbit
Copy link
Member

Screenshot from 2024-06-17 11 55 38

@danirabbit danirabbit requested a review from a team June 17, 2024 18:56
@ryonakano
Copy link
Contributor

I thought indication of location use is already implemented in the privacy indicator, which we've never shipped IIRC. 🤔

@danirabbit
Copy link
Member Author

@ryonakano yeah exactly it was never shipped. I'm trying to get away from having separate indicators that only show sometimes because it means their popover items are only available sometimes and overall trying to work towards a quick settings popover that's more in line with what other major platforms provide


setup_geoclue_manager.begin ((obj, res) => {
var geoclue_manager = setup_geoclue_manager.end (res);
location_revealer.reveal_child = geoclue_manager.in_use;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need a null check here since setup_geoclue_manager can return null.

@@ -0,0 +1,41 @@
public class QuickSettings.TattleBox : Gtk.Bin {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we're missing the copyright header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants