comparison 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
comparison
equal deleted inserted replaced
1308:2320339ca8be 1309:55ea4962887a
541 menu_item_add(menu, _("Exit _full screen"), G_CALLBACK(li_pop_menu_full_screen_cb), lw); 541 menu_item_add(menu, _("Exit _full screen"), G_CALLBACK(li_pop_menu_full_screen_cb), lw);
542 } 542 }
543 543
544 menu_item_add_divider(menu); 544 menu_item_add_divider(menu);
545 545
546 item = menu_item_add_check(menu, _("Hide file _list"), lw->tools_hidden, 546 item = menu_item_add_check(menu, _("Hide file _list"), lw->options.tools_hidden,
547 G_CALLBACK(li_pop_menu_hide_cb), lw); 547 G_CALLBACK(li_pop_menu_hide_cb), lw);
548 if (fullscreen) gtk_widget_set_sensitive(item, FALSE); 548 if (fullscreen) gtk_widget_set_sensitive(item, FALSE);
549 549
550 return menu; 550 return menu;
551 } 551 }
1578 } 1578 }
1579 1579
1580 1580
1581 static void layout_image_setup_split_common(LayoutWindow *lw, gint n) 1581 static void layout_image_setup_split_common(LayoutWindow *lw, gint n)
1582 { 1582 {
1583 gboolean frame = (n == 1) ? (!lw->tools_float && !lw->tools_hidden) : 1; 1583 gboolean frame = (n == 1) ? (!lw->options.tools_float && !lw->options.tools_hidden) : 1;
1584 gint i; 1584 gint i;
1585 1585
1586 for (i = 0; i < n; i++) 1586 for (i = 0; i < n; i++)
1587 if (!lw->split_images[i]) 1587 if (!lw->split_images[i])
1588 { 1588 {