# HG changeset patch # User nadvornik # Date 1252247359 0 # Node ID 869ef66693f3bc7a6559da7147a7d62674e5d505 # Parent a9af670f47d270a6a1ec48c93fe4af8f26ab40e6 improved editor loading diff -r a9af670f47d2 -r 869ef66693f3 src/layout_util.c --- a/src/layout_util.c Sun Sep 06 14:21:19 2009 +0000 +++ b/src/layout_util.c Sun Sep 06 14:29:19 2009 +0000 @@ -1987,6 +1987,9 @@ } work = layout_window_list; + +#if 0 +/* it should be enough to remove the old editors after the new ones are loaded, in layout_actions_setup_editors */ while (work) { LayoutWindow *lw = work->data; @@ -1997,6 +2000,7 @@ g_object_unref(lw->action_group_editors); lw->action_group_editors = NULL; } +#endif editor_table_clear(); layout_editors_reload_idle_id = g_idle_add(layout_editors_reload_idle_cb, NULL); }