From c4fdf055bcbe8e469f86ef530b17d47f5217cb9a Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 3 Sep 2014 21:12:07 +0200 Subject: [PATCH] Backport a patch to hide nm-connection-editor launcher in GNOME --- ...-editor-Don-t-show-launcher-in-GNOME.patch | 27 +++++++++++++++++++ network-manager-applet.spec | 7 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0001-connection-editor-Don-t-show-launcher-in-GNOME.patch diff --git a/0001-connection-editor-Don-t-show-launcher-in-GNOME.patch b/0001-connection-editor-Don-t-show-launcher-in-GNOME.patch new file mode 100644 index 0000000..e26fc7b --- /dev/null +++ b/0001-connection-editor-Don-t-show-launcher-in-GNOME.patch @@ -0,0 +1,27 @@ +From 00d1e2bcee72857c093a6588f7bceac3b8397809 Mon Sep 17 00:00:00 2001 +From: Elad Alfassa +Date: Thu, 21 Aug 2014 21:32:21 +0300 +Subject: [PATCH] connection-editor: Don't show launcher in GNOME + +As discussed with aday, control-center will spawn nm-connection-editor when +needed, and therefor we really don't need the launcher shown, +it clutters the Application list. + +https://bugzilla.gnome.org/show_bug.cgi?id=682456 +--- + nm-connection-editor.desktop.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nm-connection-editor.desktop.in b/nm-connection-editor.desktop.in +index 55239d0..4eefa8a 100644 +--- a/nm-connection-editor.desktop.in ++++ b/nm-connection-editor.desktop.in +@@ -10,4 +10,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME + X-GNOME-Bugzilla-Product=NetworkManager + X-GNOME-Bugzilla-Component=nm-connection-editor + Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings; +-NotShowIn=KDE; ++NotShowIn=KDE;GNOME; +-- +2.1.0 + diff --git a/network-manager-applet.spec b/network-manager-applet.spec index 8ccf4b9..ed5fccb 100644 --- a/network-manager-applet.spec +++ b/network-manager-applet.spec @@ -12,7 +12,7 @@ Name: network-manager-applet Summary: A network control and status applet for NetworkManager Version: 0.9.9.0 -Release: 14%{snapshot}%{?dist} +Release: 15%{snapshot}%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ @@ -22,6 +22,7 @@ Source: http://ftp.gnome.org/pub/GNOME/sources/network-manager-applet/0.9/%{name Patch0: nm-applet-no-notifications.patch Patch1: nm-applet-wifi-dialog-ui-fixes.patch Patch2: applet-ignore-deprecated.patch +Patch3: 0001-connection-editor-Don-t-show-launcher-in-GNOME.patch Requires: NetworkManager >= %{nm_version} Requires: NetworkManager-glib >= %{nm_version} @@ -100,6 +101,7 @@ nm-applet, nm-connection-editor, and the GNOME control center. %patch0 -p1 -b .no-notifications %patch1 -p1 -b .applet-wifi-ui %patch2 -p1 -b .no-deprecated +%patch3 -p1 -b .onlyshowin %build autoreconf -i -f @@ -213,6 +215,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %{_datadir}/gir-1.0/NMGtk-1.0.gir %changelog +* Wed Sep 03 2014 Kalev Lember - 0.9.9.0-15.git20140424 +- Backport a patch to hide nm-connection-editor launcher in GNOME + * Sun Aug 17 2014 Fedora Release Engineering - 0.9.9.0-14.git20140424 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild