[MonoDevelop] Monodevelop 2.0: Stock Icons and Gtk.IconFactory issue
Aniello Di Nardo
dinardo at creasoftware.net
Sat Dec 5 09:09:08 EST 2009
I've "Monodevlop 2.2 beta1" on Win32 and "Monodevelop 2.0" on Ubuntu.
After added images file into Stock Icons, when build and run the application
receive the follow message:
GLib.GException: Failed to open file
'/MonoDev/TestApp/bin/Debug/./bin/Debug/resources/exit22.png': No such file
or directory
infact, into the "generated.cs" file there are the follow rows code:
...
Gtk.IconFactory w1 = new Gtk.IconFactory();
Gtk.IconSet w2 = new Gtk.IconSet(new
Gdk.Pixbuf(System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory,
"./bin/Debug/resources/exit22.png")));
w1.Add("Exit", w2);
...
If I manually edit the file path to "resources/exit22.png" the application
run normally, but if I edit again the Stock Icons window the problem return.
Please... can I Fix this issue?
--
View this message in context: http://old.nabble.com/Monodevelop-2.0%3A-Stock-Icons-and-Gtk.IconFactory-issue-tp26655949p26655949.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20091205/36f078eb/attachment.html
More information about the Monodevelop-list
mailing list