[gnome-build-meta/alatiera/remove-desktop-files: 2/3] vm: hide unwanted .desktop files from the launcher
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/remove-desktop-files: 2/3] vm: hide unwanted .desktop files from the launcher
- Date: Tue, 24 Sep 2019 17:32:01 +0000 (UTC)
commit aa929b024bcad66f8ebebf3de72d36340650f7a5
Author: Jordan Petridis <jpetridis gnome org>
Date: Sun Sep 22 08:59:04 2019 +0300
vm: hide unwanted .desktop files from the launcher
elements/core-deps/avahi.bst | 6 ++++++
elements/sdk/fcitx.bst | 7 +++++++
elements/sdk/ibus.bst | 4 ++++
3 files changed, 17 insertions(+)
---
diff --git a/elements/core-deps/avahi.bst b/elements/core-deps/avahi.bst
index d7f744bf..dd19558b 100644
--- a/elements/core-deps/avahi.bst
+++ b/elements/core-deps/avahi.bst
@@ -20,3 +20,9 @@ variables:
--disable-gtk
--disable-python
--disable-mono
+
+config:
+ install-commands:
+ (>):
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/bvnc.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/bssh.desktop"
diff --git a/elements/sdk/fcitx.bst b/elements/sdk/fcitx.bst
index 9b257a9c..cec28e28 100644
--- a/elements/sdk/fcitx.bst
+++ b/elements/sdk/fcitx.bst
@@ -38,3 +38,10 @@ public:
- "%{libdir}/libfcitx-gclient.so"
- "%{libdir}/libfcitx-config.so"
- "%{libdir}/libfcitx-utils.so"
+
+config:
+ install-commands:
+ (>):
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx-skin-installer.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx-configtool.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx.desktop"
diff --git a/elements/sdk/ibus.bst b/elements/sdk/ibus.bst
index ecb04cdc..2eb989b6 100644
--- a/elements/sdk/ibus.bst
+++ b/elements/sdk/ibus.bst
@@ -42,3 +42,7 @@ variables:
--enable-wayland
--enable-introspection
+config:
+ install-commands:
+ (>):
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/org.freedesktop.IBus.Setup.desktop"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]