summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-panel/files/lxqt-menu-cleanup.patch
blob: 5076f40e6ea400be83d0949f450832174404268f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
diff -Nur a/menu/lxqt-applications.menu b/menu/lxqt-applications.menu
--- a/menu/lxqt-applications.menu	2017-10-21 20:47:44.000000000 +0100
+++ b/menu/lxqt-applications.menu	2017-10-22 13:04:08.035578669 +0100
@@ -20,12 +20,13 @@
 		<Include>
 			<And>
 				<Category>Utility</Category>
-			 <!-- Accessibility spec must have either the Utility or Settings
+	<!-- Accessibility spec must have either the Utility or Settings
 			 category, and we display an accessibility submenu already for
 			 the ones that do not have Settings, so don't display accessibility
 			 applications here -->
 				<Not><Category>Accessibility</Category></Not>
 				<Not><Category>System</Category></Not>
+				<Not><Category>Graphics</Category></Not>
 			</And>
 		</Include>
 	</Menu> <!-- End Accessories -->
@@ -61,6 +62,7 @@
 		<Include>
 			<And>
 				<Category>Education</Category>
+				<Not><Category>Office</Category></Not>
 			</And>
 		</Include>
 	</Menu> <!-- End Education -->
@@ -83,7 +85,7 @@
 		<Include>
 			<And>
 				<Category>Graphics</Category>
-				<Not><Category>Utility</Category></Not>
+				<Not><Category>Office</Category></Not>
 			</And>
 		</Include>
 	</Menu> <!-- End Graphics -->
@@ -95,6 +97,7 @@
 		<Include>
 			<And>
 				<Category>Network</Category>
+				<Not><Category>Game</Category></Not>
 			</And>
 		</Include>
 	</Menu>	 <!-- End Internet -->
@@ -125,6 +128,8 @@
 		<Include>
 			<And>
 				<Category>Office</Category>
+				<Not><Category>Network</Category></Not>
+				<Not><Category>AudioVideo</Category></Not>
 			</And>
 		</Include>
 	</Menu> <!-- End Office -->
@@ -140,26 +145,10 @@
 				<Not><Category>PackageManager</Category></Not>
 				<Not><Category>X-Leave</Category></Not>
 				<Not><Category>Screensaver</Category></Not>
-				<Not><Filename>lxqt-about.desktop</Filename></Not>
 			</And>
 		</Include>
 	</Menu>	 <!-- End System Tools -->
 
-	<!-- Other -->
-	<Menu>
-		<Name>Other</Name>
-		<Directory>lxde-other.directory</Directory>
-		<OnlyUnallocated/>
-		<Include>
-			<And>
-				<Not><Category>Core</Category></Not>
-				<Not><Category>Settings</Category></Not>
-				<Not><Category>Screensaver</Category></Not>
-			</And>
-		</Include>
-		</Menu> <!-- End Other -->
-
-	<!-- Settings -->
 	<Menu>
 		<Name>DesktopSettings</Name>
 		<Directory>lxde-settings.directory</Directory>
@@ -204,7 +193,7 @@
 		</Layout>
 	</Menu> <!-- End Settings -->
 
-	<!-- Leave -->
+		<!-- Leave -->
 	<Menu>
 		<Name>X-Leave</Name>
 		<Directory>lxqt-leave.directory</Directory>