From de385a9372e744d874b84d140b3110141ceb3b5a Mon Sep 17 00:00:00 2001 From: Walter Lapchynski Date: Sat, 22 Sep 2018 14:51:09 -0500 Subject: [PATCH] Blacklist from menus. Summary: {D8} was an attempt to do the same thing by creating a whole menu with an explicit blacklist. While this should have worked, it didn't. While it doesn't seem to have adverse effects, it could. Therefore, a more functional and simple solution and one that other non-Lubuntu users could benefit from is not showing it ever. Here we edit the .desktop file to get that resolved. Test Plan: Make sure nm-tray is not in the menu. Reviewers: tsimonq2 Reviewed By: tsimonq2 Differential Revision: https://phab.lubuntu.me/D14 --- debian/changelog | 6 ++++++ debian/patches/blacklist-from-menu.patch | 9 +++++++++ debian/patches/series | 1 + 3 files changed, 16 insertions(+) create mode 100644 debian/patches/blacklist-from-menu.patch diff --git a/debian/changelog b/debian/changelog index 7db3671..6f08b25 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +nm-tray (0.4.0-0ubuntu3) cosmic; urgency=medium + + * Blacklist from menus. + + -- Walter Lapchynski Tue, 18 Sep 2018 23:15:13 -0700 + nm-tray (0.4.0-0ubuntu2) cosmic; urgency=medium [ Simon Quigley ] diff --git a/debian/patches/blacklist-from-menu.patch b/debian/patches/blacklist-from-menu.patch new file mode 100644 index 0000000..cb7c14d --- /dev/null +++ b/debian/patches/blacklist-from-menu.patch @@ -0,0 +1,9 @@ +Description: Blacklist from menus. +Author: Walter Lapchynski +--- a/resources/nm-tray.desktop ++++ b/resources/nm-tray.desktop +@@ -6,3 +6,4 @@ Icon=network-transmit + TryExec=nm-tray + Exec=nm-tray + Categories=System;Monitor;Qt; ++NoDisplay=true diff --git a/debian/patches/series b/debian/patches/series index a00b3b2..e5ed2e1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ fix-internal-version.patch +blacklist-from-menu.patch generalize-terminal-for-edits.patch