net-misc/wicd: Add X-cat to .desktop for GNOME derivs "System" menus
authorMatija Skala <mskala@gmx.com>
Sat, 6 May 2017 10:44:29 +0000 (12:44 +0200)
committerNP-Hardass <NP-Hardass@gentoo.org>
Sun, 7 May 2017 20:45:17 +0000 (16:45 -0400)
mate-1.12 shows Wicd inside of the 'Other' subcategory of the 'System'
menu instead of the 'Internet and Network' category.
Adding 'X-GNOME-NetworkSettings' or 'X-MATE-NetworkSettings' fixes this.
nm-applet uses 'X-GNOME-NetworkSettings'

net-misc/wicd/files/wicd-1.7.2.4-fix-desktop-categories.patch

index d2b856236606f155eda672138bbc8f923da98f63..0ccbd7833b23d93e0344bfbf55cbadf00ed999e6 100644 (file)
@@ -4,7 +4,7 @@ diff -U 3 -dHrN wicd-1.7.2.4.orig/other/wicd.desktop wicd-1.7.2.4/other/wicd.des
 @@ -1,5 +1,5 @@
  [Desktop Entry]
 -Categories=Application;Network;
-+Categories=Network;Settings;Utility;
++Categories=Network;Settings;Utility;X-GNOME-NetworkSettings;
  Exec=wicd-gtk --no-tray
  GenericName=Network Manager
  Icon=wicd-gtk
@@ -14,7 +14,7 @@ diff -U 3 -dHrN wicd-1.7.2.4.orig/other/wicd-tray.desktop wicd-1.7.2.4/other/wic
 @@ -1,5 +1,5 @@
  [Desktop Entry]
 -Categories=Application;Network;
-+Categories=Network;Settings;Utility;
++Categories=Network;Settings;Utility;X-GNOME-NetworkSettings;
  Exec=wicd-gtk --tray
  GenericName=Network Manager
  Icon=wicd-gtk