Commit Graph

157 Commits

Author SHA1 Message Date
Olaf Leidinger
b81e5f8119 FIX: Autoconf was broken on current Arch 2021-02-21 22:05:40 +01:00
oleid
7043a9a6bb
Merge pull request #52 from jwrdegoede/master
Add compatibility with GNOME 3.34 and GNOME 3.36
2021-02-21 21:36:27 +01:00
Hans de Goede
e862c92eb2 Do not change the icon search path
Now that we install our icon in the standard icon search path, there
is no need to mess with the icon search path; and since 3.36.0
imports.gi.Gtk.IconTheme.get_default() returns null causing TeaTime to
no longer works. Removing the unnecessary messing with the icon search
path fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-03-10 11:33:02 +01:00
Hans de Goede
883b6a65bb Drop compatibility with 3.10 and older
With all the recent changes to fix warnings about using deprecated
APIs I'm pretty sure that the code will no longer work with something
like GNOME 3.10 or the even older 3.4. Drop all the code which
specifically deals with older version.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-02-23 14:03:55 +01:00
Hans de Goede
e46368b084 Fix "Usage of object.actor is deprecated for ..." warnings
Fix several "Usage of object.actor is deprecated for ..." warnings.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-02-22 22:24:51 +01:00
Hans de Goede
029b282457 Fix "Source.notify() has been moved to ..."" error
Fix "Source.notify() has been moved to Source.showNotification() this code
will break in the future" error. Note this is done with a check for
showNotification being a function to preserve compatibility with GNOME-3.34.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-02-22 22:24:51 +01:00
Hans de Goede
aa682804aa Fix 'reference to undefined property "_delegate"' warning
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>
2020-02-22 22:22:50 +01:00
Hans de Goede
f1e0d04631 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>
2020-02-22 22:22:50 +01:00
Hans de Goede
e5b1e0e744 Fix utilities-teatime.svg aspect ratio and installation
This commit fixes 2 issues with utilities-teatime.svg:

1. It had a non square aspect-ratio causing it to be scaled in a weird
way in the notifications.

2. It was not being installed by "make install" / "make local-install"

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-02-22 22:22:50 +01:00
Hans de Goede
0580b73fa4 Remove fullscreen notification option
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>
2020-02-22 22:22:50 +01:00
Hans de Goede
89a04a36fb Fix indendation
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>
2020-02-22 22:22:50 +01:00
Hans de Goede
f02770da31 Fix TeaTime not working with gnome-shell 3.35.90 and newer
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>
2020-02-22 22:22:50 +01:00
Hans de Goede
5cb25b44eb Fix vertical squashing of the panel icons
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>
2019-05-07 10:35:15 +02:00
Zener
1beccddc5a Merge remote-tracking branch 'origin/master' 2019-04-10 06:16:31 +02:00
oleid
e0f923b113
Merge pull request #48 from codestice/master
Fixes tea cup animation for gnome 3.30
2019-04-09 22:54:19 +02:00
Zener
e94ef7f5bc combatiblity for gnome-shell 3.32 (maybe break for earlier versions) 2019-04-09 12:52:38 +02:00
Peter Liebetraut
1a30460f4c Use 'global.display' when 'global.screen' is not available (fixes tea cup animation for gnome 3.30) 2019-03-27 21:40:37 +01:00
oleid
e5a5e61398
Merge pull request #45 from kgorbi/master
Add "Stop Timer" menu option.
2018-03-18 21:35:46 +01:00
Krystian Garbaciak
7afe38b3b3 Add "Stop Timer" menu option. 2018-03-18 13:05:25 +01:00
Olaf Leidinger
877f127c11 Properly initialize status 2017-11-21 21:39:16 +01:00
Olaf Leidinger
ce26373bd7 Clean-up globals and eliminate warnings on Gnome-3.26 2017-11-21 21:33:14 +01:00
oleid
5a58727a67
Merge pull request #41 from jspitz/master
Allow reordering of entries in the settings dialog via drag and drop
2017-11-21 19:35:31 +01:00
Olaf Leidinger
4b2b485153 Prevent name clash due to different clutter versions 2017-11-21 19:33:14 +01:00
Juergen Spitzmueller
5a586e8d6f Allow reordering of entries in the settings dialog via drag and drop 2017-11-21 19:13:08 +01:00
Olaf Leidinger
2a053cf4ea Implement HiDPI scaling 2017-11-21 01:29:57 +01:00
Olaf Leidinger
51062d0eee Fix markdown 2017-11-20 23:35:32 +01:00
Olaf Leidinger
233ea18a56 Last bits of beautification 2017-11-20 23:33:00 +01:00
Olaf Leidinger
517445f2aa Add beautifier script and mention it in readme 2017-11-20 23:32:35 +01:00
Olaf Leidinger
790f5cf928 Simplify translation infrastructure 2017-11-20 23:22:15 +01:00
Jürgen Spitzmüller
907fab139e Keep l7n local (#40)
Keep l7n local, fixing issue issue #37
2017-11-20 22:56:44 +01:00
Olaf Leidinger
2d2fc839fa js-beautified source code 2017-11-03 20:52:04 +01:00
Olaf Leidinger
b99cf2f204 Cleanup code 2017-11-03 20:34:16 +01:00
Olaf Leidinger
da179b23ac Simplify code and thereby fix graphical countdown, refs #30 2017-11-03 20:32:15 +01:00
oleid
6ef7a90cd3
Merge pull request #39 from jspitz/master
Some updates for Shell 3.26
2017-11-03 17:46:40 +01:00
oleid
eccb722095
Merge pull request #34 from kelunik/master
Fix vertical alignment, fixes #30
2017-11-03 17:43:21 +01:00
Juergen Spitzmueller
5d5184eeda Add v. 3.24 and 3.26 2017-11-03 16:33:22 +01:00
Juergen Spitzmueller
3e018c68e5 Remove unused gi.St import that breaks opening of prefs dialog in 3.26. 2017-11-03 16:32:49 +01:00
oleid
a4fba500e7 Merge pull request #33 from mkoura/remove_old_countdown
Remove old countdown when new one is selected.
2017-06-26 21:38:44 +02:00
oleid
12d91f1335 Merge pull request #35 from typekpb/patch-1
fixed markdown formatting + typo
2017-06-26 21:37:22 +02:00
oleid
d0767093f5 Merge pull request #38 from Boehemyth/patch-1
Remove unused import of ShellToolkit.
2017-06-26 21:35:50 +02:00
Dan Boehm
5f903893c5 Remove bad import
Fixes #36
2017-06-26 13:17:29 -05:00
Peter Butkovic
befa8f9ae9 fixed markdown formatting + typo 2017-04-20 08:29:59 +02:00
Niklas Keller
349ab15145 Fix vertical alignment, fixes #30 2017-02-27 20:45:54 +01:00
Martin Kourim
c779410071
remove old countdown when new is selected 2016-12-09 20:28:32 +01:00
Olaf Leidinger
171b506c92 automatic merge of new translations 2016-10-04 22:12:49 +02:00
Olaf Leidinger
43a36a5031 Update German translation 2016-10-04 22:01:40 +02:00
Olaf Leidinger
9cfcaf71da Unclutter translations 2016-10-04 22:01:11 +02:00
Olaf Leidinger
15f2041a7f Add handy script to update translation strings 2016-10-04 21:49:43 +02:00
Olaf Leidinger
a0b432842a Update translation strings 2016-10-04 21:45:48 +02:00
oleid
759967c49c Merge pull request #32 from shlinux/master
Add Simplified Chinese translation.
2016-10-04 21:38:33 +02:00