mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
ExtensionSystem: pass the metadata object to extensions
This allows using metadata.json as a configuration point (for example for installation prefix). https://bugzilla.gnome.org/show_bug.cgi?id=621017
This commit is contained in:
parent
7810db6b9f
commit
6bf2dd9138
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ function loadExtension(dir, enabled, type) {
|
|||
return;
|
||||
}
|
||||
try {
|
||||
extensionModule.main();
|
||||
extensionModule.main(meta);
|
||||
} catch (e) {
|
||||
if (stylesheetPath != null)
|
||||
theme.unload_stylesheet(stylesheetPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue