Commit 763faf1
committed
gmenu-tree.c: Return a basename if no appinfo is available when
sorting.
This is a workaround: if a desktop file is edited and becomes
invalid, the tree rebuilds and re-loading that file initially fails
and gets added to our "retry later" list (see b5495c4). The
problem is, mimeinfo never updates in this case, and we end up
with basically an invalid desktop entry with no appinfo.
This is mainly to silence a lot of runtime warnings because the
sorting fails.1 parent 8293c1c commit 763faf1
File tree
1 file changed
+5
-0
lines changed1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1779 | 1779 | | |
1780 | 1780 | | |
1781 | 1781 | | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1782 | 1787 | | |
1783 | 1788 | | |
1784 | 1789 | | |
| |||
0 commit comments