mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Change elapsed time into button
This commit is contained in:
@@ -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}`);
|
||||
|
Reference in New Issue
Block a user