-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some fixes #11
base: master
Are you sure you want to change the base?
Some fixes #11
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