Hi,
On Thu, 11 Dec 2008 16:51:46 +0000 eht16@users.sourceforge.net wrote:
Revision: 3361 http://geany.svn.sourceforge.net/geany/?rev=3361&view=rev Author: eht16 Date: 2008-12-11 16:51:46 +0000 (Thu, 11 Dec 2008)
Log Message:
Fix plugin toolbar icon placement. Now they are always inserted before the Quit button if it is the last toolbar element or at the end otherwise.
Just because of I'm corious about: Is there a way telling a plugin to insert a icon behind the quit botton with Geany's interface for doing this?
Cheers, Frank
On Thu, 11 Dec 2008 18:21:06 +0100, Frank Lanitz frank@frank.uvena.de wrote:
Hi,
On Thu, 11 Dec 2008 16:51:46 +0000 eht16@users.sourceforge.net wrote:
Revision: 3361 http://geany.svn.sourceforge.net/geany/?rev=3361&view=rev Author: eht16 Date: 2008-12-11 16:51:46 +0000 (Thu, 11 Dec 2008)
Log Message:
Fix plugin toolbar icon placement. Now they are always inserted before the Quit button if it is the last toolbar element or at the end otherwise.
Just because of I'm corious about: Is there a way telling a plugin to insert a icon behind the quit botton with Geany's interface for doing this?
Yes, if you don't use Geany's plugin_add_toolbar_item() and insert toolbar items directly with gtk_toolbar_insert(toolbar, item, -1);
The last argument is the position and -1 tells the code to append the item.
First, this is covered in the GTK docs. Secondly, wth one should want to do this?
Regards, Enrico