<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Actually, you could just add a button to the plugin preferences that
points directly to the Edit -> Prefernces -> Keybindings by
calling:<br>
<pre><span class="n">keybindings_dialog_show_prefs_scroll</span><span class="p">(</span><span class="s">"Plugin Section"</span><span class="p">);</span></pre>
<br>
I do so here:<br>
<a
href="https://github.com/sblatnick/geany-plugins/blob/external-tools/external-tools/src/dialog.c">https://github.com/sblatnick/geany-plugins/blob/external-tools/external-tools/src/dialog.c</a><br>
<br>
I hope this helps,<br>
<br>
Steve<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/25/2014 05:19 PM, Shankhoneer
Chakrovarty wrote:<br>
</div>
<blockquote
cite="mid:CAPHu7D9DhS6TEKjKUwYxsYtoAsGZdcMc2Er1MzDKjn9XC4_Jog@mail.gmail.com"
type="cite">
<div dir="ltr">Thanks Lex.
<div class="gmail_extra"><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5"><span style="color:rgb(34,34,34)">It is
actually preferable that plugins do not have default
keybindings.</span><br>
</div>
</div>
<br>
It is not known what combination plugins will be loaded
and so it is<br>
not known what combination of keybindings might clash, and
it is not<br>
known what keybindings a user might define themselves that
can clash.<br>
<br>
So I would recommend that default keybindings be removed
from plugins.<br>
</blockquote>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Shankhoneer Chakrovarty</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.geany.org">Devel@lists.geany.org</a>
<a class="moz-txt-link-freetext" href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
</blockquote>
<br>
</body>
</html>