Mercurial > geeqie
comparison 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 |
comparison
equal
deleted
inserted
replaced
1735:6cae2af8fdd1 | 1736:8e64965c1d92 |
---|---|
76 extern GtkListStore *desktop_file_list; | 76 extern GtkListStore *desktop_file_list; |
77 | 77 |
78 | 78 |
79 extern GHashTable *editors; | 79 extern GHashTable *editors; |
80 | 80 |
81 void editor_load_descriptions(void); | 81 void editor_table_finish(void); |
82 void editor_table_clear(void); | |
83 GList *editor_get_desktop_files(void); | |
84 gboolean editor_read_desktop_file(const gchar *path); | |
85 | |
82 GList *editor_list_get(void); | 86 GList *editor_list_get(void); |
83 | 87 |
84 | 88 |
85 /* | 89 /* |
86 Callback is called even on skipped files, with the EDITOR_ERROR_SKIPPED flag set. | 90 Callback is called even on skipped files, with the EDITOR_ERROR_SKIPPED flag set. |