From d4b0a4bee3fcfaef58e0c70cbe0ce1468a898f6f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 27 Sep 2013 16:41:16 +0000 Subject: [PATCH] pcmanfm: hide the desktop preferences Sato doesn't use the pcmanfm desktop, so hide the desktop preferences launcher. (From OE-Core rev: 778ef56c4b5c0d450a9b2e1df2b3e963dcfebed9) Signed-off-by: Ross Burton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-sato/pcmanfm/files/no-desktop.patch | 15 +++++++++++++++ meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-sato/pcmanfm/files/no-desktop.patch diff --git a/meta/recipes-sato/pcmanfm/files/no-desktop.patch b/meta/recipes-sato/pcmanfm/files/no-desktop.patch new file mode 100644 index 0000000000..cb4cae0805 --- /dev/null +++ b/meta/recipes-sato/pcmanfm/files/no-desktop.patch @@ -0,0 +1,15 @@ +Disable the desktop preferences launcher as we don't use the pcmanfm desktop in +Sato. + +Upstream-Status: Inappropriate +Signed-off-by: Ross Burton + +diff --git a/data/pcmanfm-desktop-pref.desktop b/data/pcmanfm-desktop-pref.desktop +index ccf8abb..3f6fc1c 100644 +--- a/data/pcmanfm-desktop-pref.desktop ++++ b/data/pcmanfm-desktop-pref.desktop +@@ -97,3 +97,4 @@ Exec=pcmanfm --desktop-pref + StartupNotify=true + Terminal=false + NotShowIn=GNOME;XFCE;KDE; ++NoDisplay=true diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb index bcfc9db08b..9a038fe79c 100644 --- a/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb +++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb @@ -20,7 +20,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \ file://gnome-fs-regular.png \ file://gnome-mime-text-plain.png \ file://emblem-symbolic-link.png \ - file://cross-compile-fix.patch" + file://cross-compile-fix.patch \ + file://no-desktop.patch" SRC_URI[md5sum] = "af0cff78690e658f3c06ceabf27bc71a" SRC_URI[sha256sum] = "1f6301f330ad648f3322708ec6c0f680a8695a9453932fe19653bab6731e5582"