Modifying a PurplePluginAction label

Matí­as Alejandro Torres torresmat at gmail.com
Tue Mar 4 16:32:00 EST 2008


Etan Reisner escribió:
> On Tue, Mar 04, 2008 at 05:01:18PM -0200, Matí­as Alejandro Torres wrote:
>   
>> Ok.
>> As a work around, is there a way to get the GtkMenu so I can add
>> whatever I want inside (for example a GtkCheckMenuItem?
>> Also, wouldn't it be nice to add these kind of functionality to the
>> PurplePluginAction? Maybe a way to specify what widget you want
>> (GtkCheckMenuItem, GtkRadioMenuItem, GtkMenuItem) and a way to change
>> the label in the menu item.
>>
>> Thanks for your reply.
>>
>> Matias
>>     
>
> Allowing for a way to change the menu item is not really possible without
> either rebuilding the menu all the time (which I feel like we must have
> done at some point or I wouldn't have thought we did it now) and which we
> likely stopped doing because it was needlessly computationally costly or
> allowing direct access to the GtkMenuItem which while possible isn't
> exactly something I like the thought of.
>
> Allowing for different types of menu items should be entirely possible,
> the only question is how much information needs to be passed through the
> PurpleMenuAction struct. If you want to work on a patch for that feel
> free.
>
>     -Etan
>
>   
I'd love to, the problem is that I don't know anything about Libpurple 
API. Anyway I was looking for an excuse to do something for Pidgin. This 
one seems a nice one.




More information about the Devel mailing list