Modifying a PurplePluginAction label
pidgin at unreliablesource.net
Tue Mar 4 16:21:13 EST 2008
On Tue, Mar 04, 2008 at 05:01:18PM -0200, Matías Alejandro Torres wrote:
> 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.
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
More information about the Devel