changeset 1738:869ef66693f3

improved editor loading
author nadvornik
date Sun, 06 Sep 2009 14:29:19 +0000
parents a9af670f47d2
children 8436cdbc315c
files src/layout_util.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }