Bug#320601: [Pkg-xfce-devel] Bug#320601: Debian menu is not visible in Finnish locale
Hi Antti-Juhani,
On Mon, Aug 01, 2005 at 10:08:50AM -0500, Rudy Godoy wrote:
> El d?a 31/07/2005 a 06:38 Simon Huggins escribio ...
> > On Sat, Jul 30, 2005 at 06:08:27PM +0300, Antti-Juhani Kaijanaho wrote:
> > > I just purged everything xfce4-related and reinstalled, to make sure
> > > there wasn't any old configuration of mine affecting this...
> > Did you remove .config too? Otherwise you might still have a user level
> > menu.
> I've confirmed this behaviour in two machines. I'm using locale
> es_PE.UTF-8.
Essentially it's because:
- the menu system has to work if menu isn't installed
- in different locales xfdesktop uses menu.xml.locale instead of
menu.xml
- our menu-method only updates menu.xml since this is what will
be read if it's run as a user.
I think we've covered all the cases *except* the one you've found. i.e.
if you run update-menus as a user it'll work fine.
I suppose we need the menu method to:
- test if the current locale has a corresponding menu.xml.blah
file
- if not just do as it does now, otherwise add a menudefs.hook
line into it.
Obviously being a config file you can fix it by editing menu.xml.fi (or
es Rudy) to include menudefs.hook.
I need to think about this a bit more. Automatically editing config
files is evil really.
--
Simon [ huggie@earth.li ] *\ '<blitz> huggie: je sais je suis \**
****** ]-+-+-+-+-+-+-+-+-[ **\ nulle...mais je suis tr?s tetue \*
****** [ Htag.pl 0.0.22 ] ***\ alors ?a compense :)' #parinux \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20050801/1a6b9fd1/attachment-0001.pgp
Reply to: