After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 113763 - problems when using a mutli valued mask in a glade generated file
problems when using a mutli valued mask in a glade generated file
Status: RESOLVED DUPLICATE of bug 128013
Product: libglade
Classification: Deprecated
Component: gtk
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: James Henstridge
James Henstridge
: 120773 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-05-26 20:02 UTC by florent
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
adds a glade_xml_add_events function to resolve this issue (1.92 KB, patch)
2003-10-08 19:29 UTC, Neal E. Coombes
none Details | Review

Description florent 2003-05-26 20:02:30 UTC
The following file generated with glade-2 did not work :

...
<property name="events">GDK_EXPOSURE_MASK | GDK_LEAVE_NOTIFY_MASK |
GDK_BUTTON_PRESS_MASK | GDK_POINTER_MOTION_MASK</property>
...

and I had to change it to :

...
<property
name="events">GDK_EXPOSURE_MASK|GDK_LEAVE_NOTIFY_MASK|GDK_BUTTON_PRESS_MASK|GDK_PO
INTER_MOTION_MASK</property>
...

to make it work with libglade (suppression of the spaces)
Comment 1 Darren Hart 2003-08-26 17:47:48 UTC
*** Bug 120773 has been marked as a duplicate of this bug. ***
Comment 2 Neal E. Coombes 2003-10-08 19:29:51 UTC
Created attachment 20575 [details] [review]
adds a glade_xml_add_events function to resolve this issue
Comment 3 Neal E. Coombes 2003-10-08 19:34:16 UTC
The patch I just submitted seems to fix this problem although it's not
heavily tested (it certainly fixes the issue I directly needed it to
fix).  One problem I still noticed however was that if all event masks
are selected, my motion_notify_event is only called upon mouse entry.
 Very strange, but it works fine if I only select the events I need.

Neal
Comment 4 Damon Chaplin 2004-01-30 15:58:53 UTC
this is fixed in cvs.

*** This bug has been marked as a duplicate of 128013 ***