Ryan Lortie 86ce3bf48e gdesktopappinfo: keep a list of files in the dirs
In each DesktopFileDir, store a list of desktop files for that
directory.  This speeds up opening desktop files by name because we can
skip statting in directories that we know don't have the file and also
speeds up _get_all() because we can avoid enumeration.

This also improves our support for dealing with names like
'kde4/kate.desktop' (equivalent to kde4-kate.desktop) since we find out
about all of these files are the start and don't need to guess about
which '-' to change to a '/'.  It also means that we can easily deal
with more than one level of such prefixes.

We use a file monitor to watch for changes, invalidating our lists when
we notice them.

https://bugzilla.gnome.org/show_bug.cgi?id=711520
2013-11-06 10:56:25 -05:00
..
2013-10-17 10:12:27 -04:00
2013-10-03 10:37:30 -04:00
2013-10-04 22:08:36 +02:00
2013-10-17 10:12:27 -04:00
2012-02-02 16:22:42 +01:00
2013-10-17 10:12:27 -04:00
2013-10-21 14:30:26 -04:00
2013-06-30 10:32:18 +02:00
2013-02-15 05:39:20 -05:00
2013-04-21 16:25:15 -04:00
2012-07-03 21:14:41 -04:00
2013-05-25 23:15:36 -04:00
2013-06-23 14:15:05 +02:00
2013-04-21 16:31:14 -04:00
2013-10-27 17:15:38 -07:00
2013-04-21 16:31:14 -04:00
2013-10-21 14:30:26 -04:00
2011-06-07 08:55:31 +08:00
2012-11-29 16:29:47 -03:00
2013-10-21 14:30:26 -04:00
2013-10-21 14:30:30 -04:00
2012-12-12 15:20:22 +01:00
2013-10-21 14:30:26 -04:00
2012-08-19 02:21:02 -04:00
2012-08-19 02:21:02 -04:00
2013-07-11 12:35:45 -04:00
2013-07-11 12:35:45 -04:00
2011-06-04 18:48:19 -04:00
2012-01-13 17:12:57 +01:00
2012-12-29 00:22:34 -05:00
2013-10-04 09:51:31 -04:00
2011-10-16 21:41:15 -04:00
2013-10-21 15:24:55 -04:00
2013-03-26 10:51:48 +01:00
2011-10-02 22:33:10 -04:00
2013-04-21 16:31:14 -04:00
2012-07-03 21:14:41 -04:00
2013-10-21 15:24:55 -04:00
2012-11-15 14:19:06 -05:00
2013-10-21 15:24:55 -04:00
2012-08-18 23:15:58 -04:00