changeset 2480:499e1396eed2

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.
author Colin Clark <colin.clark@cclark.uk>
date Fri, 19 May 2017 19:22:55 +0100
parents d9c7bc8c0979
children 75bbd45f9c9e
files src/rcfile.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/rcfile.c	Tue May 16 19:56:54 2017 +0100
+++ b/src/rcfile.c	Fri May 19 19:22:55 2017 +0100
@@ -1063,12 +1063,17 @@
 
 		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);