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

Add Notifications settings #238

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Add Notifications settings #238

merged 3 commits into from
Oct 3, 2024

Conversation

danirabbit
Copy link
Member

@danirabbit danirabbit commented Sep 23, 2024

Some apps don't set x-gnome-uses-notifications so they can't be controlled even if they do use the notifications portal. Adds a setting for notifications that uses PermissionStore so we can still disable notifications for those apps

@danirabbit danirabbit requested a review from a team September 23, 2024 01:11
Copy link

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

I had to fake a permission setting for notifications from the PermissionStore - is this expected? I am running in a VM but the other permissions settings were constructed OK.

If I faked a "no" permission then the notification permission setting was constructed OK and appeared above the "Advanced System Settings" sections as indicated by the screenshot.

If this is dependent on changes in other repos to actually work then I am prepared to approve.

@danirabbit
Copy link
Member Author

@jeremypw ah no it should just work. It might be that your VM is new and doesn't have apps sending notifications yet? A good way to test would be to use ASHPD to send a notification and then it should appear there automatically

Copy link

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

Tested with ASHPD and works as expected.

@jeremypw jeremypw merged commit b4f4660 into main Oct 3, 2024
4 checks passed
@jeremypw jeremypw deleted the danirabbit/nofications branch October 3, 2024 16:18
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.

3 participants