Compatibility fix

This commit is contained in:
Romain Vigier
2020-06-15 17:22:53 +02:00
parent 46dc9a8a12
commit 7db7fb67b5
+2 -2
View File
@@ -88,9 +88,9 @@ var TimerOndemand = class {
}); });
this._button = new panelMenu.Button(0.0); this._button = new panelMenu.Button(0.0);
let button_actor = get_actor(this._button); const button_actor = get_actor(this._button);
button_actor.add_actor(this._icon); button_actor.add_actor(this._icon);
this._button.connect( button_actor.connect(
'button-press-event', 'button-press-event',
this._toggle_time.bind(this) this._toggle_time.bind(this)
); );