comparison src/layout.c @ 1623:66d4bd637fd7

use layout_set_fd() for changing images from a slideshow - this updates folder and icon in recursive slideshow mode preserve slideshow on layout change - fixes https://sourceforge.net/tracker/?func=detail&aid=1998513&group_id=222125&atid=1054680
author nadvornik
date Thu, 04 Jun 2009 21:07:03 +0000
parents fee96b7345e8
children 94e4a47ccaff
comparison
equal deleted inserted replaced
1622:fee96b7345e8 1623:66d4bd637fd7
1792 lw->image_location = i; 1792 lw->image_location = i;
1793 } 1793 }
1794 1794
1795 /* remember state */ 1795 /* remember state */
1796 1796
1797 layout_image_slideshow_stop(lw); 1797 /* layout_image_slideshow_stop(lw); slideshow should survive */
1798 layout_image_full_screen_stop(lw); 1798 layout_image_full_screen_stop(lw);
1799 1799
1800 dir_fd = lw->dir_fd; 1800 dir_fd = lw->dir_fd;
1801 if (dir_fd) file_data_unregister_real_time_monitor(dir_fd); 1801 if (dir_fd) file_data_unregister_real_time_monitor(dir_fd);
1802 lw->dir_fd = NULL; 1802 lw->dir_fd = NULL;