From 30a7a60d8149a42effe57c5a57e5fe844ae647ce Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Fri, 19 May 2017 19:22:55 +0100 Subject: [PATCH] Temporary Fix #207:Symlink doesn't show in Sort Manager https://github.com/BestImageViewer/geeqie/issues/207 This fix simply delays showing the sort manager until the user opens it, by which time setup has been completed. --- src/rcfile.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rcfile.c b/src/rcfile.c index e6663f9b..3fc9c59c 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -1063,12 +1063,17 @@ static void options_parse_layout(GQParserData *parser_data, GMarkupParseContext options_parse_func_push(parser_data, options_parse_bar, NULL, lw->bar); } +#if 0 +/* FIXME: The sort manager and desktop files are set up in the idle loop. + * Setup is not yet completed when the layout is first displayed. + */ else if (g_ascii_strcasecmp(element_name, "bar_sort") == 0) { GtkWidget *bar = bar_sort_new_from_config(lw, attribute_names, attribute_values); layout_bar_sort_set(lw, bar); options_parse_func_push(parser_data, options_parse_leaf, NULL, NULL); } +#endif else if (g_ascii_strcasecmp(element_name, "toolbar") == 0) { options_parse_func_push(parser_data, options_parse_toolbar_and_statusbar, NULL, NULL); -- 2.20.1