mirror of
https://github.com/oleid/gnome-shell-teatime.git
synced 2022-04-29 18:53:50 +00:00
Fix "Some code tried to set a deprecated GObject property." warning
Recent versions of St.Label no longer have an expand property, so stop trying to set it. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
e5b1e0e744
commit
f1e0d04631
@ -44,9 +44,7 @@ class PopupTeaMenuItem extends PopupMenu.PopupBaseMenuItem {
|
||||
|
||||
if (this.actor instanceof St.BoxLayout) {
|
||||
// will be used for gnome-shell 3.10 and possibly above where this.actor is BoxLayout
|
||||
this.actor.add(this.tealabel, {
|
||||
expand: true
|
||||
});
|
||||
this.actor.add(this.tealabel);
|
||||
if (nBrewtime != 0) {
|
||||
this.actor.add(this.timelabel);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user