Use Gtk.Application.inhibit

Bug #1656441 reported by Adam Bieńkowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppCenter
New
Undecided
Unassigned
Audience
Won't Fix
Medium
Unassigned

Bug Description

Instead of creating new class, there is already an API in Gtk.Application that allows us to inhibit / uninhibit. The inhibit call also takes an ApplicationInhibitFlags which can be used to specify the type of inhibition. More info here: https://valadoc.org/gtk+-3.0/Gtk.Application.inhibit.html

Related branches

Changed in audience:
importance: Undecided → Medium
milestone: none → juno-beta1
Changed in audience:
status: New → In Progress
Revision history for this message
Felipe Escoto (philip.scott) wrote :

Gtk.Inhibit doesn't seem to work under either pantheon or gnome shell. On both desktop environments the display still turns off :/

At least for now, the current method will have to stay on Audience

Changed in audience:
status: In Progress → Won't Fix
milestone: juno-beta1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.