Backport a patch to hide nm-connection-editor launcher in GNOME

This commit is contained in:
Kalev Lember 2014-09-03 21:12:07 +02:00
parent b7a5343296
commit c4fdf055bc
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 00d1e2bcee72857c093a6588f7bceac3b8397809 Mon Sep 17 00:00:00 2001
From: Elad Alfassa <elad@fedoraproject.org>
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

View File

@ -12,7 +12,7 @@
Name: network-manager-applet Name: network-manager-applet
Summary: A network control and status applet for NetworkManager Summary: A network control and status applet for NetworkManager
Version: 0.9.9.0 Version: 0.9.9.0
Release: 14%{snapshot}%{?dist} Release: 15%{snapshot}%{?dist}
Group: Applications/System Group: Applications/System
License: GPLv2+ License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/ 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 Patch0: nm-applet-no-notifications.patch
Patch1: nm-applet-wifi-dialog-ui-fixes.patch Patch1: nm-applet-wifi-dialog-ui-fixes.patch
Patch2: applet-ignore-deprecated.patch Patch2: applet-ignore-deprecated.patch
Patch3: 0001-connection-editor-Don-t-show-launcher-in-GNOME.patch
Requires: NetworkManager >= %{nm_version} Requires: NetworkManager >= %{nm_version}
Requires: NetworkManager-glib >= %{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 %patch0 -p1 -b .no-notifications
%patch1 -p1 -b .applet-wifi-ui %patch1 -p1 -b .applet-wifi-ui
%patch2 -p1 -b .no-deprecated %patch2 -p1 -b .no-deprecated
%patch3 -p1 -b .onlyshowin
%build %build
autoreconf -i -f 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 %{_datadir}/gir-1.0/NMGtk-1.0.gir
%changelog %changelog
* Wed Sep 03 2014 Kalev Lember <kalevlember@gmail.com> - 0.9.9.0-15.git20140424
- Backport a patch to hide nm-connection-editor launcher in GNOME
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9.0-14.git20140424 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9.0-14.git20140424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild