gnome-shell/js/misc
Florian Müllner 3451c5a182 extensionUtils: Slightly optimize current extension lookup
When looking for a directory name that matches the extension UUID,
we can just as well use GLib's dirname()/basename() functions
instead of wrapping the path in a GFile.

We also know that the original path corresponds to a regular file
and not a directory, so rearrange the loop to avoid a lookup that
is guaranteed to fail.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2832>
2023-07-15 11:07:12 +00:00
..
animationUtils.js animationUtils: Group together various animation helpers 2023-07-15 02:35:56 +00:00
config.js.in build: Remove Soup2 support 2023-05-26 19:05:22 +00:00
dateUtils.js dateUtils: Refactor so all utilities use cached local timezone 2023-07-07 18:58:35 -07:00
dbusUtils.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
dependencies.js dependencies: Migrate to ES module and organize dependencies 2023-07-15 02:35:56 +00:00
extensionUtils.js extensionUtils: Slightly optimize current extension lookup 2023-07-15 11:07:12 +00:00
fileUtils.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
gnomeSession.js endSessionDialog: Only show logout inhibiting apps 2021-02-24 15:31:03 +00:00
history.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
ibusManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
inputMethod.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
introspect.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
jsParse.js jsParse: Make getCompletions() asynchronous 2023-07-14 12:36:53 +00:00
keyboardManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
loginManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
meson.build build: Remove Soup2 support 2023-05-26 19:05:22 +00:00
modemManager.js js: Fix linting errors from line shifts 2023-06-21 04:50:33 -07:00
objectManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
params.js cleanup: Only omit braces for single-line blocks 2019-11-11 19:25:14 +00:00
parentalControlsManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
permissionStore.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
signals.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
signalTracker.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
smartcardManager.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
systemActions.js js: Fix linting errors from line shifts 2023-06-21 04:50:33 -07:00
util.js animationUtils: Group together various animation helpers 2023-07-15 02:35:56 +00:00
weather.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00