[MonoDevelop] MD Eats Up Toolbar Buttons

Jacek Rużyczka stacheldraht at interia.pl
Wed Jun 9 11:49:49 EDT 2010


Hi folks,

another strange issue I've just encountered with MD 2.4 beta 1: In my Gtk# 
app, I keep a toolbar with a handful of buttons as well as a menu bar. I 
changed the accelerators of one of the menu items (NOT of the tollbar 
buttons), everything compiles well...but when I run the app, some of the 
toolbar buttons simply do not appear! The MD GUI designer, however, does 
display them.

I then deleted the "phantom" buttons from the toolbar and added them for a 
second time...but the result is the same. The GUI designer displays them, but 
in the app, they do not appear. This Visible property of all the buttons, BTW, 
is set to TRUE. 

I then looked into the C# file generated by the designer...to find out that 
the buttons in question do not appear there as Gtk.Action variables! In the 
this.UIManager.AddUiFromString() method call args, however, they do appear.

What's the problem here? Thank you for any useful hints.

Kind regards
Jacek Rużyczka

----------------------------------------------------------------------
Twoja farma na Dzikim Zachodzie!
Zagraj >>> http://linkint.pl/f2714



More information about the Monodevelop-list mailing list