Mercurial > geeqie
diff src/editors.h @ 1736:8e64965c1d92
load desktop files in idle time
- scanning all desktop files takes a lot of time because of hdd seek
- this change moves the scanning to idle time
- the editors appears in the menus some time after startup
https://sourceforge.net/tracker/index.php?func=detail&aid=2852522&group_id=222125&atid=1054680
author | nadvornik |
---|---|
date | Sun, 06 Sep 2009 14:01:03 +0000 |
parents | 58a5d1e01e33 |
children | eb64f542341b |
line wrap: on
line diff
--- a/src/editors.h Sun Sep 06 09:08:37 2009 +0000 +++ b/src/editors.h Sun Sep 06 14:01:03 2009 +0000 @@ -78,7 +78,11 @@ extern GHashTable *editors; -void editor_load_descriptions(void); +void editor_table_finish(void); +void editor_table_clear(void); +GList *editor_get_desktop_files(void); +gboolean editor_read_desktop_file(const gchar *path); + GList *editor_list_get(void);