GNOME Bugzilla – Bug 305748
.directory file causes weird errors
Last modified: 2005-06-28 08:59:21 UTC
Distribution/Version: Ubuntu 1. Create the file ~/.local/share/desktop-directories/.directory 2. Put this in it: [Desktop Entry] Name=Foo Type=Directory At best this causes the System->Preferences menu to use this info and at worst makes it so all of your menus come up blank. This file should be either completely ignored or only used where a menu references it with <Directory>.directory</Directory> (they'd have to be nuts, but hey).
Should be fixed on HEAD and gnome-2-10 now: 2005-06-28 Mark McLoughlin <mark@skynet.ie> Fix for bug #305748 - only include ".directory" in a <LegacyDir> if it actually exists. * libmenu/gmenu-tree.c: (is_dot_directory), (add_menu_for_legacy_dir): only add a <Directory>.directory</Directory> if the file exists. (process_layout): expand debug spew.