File fix_desktop_categories.patch of Package lxqt-session

Index: lxqt-session-0.9.0/lxqt-config-session/lxqt-config-session.desktop.in
===================================================================
--- lxqt-session-0.9.0.orig/lxqt-config-session/lxqt-config-session.desktop.in
+++ lxqt-session-0.9.0/lxqt-config-session/lxqt-config-session.desktop.in
@@ -5,7 +5,7 @@ GenericName=LXQt Session Settings
 Comment=Configuration for LXQt sessions
 Exec=lxqt-config-session
 Icon=preferences-system-session-services
-Categories=Settings;DesktopSettings;Qt;LXQt;
-OnlyShowIn=LXQt;
+Categories=Settings;DesktopSettings;Qt;X-LXQt;
+OnlyShowIn=X-LXQt;
 
 #TRANSLATIONS_DIR=translations
Index: lxqt-session-0.9.0/lxqtleave/resources/lxqt-hibernate.desktop.in
===================================================================
--- lxqt-session-0.9.0.orig/lxqtleave/resources/lxqt-hibernate.desktop.in
+++ lxqt-session-0.9.0/lxqtleave/resources/lxqt-hibernate.desktop.in
@@ -5,7 +5,7 @@ GenericName=Hibernate
 Comment=hibernate the machine
 Exec=lxqt-leave --hibernate
 Icon=system-suspend-hibernate
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
+Categories=X-LXQt;X-Leave;
+OnlyShowIn=X-LXQt;
 
 #TRANSLATIONS_DIR=../translations
Index: lxqt-session-0.9.0/lxqtleave/resources/lxqt-lockscreen.desktop.in
===================================================================
--- lxqt-session-0.9.0.orig/lxqtleave/resources/lxqt-lockscreen.desktop.in
+++ lxqt-session-0.9.0/lxqtleave/resources/lxqt-lockscreen.desktop.in
@@ -5,7 +5,7 @@ GenericName=Lock Screen
 Comment=Lock the current session
 Exec=lxqt-leave --lockscreen
 Icon=system-lock-screen
-Categories=LXQt;Screensaver
-OnlyShowIn=LXQt;
+Categories=X-LXQt;Screensaver;
+OnlyShowIn=X-LXQt;
 
 #TRANSLATIONS_DIR=../translations
Index: lxqt-session-0.9.0/lxqtleave/resources/lxqt-logout.desktop.in
===================================================================
--- lxqt-session-0.9.0.orig/lxqtleave/resources/lxqt-logout.desktop.in
+++ lxqt-session-0.9.0/lxqtleave/resources/lxqt-logout.desktop.in
@@ -5,7 +5,7 @@ GenericName=Logout
 Comment=Logout from the current session
 Exec=lxqt-leave --logout
 Icon=system-log-out
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
+Categories=X-LXQt;X-Leave;
+OnlyShowIn=X-LXQt;
 
 #TRANSLATIONS_DIR=../translations
Index: lxqt-session-0.9.0/lxqtleave/resources/lxqt-reboot.desktop.in
===================================================================
--- lxqt-session-0.9.0.orig/lxqtleave/resources/lxqt-reboot.desktop.in
+++ lxqt-session-0.9.0/lxqtleave/resources/lxqt-reboot.desktop.in
@@ -5,7 +5,7 @@ GenericName=Reboot
 Comment=reboot the machine
 Exec=lxqt-leave --reboot
 Icon=system-reboot
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
+Categories=X-LXQt;X-Leave;
+OnlyShowIn=X-LXQt;
 
 #TRANSLATIONS_DIR=../translations
Index: lxqt-session-0.9.0/lxqtleave/resources/lxqt-shutdown.desktop.in
===================================================================
--- lxqt-session-0.9.0.orig/lxqtleave/resources/lxqt-shutdown.desktop.in
+++ lxqt-session-0.9.0/lxqtleave/resources/lxqt-shutdown.desktop.in
@@ -5,7 +5,7 @@ GenericName=Shutdown
 Comment=shutdown the machine
 Exec=lxqt-leave --shutdown
 Icon=system-shutdown
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
+Categories=X-LXQt;X-Leave;
+OnlyShowIn=X-LXQt;
 
 #TRANSLATIONS_DIR=../translations
Index: lxqt-session-0.9.0/lxqtleave/resources/lxqt-suspend.desktop.in
===================================================================
--- lxqt-session-0.9.0.orig/lxqtleave/resources/lxqt-suspend.desktop.in
+++ lxqt-session-0.9.0/lxqtleave/resources/lxqt-suspend.desktop.in
@@ -5,7 +5,7 @@ GenericName=Suspend
 Comment=suspend the machine
 Exec=lxqt-leave --suspend
 Icon=system-suspend
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
+Categories=X-LXQt;X-Leave;
+OnlyShowIn=X-LXQt;
 
 #TRANSLATIONS_DIR=../translations
openSUSE Build Service is sponsored by