Inconsistent autogenerated application code and generated glade file

Bug #38245 reported by Loe Spee
8
Affects Status Importance Assigned to Milestone
monodevelop
Fix Released
Unknown
monodevelop (Ubuntu)
Fix Released
Medium
Sebastian Dröge

Bug Description

When creating a new project in MonoDevelop 0.9 I chose "Glade# 2.0 Project".
A gui.glade file is automatically generated but it includes the following XML tag:
<requires lib="gnome"/>

Which tells us the glade file is for a Gnome application (which might give us trouble when we want a GTK application which is not related to Gnome.

And the code generated by MonoDevelop when creating a "Glade# 2.0 Project" is not meant for a Gnome application, it misses the following statement:
Program Program = new Program ("ProgramTitle", "Version", Modules.UI, args);

So when compiling this default generated program by MonoDevelop we get errors like the these:
(<unknown>:20059): Gnome-CRITICAL **: gnome_program_locate_file: assertion `program != NULL' failed
(<unknown>:20059): Gnome-CRITICAL **: gnome_program_get_app_id: assertion `program != NULL' failed

Revision history for this message
Sebastian Dröge (slomo) wrote :

I can confirm this bug... and will forward this upstream later :)
thanks for reporting

Changed in monodevelop:
assignee: nobody → slomo
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

But I don't get the critical warnings when running.

Revision history for this message
Sebastian Dröge (slomo) wrote :

should be fixed with 0.10-0pre1ubuntu4 which was uploaded some seconds ago

Changed in monodevelop:
status: Confirmed → Fix Released
Revision history for this message
Loe Spee (lgespee) wrote :

Great work!
I am looking forward to the update.

Changed in monodevelop:
status: Unknown → Fix Released
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.