Mercurial > geeqie
comparison src/main.c @ 638:8cc9f349c670
Rename option image_overlay.common.enabled to image_overlay.common.state
since it is not a boolean anymore.
author | zas_ |
---|---|
date | Mon, 12 May 2008 08:11:27 +0000 |
parents | 83d3ded39e49 |
children | b50deb0f9968 |
comparison
equal
deleted
inserted
replaced
637:8a1202efa51e | 638:8cc9f349c670 |
---|---|
1204 { | 1204 { |
1205 layout_geometry_get(NULL, &options->layout.main_window.x, &options->layout.main_window.y, | 1205 layout_geometry_get(NULL, &options->layout.main_window.x, &options->layout.main_window.y, |
1206 &options->layout.main_window.w, &options->layout.main_window.h); | 1206 &options->layout.main_window.w, &options->layout.main_window.h); |
1207 } | 1207 } |
1208 | 1208 |
1209 options->image_overlay.common.enabled = image_osd_get(lw->image); | 1209 options->image_overlay.common.state = image_osd_get(lw->image); |
1210 } | 1210 } |
1211 | 1211 |
1212 layout_geometry_get_dividers(NULL, &options->layout.main_window.hdivider_pos, &options->layout.main_window.vdivider_pos); | 1212 layout_geometry_get_dividers(NULL, &options->layout.main_window.hdivider_pos, &options->layout.main_window.vdivider_pos); |
1213 | 1213 |
1214 layout_views_get(NULL, &options->layout.dir_view_type, &options->layout.file_view_type); | 1214 layout_views_get(NULL, &options->layout.dir_view_type, &options->layout.file_view_type); |
1482 layout_image_set_collection(lw, first_collection, | 1482 layout_image_set_collection(lw, first_collection, |
1483 collection_get_first(first_collection)); | 1483 collection_get_first(first_collection)); |
1484 } | 1484 } |
1485 } | 1485 } |
1486 | 1486 |
1487 image_osd_set(lw->image, options->image_overlay.common.enabled | (options->image_overlay.common.show_at_startup ? OSD_SHOW_INFO : OSD_SHOW_NOTHING)); | 1487 image_osd_set(lw->image, options->image_overlay.common.state | (options->image_overlay.common.show_at_startup ? OSD_SHOW_INFO : OSD_SHOW_NOTHING)); |
1488 | 1488 |
1489 g_free(geometry); | 1489 g_free(geometry); |
1490 g_free(cmd_path); | 1490 g_free(cmd_path); |
1491 g_free(cmd_file); | 1491 g_free(cmd_file); |
1492 filelist_free(cmd_list); | 1492 filelist_free(cmd_list); |