[cinnamon] add custom nm-applet file as the stock one is set to NotShowIn Gnome

leigh123linux leigh123linux at fedoraproject.org
Thu Oct 17 21:16:48 UTC 2013


commit c34d9c5cdd6a6a89f746440a868cbe440c6a32ad
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Thu Oct 17 22:16:42 2013 +0100

    add custom nm-applet file as the stock one is set to NotShowIn Gnome

 autostart_nemo.patch       |    4 +-
 cinnamon-nm-applet.desktop |  140 ++++++++++++++++++++++++++++++++++++++++++++
 cinnamon.spec              |    9 +++-
 3 files changed, 150 insertions(+), 3 deletions(-)
---
diff --git a/autostart_nemo.patch b/autostart_nemo.patch
index 9949612..c629b73 100644
--- a/autostart_nemo.patch
+++ b/autostart_nemo.patch
@@ -4,7 +4,7 @@
  [Cinnamon Session]
  Name=Cinnamon
 -RequiredComponents=cinnamon;cinnamon-settings-daemon;
-+RequiredComponents=cinnamon;cinnamon-settings-daemon;nemo-autostart;nm-applet;
++RequiredComponents=cinnamon;cinnamon-settings-daemon;nemo-autostart;cinnamon-nm-applet;
  DesktopName=GNOME
  
 --- a/files/usr/share/cinnamon-session/sessions/cinnamon2d.session
@@ -13,6 +13,6 @@
  [Cinnamon Session]
  Name=Cinnamon (Software Rendering)
 -RequiredComponents=cinnamon2d;cinnamon-settings-daemon;
-+RequiredComponents=cinnamon2d;cinnamon-settings-daemon;nemo-autostart;nm-applet;
++RequiredComponents=cinnamon2d;cinnamon-settings-daemon;nemo-autostart;cinnamon-nm-applet;
  DesktopName=GNOME
  
