[Gtk-sharp-list] Gtk.Toolbar.InsertStock() : Help Needed

Fredrik Nilsson jymdman@home.se
Fri, 23 Jul 2004 15:06:56 +0200


On fre, 2004-07-23 at 11:31 +0100, Alain Perry wrote:
> > 	Image image = new Image (Stock.Open, IconSize.SmallToolbar);
> > 	toolbar.AppendItem ("Open", "open", "open", image, new SignalFunc
> > (open_callback));
> 
> Don't we lose the stock items localisation by doing this ?
> If we do, isn't there any other way which would allow to take advantage
> of the localisation already done for stock items by the GTK+ translators
> team ?
> 

Hi,

Yeah, you are right....
Maybe InsertStock is the method to use with Gtk# 1.0 even if it's
deprecated, works as expected for me with gtk+ 2.4.4 installed.

/Fredrik