aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-02-28 10:42:48 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:16 +0100
commitdf361eb4219d01c450a9b8ef808cf8017bb945fd (patch)
tree9a2a5a4ea26008b73953f1ed7ecf74b8114ebaff /src
parente5ff1c404c096d97d665b7c6e897d4d8be5617f6 (diff)
hdfsee: Show rings menu item should reflection condition on startup
Diffstat (limited to 'src')
-rw-r--r--src/displaywindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displaywindow.c b/src/displaywindow.c
index fe578266..51a5cb9d 100644
--- a/src/displaywindow.c
+++ b/src/displaywindow.c
@@ -1101,7 +1101,7 @@ static void displaywindow_addmenubar(DisplayWindow *dw, GtkWidget *vbox,
{ "GeometryAction", NULL, "Use Detector Geometry", NULL, NULL,
G_CALLBACK(displaywindow_set_usegeom), FALSE },
{ "RingsAction", NULL, "Show Resolution Rings", NULL, NULL,
- G_CALLBACK(displaywindow_set_rings), FALSE },
+ G_CALLBACK(displaywindow_set_rings), dw->show_rings },
};
guint n_toggles = G_N_ELEMENTS(toggles);
GtkRadioActionEntry radios[] = {