diff --git a/cinnamon-nm-applet.desktop b/cinnamon-nm-applet.desktop
new file mode 100644
index 0000000..5f081ca
--- /dev/null
+++ b/cinnamon-nm-applet.desktop
@@ -0,0 +1,140 @@
+[Desktop Entry]
+Name=Network
+Name[af]=Netwerk
+Name[an]=Rete
+Name[ar]=شبكة
+Name[as]=নেটৱাৰ্ক
+Name[ast]=Rede
+Name[be]=Сетка
+Name[bg]=Мрежа
+Name[ca]=Xarxa
+Name[ca at valencia]=Xarxa
+Name[crh]=Şebeke
+Name[cs]=Síť
+Name[da]=Netværk
+Name[de]=Netzwerk
+Name[el]=Δίκτυο
+Name[en_GB]=Network
+Name[eo]=Reto
+Name[es]=Red
+Name[et]=Võrk
+Name[eu]=Sarea
+Name[fa]=شبکه
+Name[fi]=Verkko
+Name[fr]=Réseau
+Name[gl]=Red
+Name[gu]=નેટવર્ક
+Name[he]=רשת
+Name[hi]=संजाल
+Name[hu]=Hálózat
+Name[id]=Jaringan
+Name[it]=Rete
+Name[ja]=ネットワーク
+Name[kk]=Желі
+Name[km]=បណ្ដាញ
+Name[ko]=네트워크
+Name[ku]=Tor
+Name[lt]=Tinklas
+Name[lv]=Tīkls
+Name[mk]=Мрежа
+Name[ml]=ശൃംഖല
+Name[mr]=नेटवर्क
+Name[ms]=Rangkaian
+Name[nb]=Nettverk
+Name[nl]=Netwerk
+Name[nn]=Nettverk
+Name[pa]=ਨੈੱਟਵਰਕ
+Name[pl]=Sieć
+Name[pt]=Rede
+Name[pt_BR]=Rede
+Name[ru]=Сеть
+Name[sk]=Sieť
+Name[sl]=Omrežje
+Name[sr]=Мрежа
+Name[sr at latin]=Mreža
+Name[sv]=Nätverk
+Name[ta]=பிணையம்
+Name[te]=నెట్‌వర్క్
+Name[tg]=Шабака
+Name[th]=เครือข่าย
+Name[tr]=Ağ
+Name[ug]=تور
+Name[uk]=Мережа
+Name[vi]=Mạng
+Name[zh_CN]=网络
+Name[zh_HK]=網絡
+Name[zh_TW]=網路
+Comment=Manage your network connections
+Comment[af]=Bestuur u netwerkverbindings
+Comment[an]=Chestione as suyas conexions de rete
+Comment[ar]=إدارة اتصالات الشبكة
+Comment[as]=আপোনাৰ নেটৱাৰ্ক সংযোগসমূহ ব্যৱস্থাপনা কৰক
+Comment[ast]=Remana les conexones de rede
+Comment[be]=Кіраванне сеткавымі злучэннямі
+Comment[bg]=Управление на мрежовите връзки
+Comment[ca]=Gestioneu les connexions de xarxa
+Comment[ca at valencia]=Gestioneu les connexions de xarxa
+Comment[crh]=Şebeke bağlantılarıñıznı idare etiñiz
+Comment[cs]=Spravovat svá připojení k síti
+Comment[da]=Håndter dine netværksforbindelser
+Comment[de]=Verwaltung der Netzwerkverbindungen
+Comment[el]=Διαχείριση των συνδέσεων δικτύου
+Comment[en_GB]=Manage your network connections
+Comment[eo]=Kontroli viajn retkonektojn
+Comment[es]=Gestione sus conexiones de red
+Comment[et]=Võrguühenduste haldamine
+Comment[eu]=Kudeatu sareko konexioak
+Comment[fa]=اتصال‌های شبکه خود را مدیریت کنید
+Comment[fi]=Hallitse verkkoyhteyksiä
+Comment[fr]=Gérer vos connexions réseau
+Comment[gl]=Xestione as súas conexións de rede
+Comment[gu]=તમારા નેટવર્ક જોડાણોને સંચાલિત કરો
+Comment[he]=ניהול חיבורי הרשת שלך
+Comment[hi]=अपना संजाल कनेक्शन नियंत्रित करें
+Comment[hu]=Hálózati kapcsolatok kezelése
+Comment[id]=Mengelola koneksi jaringan Anda
+Comment[it]=Gestisce le connessioni di rete
+Comment[ja]=ネットワーク接続を管理
+Comment[kk]=Желілік байланыстарыңызды басқару
+Comment[km]=គ្រប់គ្រង​ការ​តភ្ជាប់បណ្ដាញ​របស់​អ្នក
+Comment[ko]=네트워크 연결을 관리합니다
+Comment[ku]=Girêdanên torê yên xwe birêve bike
+Comment[lt]=Tvarkyti tinklo ryšius
+Comment[lv]=Pārvaldiet savus tīkla savienojumus
+Comment[mk]=Менаџирајте со Вашите мрежни врски
+Comment[ml]=നിങ്ങളുടെ ശൃംഖല ബന്ധങ്ങള്‍ കൈകാര്യം ചെയ്യുക
+Comment[mr]=नेटवर्क जोडणी नियंत्रीत करा
+Comment[ms]=Urus sambungan-sambungan rangkaian anda
+Comment[nb]=Håndter dine nettverksforbindelser
+Comment[nl]=Uw netwerkverbindingen beheren
+Comment[nn]=Handsam nettverkstilkoplingane
+Comment[pa]=ਆਪਣੇ ਨੈੱਟਵਰਕ ਕੁਨੈਕਸ਼ਨਾਂ ਦਾ ਪਰਬੰਧ ਕਰੋ
+Comment[pl]=Zarządzanie połączeniami sieciowymi
+Comment[pt]=Controle as suas ligações de rede
+Comment[pt_BR]=Controle suas conexões de rede
+Comment[ru]=Управление сетевыми соединениями
+Comment[sk]=Spravuje vaše sieťové pripojenia
+Comment[sl]=Upravljanje omrežnih povezav
+Comment[sr]=Управљајте вашим везама мреже
+Comment[sr at latin]=Upravljajte vašim vezama mreže
+Comment[sv]=Hantera dina nätverksanslutningar
+Comment[ta]=உங்களது பிணையத்தின் இணைப்புகளை மேலாண்மை செய்க
+Comment[te]=మీ నెట్వర్కు అనుసంధానములను నిర్వహించు
+Comment[th]=จัดการการเชื่อมต่อเครือข่ายของคุณ
+Comment[tr]=Ağ bağlantılarınızı yönetin
+Comment[ug]=تور باغلىنىشلىرىڭىزنى باشقۇرۇڭ
+Comment[uk]=Організуйте ваші мережеві з'єднання
+Comment[vi]=Quản lý kết nối mạng
+Comment[zh_CN]=管理网络连接
+Comment[zh_HK]=管理您的網絡連線
+Comment[zh_TW]=管理您的網路連線
+Icon=nm-device-wireless
+Exec=nm-applet
+Terminal=false
+Type=Application
+NoDisplay=true
+NotShowIn=KDE;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=NetworkManager
+X-GNOME-Bugzilla-Component=nm-applet
+X-GNOME-UsesNotifications=true
diff --git a/cinnamon.spec b/cinnamon.spec
index b67902d..b6175b9 100644
--- a/cinnamon.spec
+++ b/cinnamon.spec
@@ -2,7 +2,7 @@
 
 Name:           cinnamon
 Version:        2.0.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Window management and application launching for GNOME
 License:        GPLv2+ and LGPLv2+
 URL:            http://cinnamon.linuxmint.com 
@@ -14,6 +14,7 @@ URL:            http://cinnamon.linuxmint.com
 Source0:        http://leigh123linux.fedorapeople.org/pub/%{name}/source/Cinnamon-%{version}.tar.gz
 Source1:        cinnamon-fedora.gschema.override
 Source2:        org.cinnamon.settings-users.policy
+Source3:        cinnamon-nm-applet.desktop
 
 Patch0:         background.patch
 Patch1:         autostart_nemo.patch
@@ -193,6 +194,9 @@ install -m 0755 -d $RPM_BUILD_ROOT/%{_datadir}/cinnamon/locale/
 install -m 0755 -d $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/
 install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/polkit-1/actions/
 
+# install custom nm-applet desktop file
+install -D -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/%{_datadir}/applications/
+
 
 %postun
 if [ $1 -eq 0 ] ; then
@@ -221,6 +225,9 @@ fi
 %{_mandir}/man1/*
 
 %changelog
+* Thu Oct 17 2013 Leigh Scott <leigh123linux at googlemail.com> - 2.0.2-3
+- add custom nm-applet file as the stock one is set to NotShowIn Gnome
+
 * Thu Oct 10 2013 Leigh Scott <leigh123linux at googlemail.com> - 2.0.2-2
 - add policy file for "users and groups" setting
 - add nm-applet to required components


More information about the scm-commits mailing list