[ubuntu-mono] [Bug 197385] Re: Monodevelop gtk incorrect code using custom signals

Thomas Hotz 197385 at bugs.launchpad.net
Sun Dec 30 05:02:39 UTC 2012


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

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to monodevelop in Ubuntu.
https://bugs.launchpad.net/bugs/197385

Title:
  Monodevelop gtk incorrect code using custom signals

Status in “monodevelop” package in Ubuntu:
  Incomplete

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monodevelop/+bug/197385/+subscriptions




More information about the Ubuntu-mono mailing list