Change elapsed time into button

This commit is contained in:
Rafostar
2020-10-07 23:10:11 +02:00
parent 4c5d922d47
commit 43a54920ef
4 changed files with 54 additions and 27 deletions

View File

@@ -84,7 +84,7 @@ var App = GObject.registerClass({
{
super.vfunc_activate();
this.window.show();
this.window.present();
Gtk.StyleContext.add_provider_for_display(
Gdk.Display.get_default(),
this.cssProvider,
@@ -307,8 +307,10 @@ var App = GObject.registerClass({
if(!this.inhibitCookie)
return;
/* Uninhibit seems to be broken as of GTK 3.99.2
this.uninhibit(this.inhibitCookie);
this.inhibitCookie = null;
*/
}
debug(`set prevent suspend to: ${isInhibited}`);