Bug#314922: [Pkg-xfce-devel] Bug#314922: xfdesktop4: update-menus overwrites $HOME/.config/xfce4/desktop/menu.xml
Vincent Pelletier <email@example.com>, firstname.lastname@example.org
Sat, 25 Jun 2005 18:00:30 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Simon Huggins wrote:
> Right, but if you have to explicitly run this so I don't think this is a
> bug. Anyone running a command called update-menus and expecting nothing
> to happen is a bit broken in my opinion :)
The problem is about what is supposed to be updated. To me, there's
nothing wrong of course with updating menudefs.hook, but I don't like
the idea of overwriting users' menu.xml with the system default each
time they run update-menus. If they want to use the system default, it
would be quicker to rm those files.
> I suppose we could rename the old menu if it exists perhaps.
Good idea, it would prevent from loosing data.
> Will mean that running it as root never works too as the menudefs.hook
> will be generated but the menu.xml won't be overwritten.
The idea about the w flag is to make the file rw by default, and when
the user sets -w on it it won't update any more.
> Yeah I'm not convinced by it. I think I'll tag this wontfix for now.
No problem. Maybe it should be discussed with update-menus system authors.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-----END PGP SIGNATURE-----