diff --git a/README.md b/README.md index 7eb53f3..f260c76 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ ## Reference [guide](https://gjs.guide/extensions/development/creating.html) +[Dialog](https://gjs.guide/extensions/topics/dialogs.html) +[Settings](https://gjs.guide/extensions/development/preferences.html) +[Settings](https://gjs.guide/guides/gtk/3/16-settings.html#title:-application-settings) +[Tooltip](https://gitlab.com/arcmenu/ArcMenu) + +## GSettings schema must be compiled +`glib-compile-schemas schemas/` ## Debug dbus-run-session -- gnome-shell --nested --wayland diff --git a/datetime@sonichy/README.md b/datetime@sonichy/README.md index af6076e..5aea2b6 100755 --- a/datetime@sonichy/README.md +++ b/datetime@sonichy/README.md @@ -12,13 +12,6 @@ Display date and time on GNOME taskbar. [Guide](https://gjs.guide/extensions/development/creating.html) [Cinnamon_Applet](https://github.com/sonichy/Cinnamon_Applet) [Calendar](https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dateMenu.js#L901) -[Tooltip](https://gitlab.com/arcmenu/ArcMenu) -[Dialog](https://gjs.guide/extensions/topics/dialogs.html) -[Settings](https://gjs.guide/extensions/development/preferences.html) -[Settings](https://gjs.guide/guides/gtk/3/16-settings.html#title:-application-settings) - -## GSettings schema must be compiled -`glib-compile-schemas schemas/` ## Debug dbus-run-session -- gnome-shell --nested --wayland diff --git a/datetime@sonichy/extension.js b/datetime@sonichy/extension.js index e8addf2..167f8c6 100755 --- a/datetime@sonichy/extension.js +++ b/datetime@sonichy/extension.js @@ -30,8 +30,8 @@ export default class DatetimeExtension extends Extension { this._indicator.menu.addMenuItem(menu_calendar); //https://gjs.guide/extensions/development/preferences.html - const schema = 'org.gnome.shell.extensions.datetime'; - this._settings = this.getSettings(schema); + //const schema = 'org.gnome.shell.extensions.datetime'; + this._settings = this.getSettings(); const menu_set = new PopupMenu.PopupMenuItem('Set'); menu_set.connect('activate', () => { diff --git a/datetime@sonichy/metadata.json b/datetime@sonichy/metadata.json index c579b41..1f982ea 100755 --- a/datetime@sonichy/metadata.json +++ b/datetime@sonichy/metadata.json @@ -1,10 +1,10 @@ { "uuid": "datetime@sonichy", - "name": "datetime", - "settings-schema": "org.gnome.shell.extensions.datetime", + "name": "datetime", "description": "Display date and time on GNOME taskbar", "author": "sonichy", "version": "1.0", "shell-version": [ "45", "46", "47", "48" ], - "url": "https://github.com/sonichy/GNOME_extension" + "url": "https://github.com/sonichy/GNOME_extension", + "settings-schema": "org.gnome.shell.extensions.datetime" }