Re: Python plugin questions
- From: Felix Riemann <friemann svn gnome org>
- To: Steve Detwiler <steved piratestudios com>
- Cc: eog-list gnome org
- Subject: Re: Python plugin questions
- Date: Sun, 13 Apr 2008 20:15:38 +0200
[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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]