projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61e74e
)
sync histogram state after enabling it from the menu
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 28 Jun 2009 08:49:28 +0000
(08:49 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 28 Jun 2009 08:49:28 +0000
(08:49 +0000)
src/layout_util.c
patch
|
blob
|
history
diff --git
a/src/layout_util.c
b/src/layout_util.c
index
a55aac0
..
a0a49e2
100644
(file)
--- a/
src/layout_util.c
+++ b/
src/layout_util.c
@@
-685,7
+685,7
@@
static void layout_menu_histogram_cb(GtkToggleAction *action, gpointer data)
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
{