Bug#314922: [Pkg-xfce-devel] Bug#314922: xfdesktop4: update-menus overwrites $HOME/.config/xfce4/desktop/menu.xml
Simon Huggins
314922@bugs.debian.org, 314922@bugs.debian.org
Sun, 19 Jun 2005 23:48:32 +0100
On Sun, Jun 19, 2005 at 02:25:16PM +0200, Vincent Pelletier wrote:
> /etc/menu-methods/xfdesktop, line 17 :
> postrun="cp /etc/xdg/xfce4/desktop/system.menu.xml " prefix()
> "/menu.xml"
> I think this line shouldn't be there, because it overwrites without
> asking menu.xml, thus loosing any user modification, if any.
This is by design - if you run update-menus (or if we run it for you)
then it'll overwrite the menu.
You can run update-menus as the user and it will overwrite your user
menu. This is sensible. Why would you run it if you didn't want it
updated?
> I don't know though what would happen when a users starts xfce4 without
> that file...
> Maybe this would fix the problem (tested) :
> postrun="test -e " prefix() "/menu.xml || cp /etc/xdg/xfce4/desktop/system.menu.xml " prefix()
> "/menu.xml"
Then update-menus would never do anything though...
I don't think this is a bug but feel free to discuss it with us.
Simon.
--
oOoOo Do earwigs make chutney? Do spiders make gravy? oOoOo
oOoOo oOoOo
oOoOo oOoOo
htag.pl 0.0.22 ::::::: http://www.earth.li/~huggie/