Monodevelop gtk incorrect code using custom signals

Bug #197385 reported by soegaard
4
Affects Status Importance Assigned to Milestone
monodevelop (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

1:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

2:
Not sure. The gtk-sharp2 lib is not installed but still working with gtk2# projects in mono

3:
Not sure what package its in

4:
When adding custom signals I expect that the code generated is

this.customwidget.oncustomsignal += new customwidget.customsignaldelegate(this.customwidgetnameoncustomsignal);

where
mainwidget: is the widget containing the customwidget
customwidget: is a custom widget
oncustomsignal: is the event/signal listened to
customsignaldelegate: is the delegate in the custom widget
mainwidget.oncustomsignal: is the listening function

5:

this.customwidget.oncustomsignal += new customwidget/customsignaldelegate(this.customwidgetnameoncustomsignal);

This cannot compile as the type is wrong.

Revision history for this message
Caroline Ford (secretlondon) wrote :

Ubuntu ->mono

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Could you please attach your program code (or a short code to test it)? Thank you very much.

Changed in monodevelop (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for monodevelop (Ubuntu) because there has been no activity for 60 days.]

Changed in monodevelop (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.