Commit e4694e6
committed
Simplify cinnamon-menu-editor
cinnamon-menu-editor:
Remove item cut/copy/paste from menu editor and add menu category selection to desktop editor instead so that instead of the menu editor adding <Include> and <Exclude> rules to the .menu file when launchers are added to/remove from categories, the desktop editor adds/removes categories to the Categories= field in the .desktop file.
Remove code related to separators and menu layout/ordering as these are not used in cinnamon applets.
Add "Restore Item" button and remove "Close" button.
Handle flatpak apps properly.
Use atomic save for .menu file
Update some deprecated code.
cinnamon-desktop editor:
Add menu category selection for launcher editor.
Add "Hide (NoDisplay)" toggle for launcher editor and directory editor.
Remove unnecessary <Include> and <Exclude> rules from the .menu file added in previous versions of menu-editor when a .desktop file is updated.
Show a warning infobar when editing a local file when no "restore" to system is available.
Don't create a new .desktop file in ~/.local/share/applications if original is in a subdirectory of ~/.local/share/applications as it would be overriden anyway and edit original instead
Add command line option --show-categories so that unnecessary complexity can be avoided when launched from the app menu.
Add error dialog for write errors
config.py:
delete unused constants
cinnamon-applications.menu:
simplify logic in "Administration" menu
remove unused "System" menu1 parent 73f873d commit e4694e6
10 files changed
Lines changed: 1101 additions & 1345 deletions
File tree
- files
- usr
- bin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 133 | | |
139 | 134 | | |
140 | 135 | | |
| |||
176 | 171 | | |
177 | 172 | | |
178 | 173 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 174 | + | |
189 | 175 | | |
190 | 176 | | |
191 | 177 | | |
192 | 178 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
209 | 195 | | |
210 | 196 | | |
211 | 197 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 16 | + | |
24 | 17 | | |
25 | 18 | | |
26 | 19 | | |
| |||
0 commit comments