summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2011-07-19 20:23:41 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2011-07-19 20:23:41 +0000
commit7066baff7da784e3570ea5dcced1435fd5689847 (patch)
tree8237d2ee97addadd567215ac55e067caf5504a45 /src
parentanother case of SP_ACTIVE_DESKTOP removed (diff)
downloadinkscape-7066baff7da784e3570ea5dcced1435fd5689847.tar.gz
inkscape-7066baff7da784e3570ea5dcced1435fd5689847.zip
Add two new snap icons, and fix toggling bug for a single button
(bzr r10479)
Diffstat (limited to 'src')
-rw-r--r--src/widgets/toolbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 9e28e4bee..1d1fe65bb 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -2564,7 +2564,7 @@ void ToolboxFactory::updateSnapToolbox(SPDesktop *desktop, SPEventContext * /*ev
gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(act11->gobj()), nv->snap_manager.snapprefs.getIncludeItemCenter());
gtk_action_set_sensitive(GTK_ACTION(act11->gobj()), c1 && c5);
gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(act11b->gobj()), nv->snap_manager.snapprefs.getSnapTextBaseline());
- gtk_action_set_sensitive(GTK_ACTION(act11->gobj()), c1 && c5);
+ gtk_action_set_sensitive(GTK_ACTION(act11b->gobj()), c1 && c5);
gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(act12->gobj()), nv->snap_manager.snapprefs.getSnapToPageBorder());
gtk_action_set_sensitive(GTK_ACTION(act12->gobj()), c1);