Re: Unexpected element <signal> inside <widget>

Michał Karnicki <[email protected]>
Newsgroups gmane.comp.gnome.glade.devel
Message-ID <[email protected]>
Hello,

This is the relevant part of glade file:

<child>
>                   <widget class="GtkToggleToolButton" id="winAddToolEdit">
>                     <property name="visible">True</property>
>                     <property name="extension_events">all</property>
>                     <property name="label"
> translatable="yes">Edytuj</property>
>                     <property name="stock_id">gtk-edit</property>
>                     <accelerator key="e" signal="clicked"
> modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
>                     <signal name="toggled"
> handler="on_winAddToolEdit_toggled"/>
>                   </widget>
>                   <packing>
>                     <property name="expand">False</property>
>                     <property name="homogeneous">True</property>
>                   </packing>
>                 </child>


And it looks fine, so I really have a problem :/ I need Glade to produce
GUI.. or I don't notice someting?

I can't tell what was the version of glade which produced the file (I
recently had ubuntu 8.10 up to date, but I just switched to 9.04 alfa 6).
The current version of Glade I have is 3.6.0 - I opened the not-so-old
.glade file in the new Glade and saved it. Then signals stopped to connect
with button events (at least the one I use, which is clicked/toggled).

Regards,
Mike

2009/3/24 Tristan Van Berkom <[email protected]>

> 2009/3/23 Michał Karnicki <[email protected]>:
> > I have the same problem. After loading the old file and saving it,
> buttons
> > stopped to work. I receive:
> >
> > libglade-WARNING **: Unexpected element <signal> inside <widget>
> >
> > And I have no clue what to do. If I can provide you with any feedback you
> > need concerning this issue, I will be more than pleased. Thank you!
> >
>
> Hi as far as I know this was fixed here:
>   http://bugzilla.gnome.org/show_bug.cgi?id=559531
> but /before/ 3.5.4 (think it was fixed in 3.5.2 or 3.5.3).
>
> Take a look at the Glade file, the signals should follow the properties
> and precede the children, if they dont, there is your bug.
>
> Also please let me know what version of Glade produced the Glade
> file with the malformed signals.
>
> Cheers,
>           -Tristan
>
> >
> >
> > Mike
> >
> > --------------------
> > Hi, after an upgrade to the last versione on jaunty a have this kind of
> > error when i open old ( 3.5.4) file and save it
> > Buttons doesnt' work.
> >
> > Any tip? my fault?
> >
> >
> >
> > Thanks
> >
> > (promogest.py:24867): libglade-WARNING **: Unexpected element <signal>
> > inside <widget>.
> >
> > _______________________________________________
> > Glade-devel maillist  -  [email protected]
> > http://lists.ximian.com/mailman/listinfo/glade-devel
> >
> >
>

_______________________________________________
Glade-devel maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/glade-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.