diff src/layout_image.c @ 1309:55ea4962887a

config file format changed to XML save and restore all layout windows save and restore sidebar configuration
author nadvornik
date Sun, 22 Feb 2009 15:35:37 +0000
parents 4a3ae0e6f1eb
children cd7204a18f14
line wrap: on
line diff
--- a/src/layout_image.c	Sun Feb 22 13:29:49 2009 +0000
+++ b/src/layout_image.c	Sun Feb 22 15:35:37 2009 +0000
@@ -543,7 +543,7 @@
 
 	menu_item_add_divider(menu);
 
-	item = menu_item_add_check(menu, _("Hide file _list"), lw->tools_hidden,
+	item = menu_item_add_check(menu, _("Hide file _list"), lw->options.tools_hidden,
 				   G_CALLBACK(li_pop_menu_hide_cb), lw);
 	if (fullscreen) gtk_widget_set_sensitive(item, FALSE);
 
@@ -1580,7 +1580,7 @@
 
 static void layout_image_setup_split_common(LayoutWindow *lw, gint n)
 {
-	gboolean frame = (n == 1) ? (!lw->tools_float && !lw->tools_hidden) : 1;
+	gboolean frame = (n == 1) ? (!lw->options.tools_float && !lw->options.tools_hidden) : 1;
 	gint i;
 
 	for (i = 0; i < n; i++)