Mercurial > geeqie
changeset 1676:d27275bc008a
sync histogram state after enabling it from the menu
author | nadvornik |
---|---|
date | Sun, 28 Jun 2009 08:49:28 +0000 |
parents | 5bb036e67d6d |
children | c5c7e19fbb23 |
files | src/layout_util.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout_util.c Sun Jun 28 08:32:27 2009 +0000 +++ b/src/layout_util.c Sun Jun 28 08:49:28 2009 +0000 @@ -685,7 +685,7 @@ if (gtk_toggle_action_get_active(action)) { image_osd_set(lw->image, OSD_SHOW_INFO | OSD_SHOW_STATUS | OSD_SHOW_HISTOGRAM); - gtk_toggle_action_set_active(overlay_action, TRUE); /* this calls layout_menu_overlay_cb */ + layout_util_sync_views(lw); /* show the overlay state, default channel and mode in the menu */ } else {