Thanks for letting me know. Through some more experimentation I was able to add menu items, so for now I'll just use that.
Regards, Steve Felix Riemann wrote: > [sorry, forgot to CC eog-list the first time] > > Hi Steve, > > Am Samstag, den 12.04.2008, 10:29 -0700 schrieb Steve Detwiler: >> I am having some difficulty getting my sample plugin working. I'm >> probably making an obvious mistake, but I can't seem to find it. I am >> trying to add a button to the eog toolbar that calls a function when >> clicked. When I run my code and then query for the UI xml from the >> window's ui manager, I see my new toolitem in the XML, but it never >> appears in the toolbar itself. Any help would be appreciated. I am using >> the python console plugin to run the code below. > > I'm sorry but EOG's toolbar is currently not changeable through the > plugin interface. The reason is that widget we are using to make the > toolbar editable by the user (EggEditableToolbar[1]) is not using > GtkUiManager to determine its layout (that is kept in its own model). It > is only using it to lookup the details to the actions it is about to > display. So, the XML you are seeing is probably what is left from the > old toolbar which was a standard GtkToolbar (what the fullscreen toolbar > still is) and thus GtkUIManager-managed. > > Sorry, > > Felix > > [1] http://live.gnome.org/ProjectRidley/EggToolbarEditor > > _______________________________________________ Eog-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/eog-list
