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
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
cf007dd472
extensions: Turn extensions into modules
...
As gnome-shell is moving to ESM, it will now load extensions as
standard modules instead of using legacy imports. The change boils
down to exporting the Extension class as default, but we can also
start using standard imports for introspected modules now, so do
that at the same time.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/259 >
2023-07-07 00:35:08 +02:00
Florian Müllner
701b14ecbf
extensions: Use extension class for all extensions
...
This will be the only supported entry point when extension loading
switches to dynamic imports, so prepare for that by wrapping the
remaining standalone enable()/disable() methods in Extension classes.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/259 >
2023-07-07 00:12:41 +02:00
Florian Müllner
72a9696249
build: Remove unused stylesheets
...
The only reason for installing empty stylesheets is minimizing
build system differences between extensions. That's not a very
good reason and we don't do this for other optional files like
schemas.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/223 >
2022-03-24 00:53:13 +01:00
Florian Müllner
d0b9c9b54a
cleanup: Document functions
...
gjs now enforces this in its eslint configuration. Adding type
information generally is a good idea, so add appropriate comments
to public functions before picking up that configuration change.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/180 >
2021-08-13 04:48:22 +02:00
Florian Müllner
fdc3dda484
cleanup: Fix stray/missing spaces
...
Those are wrong according to our style guidelines, but the previous
eslint ruleset didn't catch them.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/91
2019-08-21 15:13:44 +00:00
Florian Müllner
3861ffae31
extensions: Mark exported symbols
...
eslint obviously doesn't know about gnome-shell's extension API, so
the various entry points trigger unused-variable errors. To fix,
explicitly mark those symbols as exported.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
2019-01-28 06:51:20 +01:00
Florian Müllner
3effc9cfc2
style: Fix indentation errors
...
While we have some style inconsistencies - mostly regarding split lines,
i.e. aligning to the first arguments vs. a four-space indent - there are
a couple of places where the spacing is simply wrong. Fix those.
Spotted by eslint.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/49
2019-01-28 06:37:28 +01:00
Florian Müllner
b741b1bbe2
cleanup: Remove empty init() functions
...
The method is optional, so there's no point at all in letting the
shell call an empty method during initialization.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/49
2019-01-28 06:37:28 +01:00
Florian Müllner
2aaf4370b6
meta: Update description note for reporting bugs
...
We no longer take bugs in bugzilla.
2017-12-01 21:04:02 +01:00
Florian Müllner
ba38019049
build: Remove autotools support
...
Complete the switch to meson and drop autotools support ...
Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/31
2017-12-01 17:43:21 +01:00
Florian Müllner
3ab01aebec
build: Support the meson build system
...
Meson is on track to replace autotools as the build system of choice,
so support it in addition to autotools.
Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/31
2017-12-01 17:41:04 +01:00
Florian Müllner
c69ea808ae
launch-new-instance: Fix warning
...
Commit 2667b9f3e5 updated the extension for a shell change that
renamed _onActivate() to _activate, but forgot to also rename the
declaration of the variable that stores the original function.
Fix this to stop a warning about assignment to an undefined variable.
https://bugzilla.gnome.org/show_bug.cgi?id=745470
2015-03-02 21:05:43 +01:00
Florian Müllner
54e39c9779
launch-new-instance: Re-use original activate function
...
Rather than re-implementing the function (and risk missing improvements
like the launch animation), call the original one as if the user had
middle-clicked the launcher.
2014-09-29 15:32:02 +02:00
Florian Müllner
6e82912fe5
launch-new-instance: Remove unused imports/variables
2014-09-27 16:15:36 +02:00
Florian Müllner
2667b9f3e5
launch-new-instance: Update for gnome-shell changes
2014-09-03 15:11:54 +02:00
Debarshi Ray
512ff51d13
launch-new-instances: Drop obsolete signals and callbacks
...
The 'launching' signal and this._onActivateOverride callback were
removed from gnome-shell in 7ecb5af587af7ed892c6cfc5af0858a2acb04905
and 7ecb5af587af7ed892c6cfc5af0858a2acb04905 respectively.
https://bugzilla.gnome.org/show_bug.cgi?id=721864
2014-04-29 01:09:38 +02:00
Florian Müllner
7e3db53dcd
launch-new-instance: Update to changed API
...
https://bugzilla.gnome.org/show_bug.cgi?id=724428
2014-02-15 17:53:42 +01:00
Giovanni Campagna
274a6f040c
Update descriptions of extensions
...
Mark classic mode extensions as such, so bug reports don't go
lost in my inbox.
2013-05-20 19:06:59 +02:00
Florian Müllner
7b07fd9656
launch-new-instance: Adjust for AppWellIcon -> AppIcon change
...
https://bugzilla.gnome.org/show_bug.cgi?id=694555
2013-02-24 08:55:25 +01:00
Gabriel Rossetti
b673e1624a
launch-new-instance: New extension
...
https://bugzilla.gnome.org/show_bug.cgi?id=692030
2013-01-18 23:36:29 +01:00