Skip to content

Commit cd8343e

Browse files
committed
Fix Gnome Shell applet compatibility issue with Ubuntu 18.04.
Signed-off-by: Rob Caelers <[email protected]>
1 parent 8dc8280 commit cd8343e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

NEWS

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
Workrave NEWS -- history of user-visible changes. 04 April 2020
1+
Workrave NEWS -- history of user-visible changes. 10 April 2020
22
Copyright (C) 2001-2020 Rob Caelers, Raymond Penners, Ray Satiro
33
See the end for copying conditions.
44

55
Please report Workrave bug reports. Visit our bug tracker located at:
66
https://github.com/rcaelers/workrave/issues
77

8+
* Workrave 1.10.42
9+
10+
** Fix Gnome Shell applet compatibility issue with Ubuntu 18.04.
11+
812
* Workrave 1.10.41
913

1014
** Fix incomplete Gnome Shell applet menu with latest version of Gnome Shell

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dnl
55

66
m4_define([workrave_major_version], [1])
77
m4_define([workrave_minor_version], [10])
8-
m4_define([workrave_micro_version], [41])
8+
m4_define([workrave_micro_version], [42])
99
m4_define([workrave_version_suffix], [0])
1010
m4_define([workrave_version],
1111
[workrave_major_version.workrave_minor_version.workrave_micro_version])

frontend/applets/gnome-shell/src/extension.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ const WorkraveButton = new Lang.Class({
173173
this._area.set_height(this._height=24);
174174
this._area.connect('repaint', Lang.bind(this, this._draw));
175175

176-
this.add_actor(this._area);
177-
this.show();
176+
this.actor.add_actor(this._area);
177+
this.actor.show();
178178

179179
this.connect('destroy', Lang.bind(this, this._onDestroy));
180180

0 commit comments

Comments
 (0)