Florian Müllner
a42f7c2384
cleanup: Use type-safe comparisons
...
We have been using type-safe comparisons in new code for quite a while
now, however old code has only been adapted slowly.
Change all the remaining bits to get rid of another legacy style
difference.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866 >
2023-08-09 15:10:38 +00:00
Florian Müllner
071f92cfb6
cleanup: Remove spaces in object literals
...
We only adopted this style relatively recently, so there's a bit
more to adjust. Still, it's manageable and another step towards
getting rid of the legacy style.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866 >
2023-08-09 15:10:37 +00:00
Evan Welsh
a751e213f6
js: Port to modules
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499 >
2023-08-06 13:02:49 +02:00
Evan Welsh
1e9b906cbc
js: Split gi imports to be on new lines to prepare for ES modules
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2794 >
2023-06-21 04:50:33 -07:00
Marco Trevisan (Treviño)
a53b48de4c
locatePointer: Bind ripples creation to settings
...
Don't create ripples if locate pointer is not enabled, and bind
creation to the relative desktop interface settings key.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700
2019-09-09 19:28:18 +00:00
Florian Müllner
e357559582
cleanup: Mark globals used from other modules as exported
...
eslint cannot figure out that those symbols are used from other modules
via imports, so they trigger unused-variable errors. To fix, explicitly
mark those symbols as exported.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
2019-07-24 00:28:45 +02:00
Florian Müllner
11b116cb9d
cleanup: Remove some unhelpful unused variables in destructuring
...
We aren't using them, and they don't add much in terms of clarity,
so drop them to fix a couple of eslint errors.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
2019-07-24 00:28:45 +02:00
Florian Müllner
7ac35c644e
style: Fix stray/missing spaces
...
Spotted by eslint.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
2019-07-01 23:44:11 +02:00
Florian Müllner
29b04fcbf2
style: Fix stray/missing semi-colons
...
Spotted by eslint.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
2019-07-01 23:44:11 +02:00
Florian Müllner
0b08ee54bb
cleanup: Clean up unused imports
...
Spotted by eslint.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
2019-07-01 23:44:10 +02:00
Florian Müllner
5f3bad9c94
locatePointer: Use constant for GSettings key
...
The constant is defined, so use it.
Spotted by eslint.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606
2019-07-01 21:09:49 +00:00
Florian Müllner
69725e5d41
locatePointer: Capitalize class name
...
... according to our coding style.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606
2019-07-01 21:09:49 +00:00
Olivier Fourdan
443c8347ea
locatePointer: Add implementation in gnome-shell
...
The "locate pointer" functionality was implemented in gnome settings
daemon using X11 protocols and would fail when run under Wayland.
With Wayland, there is no global coordinate space exposed to the clients
so this functionality cannot be implemented as a separate program.
Instead, add the "locate pointer" functionality in gnome-shell so that
it works in both X11 and Wayland.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/981
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/413
https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86
2019-06-05 08:15:10 +00:00