comparison src/rcfile.c @ 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 6cae2af8fdd1
children 956aab097ea7
comparison
equal deleted inserted replaced
1735:6cae2af8fdd1 1736:8e64965c1d92
882 options->metadata.save_in_image_file = FALSE; 882 options->metadata.save_in_image_file = FALSE;
883 options->metadata.save_legacy_format = TRUE; 883 options->metadata.save_legacy_format = TRUE;
884 options->metadata.write_orientation = FALSE; 884 options->metadata.write_orientation = FALSE;
885 DEBUG_1("compiled without Exiv2 - disabling XMP write support"); 885 DEBUG_1("compiled without Exiv2 - disabling XMP write support");
886 #endif 886 #endif
887
888 /* on startup there are no layout windows and this just loads the editors */
889 layout_editors_reload_all();
890 } 887 }
891 888
892 static void options_parse_pane_exif(GQParserData *parser_data, GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, gpointer data, GError **error) 889 static void options_parse_pane_exif(GQParserData *parser_data, GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, gpointer data, GError **error)
893 { 890 {
894 GtkWidget *pane = data; 891 GtkWidget *pane = data;