Skip to content

Commit

Permalink
Temporary Fix #207:Symlink doesn't show in Sort Manager
Browse files Browse the repository at this point in the history
#207

This fix simply delays showing the sort manager until the user opens it,
by which time setup has been completed.
  • Loading branch information
caclark committed May 19, 2017
1 parent d0224ed commit 30a7a60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rcfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 30a7a60

Please sign in to comment.