[Geany-devel] SF.net SVN: geany:[3361] trunk

Enrico Tröger enrico.troeger at xxxxx
Thu Dec 11 17:24:54 UTC 2008


On Thu, 11 Dec 2008 18:21:06 +0100, Frank Lanitz <frank at frank.uvena.de>
wrote:

>Hi, 
>
>On Thu, 11 Dec 2008 16:51:46 +0000
>eht16 at 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

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20081211/7e8dbaa7/attachment.pgp>


More information about the Devel mailing list