Conversation
|
I tried it, but it doesn't load at all in Cinnamon 17.1 I first installed the applet from Spices, then put a symbolic link on the checkout code. |
|
The function getSettings in applet.js needs to be changed as well: function getSettings(schema, applet_dir)
{
/* Try getting a schema from the schemas path, fallback to default
* schema */
schema = schema || HAMSTER_APPLET_SCHEMA;
if (Gio.Settings.list_schemas().indexOf(schema) == -1)
throw _("Schema \"%s\" not found.").format(schema);
return new Gio.Settings({ schema: schema });
} |
|
Hi @SvenRieke |
|
Hi Daniel, seems that one of the recent updates of Cinnamon changed things, now the commits to this pull request work without any change on my Ubuntu Trusty/Mint 17.1 Rebecca Anyway, the change that I proposed was copied from another applet (Hamster-Applet) and I missed to change the used variable. function getSettings(schema) {
/* Try getting a schema from the schemas path, fallback to default
* schema */
schema = schema || SCHEMA_NAME;
if (Gio.Settings.list_schemas().indexOf(schema) == -1)
throw _("Schema \"%s\" not found.").format(schema);
return new Gio.Settings({ schema: schema });
}SCHEMA_NAME is the one that is used: const SCHEMA_NAME = "org.cinnamon.applets.AllInOnePlaces";Basically, if no schema is passed to getSettings, then this variable is used as default value. But as I said before, now it works without changing the getSettings() method, don't know why it failed before. |
Hi @jferrao,
Thank you for your grate applet.
I use it for long, but is suffers some issues.
I have fixed them and I hope you will merge and release it.
For me this is a better solution then release it as a fork.
Kind regards,
Daniel