Set _delegate (used for DnD) even though we do not enable DnD, this fixes
a couple of 'reference to undefined property "_delegate"' warnings getting
logged.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Unfortunatly gnome-3.35.9x has dropped ClutterTexture, so this needs to
be completely rewritten, lets just remove it for now.
Note patches re-introducing this are welcome.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
After the "Fix TeaTime not working with gnome-shell 3.35.90 and newer"
commit, a bunch of blocks no longer have correct indentation.
These blocks were left as is on purpose to make the diff of that commit
easier to read.
This commit fixes the indentation of these blocks. This commit makes no
changes other then the indentation changes and as such contains no
functional changes.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit contains the minimum amount of changes for TeaTime to mostly
work with gnome-shell 3.35.90 and newer.
There is one big remaining issue after this, the fullscreen notifications
are not working anymore. Fixing this unfortunately is non trivial,
so I plan to remove it in a separate commit.
There are also some JS warnings, I will fix those in separate commits.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
The teapot and especially the progress circle icon in the panel are
squashed with GNOME-3.32. The problem appears to be that the padding
which we are requesting gets applied not only to the surface-size
which we are being passed (which is 20 px wide for our 24 px size),
but gets applied a second time using scaling squashing the image
and making the progress circle non round.
This commit fixes this by removing the padding, as gnome shell
automatically adds plenty of padding and directly requesting 20x20 as
surface size, which results in a 20x27 surface as we are given the full
height of the panel as height, but our own padding code takes care of
that.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>