From 6839b8fa8f4d6003c3a0d0a013371d3d12bd65a6 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Thu, 3 Feb 2005 21:36:05 +0000 Subject: What to do with entries that have been included in a menu that is deleted --- menu/tests/tests/n/result | 4 ++++ menu/tests/tests/n/test | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 menu/tests/tests/n/result create mode 100644 menu/tests/tests/n/test (limited to 'menu/tests') diff --git a/menu/tests/tests/n/result b/menu/tests/tests/n/result new file mode 100644 index 0000000..82b7efb --- /dev/null +++ b/menu/tests/tests/n/result @@ -0,0 +1,4 @@ +Other/ kwrite.desktop /tmp/menutestdir/xdg_data_dir/applications/kwrite.desktop +Other/ freecell.desktop /tmp/menutestdir/xdg_data_dir/applications/freecell.desktop +Other/ KEdit.desktop /tmp/menutestdir/xdg_data_dir/applications/KEdit.desktop +Other/ kate.desktop /tmp/menutestdir/xdg_data_dir/applications/kate.desktop diff --git a/menu/tests/tests/n/test b/menu/tests/tests/n/test new file mode 100644 index 0000000..18fa630 --- /dev/null +++ b/menu/tests/tests/n/test @@ -0,0 +1,36 @@ +echo ">>> Allocation of desktop entry values from deleted menus" + +# Generate applications.menu +mkdir -p ${XDG_CONFIG_DIR}/menus +./expand > ${XDG_CONFIG_DIR}/menus/applications.menu < + + + KDE + + + + + + Shouldn't see this + apps.directory + + TextEditor + + + + + + Other + + + + + + +EOF + +# Install .desktop files +installData ${XDG_DATA_DIR}/applications kwrite.desktop KEdit.desktop kate.desktop freecell.desktop hidden.desktop +installData ${XDG_DATA_DIR}/desktop-directories apps.directory -- cgit v1.2.3-70-g09d2