Actually, you could just add a button to the plugin preferences that
points directly to the Edit -> Prefernces -> Keybindings by calling:
keybindings_dialog_show_prefs_scroll("Plugin Section");
I do so here:
https://github.com/sblatnick/geany-plugins/blob/external-tools/external-tools/src/dialog.c
I hope this helps,
Steve
On 03/25/2014 05:19 PM, Shankhoneer Chakrovarty wrote:
Thanks Lex.
It is actually preferable that plugins do not have default
keybindings.
It is not known what combination plugins will be loaded and so it is
not known what combination of keybindings might clash, and it is not
known what keybindings a user might define themselves that can clash.
So I would recommend that default keybindings be removed from plugins.
I understand, I would remove the default keybindings. The problem is
this plugin doesnt have its own preference page in the Plugin Manager
window. Activating this plugin will mean the user has to go to
Edit->Preference (not the Plugin preferences)->Keybindings to set the
keybindings for this plugin which is a lot of clicks. What I would
suggest is that plugin should have its own preference page and a way
to tell the user how to set the keybindings and the recommended keys.
One of the ways could be putting all those things in plugin
description. What do you think?
Thanks,
Shankhoneer Chakrovarty
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel