Florian Müllner
b02e43d84c
Bump version to 45.2
...
Update NEWS.
45.2
2023-12-01 20:15:09 +01:00
Florian Müllner
8ed3b72a56
workspace-indicator: Update visibility on window-type changes
...
The visibility depends on the type, so we should listen for
changes (even if the property is unlikely to change).
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292 >
(cherry picked from commit 30a15387b5 )
2023-12-01 20:03:38 +01:00
Florian Müllner
a929cf9370
workspace-indicator: Don't hide previews on other monitors
...
Workspace thumbnails are clipped, so there's no major benefit
of hiding the actors explicitly.
On the other hand, the check is useful on size/position changes
to avoid unnecessary relayouts.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292 >
(cherry picked from commit b5b841dd38 )
2023-12-01 20:03:38 +01:00
Florian Müllner
a5343c33ec
window-list: Update visibility on window-type changes
...
The visibility depends on the type, so we should listen for
changes (even if the property is unlikely to change).
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292 >
(cherry picked from commit 071584621e )
2023-12-01 20:03:15 +01:00
Florian Müllner
8efd73c50e
window-list: Don't hide previews on other monitors
...
Workspace thumbnails are clipped, so there's no major benefit
of hiding the actors explicitly.
On the other hand, the check is useful on size/position changes
to avoid unnecessary relayouts.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292 >
(cherry picked from commit 5c57f44838 )
2023-12-01 20:03:15 +01:00
Florian Müllner
d5f617b3e2
window-list: Move additional padding into buttons
...
Commit ca1c4b0f9e added additional padding, which means that the
interactive area of buttons no longer extends to the bottom of
the screen.
Address this by moving the new padding into the buttons themselves.
That restores the Fittsability of the bottom bar, without affecting
the cleaner visual appearance.
Close https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/453
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/291 >
2023-12-01 20:02:51 +01:00
Florian Müllner
d1ff099200
window-list: Clean up stylesheet indent
...
Replaces tabs with spaces.
Part-of:
<https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/291 >
2023-12-01 20:02:49 +01:00
Florian Müllner
6bbc329e7b
apps-menu: Use customized layout manager to limit height
...
To avoid continuous height changes while browsing through categories,
we let the list of categories determine the overall height, and rely
on scrolling for the list of apps within a category.
We currently achieve this by assigning a fixed height via the
`style` property. This has been found to trigger a crash when
running headless, as we end up querying an actor's height request
before a valid resource scale is available.
Instead, use a custom layout manager, which seems more elegant anyway.
Close: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/472
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290 >
(cherry picked from commit 5652182fb3 )
2023-12-01 19:48:04 +01:00
Florian Müllner
ed31f08f2f
apps-menu: Remove vertical separator
...
Ever since gnome-shell stopped using a stippled separator in the
calendar menu, the styling required by the separator has been
missing.
There haven't been any complaints about the invisible separator,
so we can just as well drop it altogether.
Part-of:
<https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290 >
(cherry picked from commit c3cbef19ac )
2023-12-01 19:48:03 +01:00
Florian Müllner
ed60502f10
apps-menu: Use stylesheet to set width
...
The `style` property is useful for computed CSS declarations,
but for regular styling the stylesheet is preferable.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290 >
(cherry picked from commit 8c8f990a28 )
2023-12-01 19:47:16 +01:00
Florian Müllner
0fa592a516
apps-menu: Adjust to events API changes
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290 >
(cherry picked from commit f6a6bdda99 )
2023-12-01 19:47:16 +01:00
Florian Müllner
f27b239f55
Bump version to 45.1
...
Update NEWS.
45.1
2023-11-01 00:28:14 +01:00
Florian Müllner
7f192d0208
screenshot-window-sizer: Handle wrapping around backwards
...
The mod takes care of wrapping at the top, but not when
decrementing 0. Fix this by using Array.prototype.at(),
which handles negative indexes.
Close https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/467
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/284 >
(cherry picked from commit dd8ee2931a )
2023-11-01 00:24:47 +01:00
Florian Müllner
eff6f6ef88
screenshot-window-sizer: Use built-in support for reversed bindings
...
Mutter has had explicit support for reversed bindings for a while now.
Use that, as it's more reliably than examining the modifiers manually.
Close https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/467
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/284 >
(cherry picked from commit f530acbf9e )
2023-11-01 00:24:47 +01:00
Brage Fuglseth
7d296d2fd2
Update Norwegian Bokmål translation
2023-10-12 20:28:03 +00:00
Florian Müllner
fb858ed0e4
window-list: Complete move to connectObject()
...
Commit 3bfaf6f88a removed the explicit disconnect, but forgot
to use connectObject() to connect the handler.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/459
Fixes: 3bfaf6f8 ("js: Use connectObject()")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/281 >
2023-10-09 15:36:39 +02:00
Florian Müllner
f576f1b1b6
window-list: Initialize preview visibility
...
Otherwise we can end up showing window previews in the workspace
thumbnail that shouldn't be visible, if none of the properties we
track for updates changes.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/280 >
2023-09-29 21:35:33 +02:00
Florian Müllner
b9d2a445b2
workspace-indicator: Initialize preview visibility
...
Otherwise we can end up showing windows that shouldn't be visible
if none of the properties we track for updates changes.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/280 >
2023-09-29 21:33:04 +02:00
Florian Müllner
092b268823
drive-menu: Remove left-over signal connection
...
The handler itself was removed in commit 3bfaf6f88a , so the
code now fails.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/455
Fixes: 3bfaf6f8 ("js: Use connectObject()")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/278 >
2023-09-29 12:33:13 +00:00
Kristjan SCHMIDT
b64cb0f195
Update Esperanto translation
2023-09-27 20:47:58 +00:00
Florian Müllner
2510bb3625
extensions: Stop using run_dispose()
...
It is considered bad practice, and mainly a lazy way of disconnecting
signal handlers without tracking individual handler IDs.
We can do better by using connectObject(), which provides the same
level of convenience without the dodginess of getting behind the
garbage collector's back.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/275 >
2023-09-26 15:21:41 +00:00
Florian Müllner
4fbd878208
lint: Sync with gnome-shell
...
gnome-shell itself no longer requires parameter descriptions in
doc comments (just type annotations). The requirement makes even
less sense for extensions, so sync up the configuration.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/276 >
2023-09-26 14:30:27 +02:00
Florian Müllner
e8840da00c
doap: Actually remove defunct mailing list
...
Fixes: e405d09c ("DOAP: Remove defunct mailing list; add Discourse")
2023-09-20 13:30:42 +02:00
Florian Müllner
ba5783ff8c
Bump version to 45.0
...
Update NEWS.
45.0
2023-09-16 20:29:57 +02:00
Andre Klapper
e405d09c98
DOAP: Remove defunct mailing list; add Discourse
2023-09-15 22:08:36 +02:00
Bruce Cowan
fee98cf385
Update British English translation
...
(cherry picked from commit 54d6a839f849bbe7c6acbbe03adbcbb909dbd80a)
2023-09-06 11:14:58 +00:00
Florian Müllner
e6b6b0c589
Bump version to 45.rc
...
Update NEWS.
45.rc
2023-09-06 11:53:48 +02:00
Florian Müllner
f54b96c327
auto-move: Fix signal name
...
The functionality is still broken for wayland windows that use
xdg-activation, because the workspace information from the startup
sequence is handled later.
But at least it's a baby step towards a fix.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/272 >
2023-09-06 00:00:36 +02:00
A S Alam
5e025ba194
Update Punjabi translation
2023-09-02 15:54:18 +00:00
Florentina Musat
5bf98cbe8f
Update Romanian translation
2023-08-17 16:26:01 +00:00
Florian Müllner
3677931bd2
ci: Add reuse job
...
Now that we are Reuse-compliant, check for it during CI to make
sure we remain compliant.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/224 >
2023-08-17 11:51:48 +00:00
Florian Müllner
b7f285d733
Make project compatible with Reuse Software spec
...
Provide all licenses used in the project in a LICENSES folder and
add SPDX license and copyright information for all files in
accordance with the Reuse Software[0] specification.
The copyright information is based on the file's git history,
using a fairly generous definition of "non-trivial".
As of the spec recommendation, the information is generally added
as comments in the files themselves, except for
- NEWS, README and similar top-level standard files, so that
a SPDX code isn't the first thing people encounter
- files that don't support comments (json) or where they'd
be a bit awkward (.desktop, .service)
- anything under po/, to not interfere with translation teams
Those are covered by a .reuse/dep5 files, except for image assets,
where separate .license files are used (It would be possible to
add comments to SVG files, but I don't trust image editors to
preserve them).
[0] https://reuse.software/
Part-of:
<https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/224 >
2023-08-17 11:51:48 +00:00
Florian Müllner
b966cb6b22
doap: Remove Giovanni from maintainers
...
He is an emeritus member, which means he is no longer active.
In particular he is no longer in the 'gnomecvs' group, which
is a pre-condition for being listed in the .doap file.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/267 >
2023-08-17 11:41:21 +00:00
Sabri Ünal
e238b0f6aa
Update Turkish translation
2023-08-16 18:38:33 +00:00
Florian Müllner
4345703c2e
Bump version to 45.beta
...
Update NEWS.
45.beta
2023-08-07 16:41:23 +02:00
Florian Müllner
a911447375
js: Port to ESM
...
The shell pulled the trigger and switched to ESM for all its
imports, follow suit.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/269 >
2023-08-06 15:59:35 +02:00
Florian Müllner
2d3307c657
window-list: Use InjectionManager instead of custom classes
...
Once the shell is ported to ESM, it will no longer be possible
to replace entire classes (even when imported). Prepare for that
by overriding methods of the regular WorkspaceBackground class
instead.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/268 >
2023-08-06 13:45:56 +02:00
Florian Müllner
d59bc0b7f0
window-list: Do not inject WindowPicker into Main
...
This will become impossible once Main is converted to ESM. Instead,
use the Extension class itself to hold the window picker.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/268 >
2023-08-06 13:45:56 +02:00
Florian Müllner
cb8c2eb27f
windowsNavigator: Use InjectionManager instead of custom classes
...
Once the shell is ported to ESM, it will no longer be possible
to replace entire classes (even when exported). Prepare for that
by overriding methods of the regular classes, instead of creating
custom subclasses.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/268 >
2023-08-06 13:45:56 +02:00
Florian Müllner
0544729bba
launch-new-instance: Use InjectionManager
...
The extension uses a straight-forward override that doesn't
benefit a lot from the new InjectionManager class, but let's
use the provided convenience API anyway.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/268 >
2023-08-05 21:32:27 +02:00
Florian Müllner
017c410a6a
native-window-placement: Use InjectionManager
...
The new convenience class was modelled after the code in the
extension, so it's a drop-in replacement.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/268 >
2023-08-05 18:53:41 +02:00
Florian Müllner
f2c73329be
extensions: Use new convenience classes
...
Convenience APIs for extensions are now provided as Extension/Prefs
base classes.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/268 >
2023-08-05 18:53:41 +02:00
Efstathios Iosifidis
ce644be96f
Update Greek translation
2023-08-01 20:41:56 +00:00
Florian Müllner
e75a1a15ac
extensions: Import ExtensionUtils as module
...
ExtensionUtils has been converted to ESM and split into two modules,
for extensions and prefs respectively.
Adjust to those changes.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/266 >
2023-07-15 14:13:25 +02:00
Florian Müllner
1155170c7c
window-list: Stop using getCurrentExtension()
...
The method is no longer exported. There will be a nicer alternative
soon, in the meantime we can just keep track of our main Extension
object ourselves.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/266 >
2023-07-15 14:10:27 +02:00
Florian Müllner
6d8f54a20b
js: Really use connectObject()
...
I forgot in two places to change the actual connect() function
to connectObject() 🤦 ️
Fixes commit 3bfaf6f88a .
2023-07-10 07:22:25 +02:00
Florian Müllner
93a2e7bdba
extensions: Stop using global.log()
...
It has been deprecated since 3.6(!) in favor of the actually
global log().
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/264 >
2023-07-10 06:51:45 +02:00
Florian Müllner
3bfaf6f88a
js: Use connectObject()
...
gnome-shell added (dis)connectObject() methods to partially automate
signal handling. It doesn't only save a significant amount of code,
but also makes it harder to miss cleaning up on destroy.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/263 >
2023-07-09 18:45:07 +02:00
Florian Müllner
37baccd9fc
window-list: Remove some dead code
...
The code that connected the signal was removed in 9fa522c29a .
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/263 >
2023-07-09 18:33:52 +02:00
Florian Müllner
9365725246
ci: Use wrapper to run eslint
...
The eslint job report its results as artifacts in junit format,
so that gitlab can present them in its UI.
However many psople miss that, and unsuccessfully check the logs
instead.
Address this by using a simplified version of gnome-shell's eslint
wrapper, so we can report results both on stdout and in a file
without re-running the linter.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/262 >
2023-07-09 16:21:03 +02:00