Re: Stock items - first version of a patch



Michael Meeks <michael ximian com> writes:

>         etc. I don't know if GtkStock has included accelerators in the    
> label texts for menu items ? - if so we need some way to get rid of them  
> for the toolbars ... Hmm.

Don't worry, it already does the right thing [1] :-)

>         Also, we need to remove bonobo_ui_util_encode_str etc. since
> libxml2 should be able to cope with what we want to pass across, and all 
> translators will need to switch to UTF-8 anyway in Gnome 2.0, this is a  
> good way to find out if they actualy have [ I suspect not ].  
> 
>         We should stub the ui_util_encode/decod_str as a plain g_strdup ()
> I think, for backwards compat.

Good idea.

[1] GtkStock contains the label (without accelerator) and the accelerator
    and the Bonobo UI code creates the label text with the accelerator out
    of it.

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]