diff options
Diffstat (limited to 'src/ui/tools/tweak-tool.cpp')
| -rw-r--r-- | src/ui/tools/tweak-tool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/tools/tweak-tool.cpp b/src/ui/tools/tweak-tool.cpp index d8db9ceaf..b8cf5549c 100644 --- a/src/ui/tools/tweak-tool.cpp +++ b/src/ui/tools/tweak-tool.cpp @@ -1416,7 +1416,7 @@ bool TweakTool::root_handler(GdkEvent* event) { if (this->width > 1.0) { this->width = 1.0; } - desktop->setToolboxAdjustmentValue ("altx-tweak", this->width * 100); // the same spinbutton is for alt+x + desktop->setToolboxAdjustmentValue ("tweak-width", this->width * 100); // the same spinbutton is for alt+x sp_tweak_update_area(this); ret = TRUE; } @@ -1428,7 +1428,7 @@ bool TweakTool::root_handler(GdkEvent* event) { if (this->width < 0.01) { this->width = 0.01; } - desktop->setToolboxAdjustmentValue ("altx-tweak", this->width * 100); + desktop->setToolboxAdjustmentValue ("tweak-width", this->width * 100); sp_tweak_update_area(this); ret = TRUE; } @@ -1436,21 +1436,21 @@ bool TweakTool::root_handler(GdkEvent* event) { case GDK_KEY_Home: case GDK_KEY_KP_Home: this->width = 0.01; - desktop->setToolboxAdjustmentValue ("altx-tweak", this->width * 100); + desktop->setToolboxAdjustmentValue ("tweak-width", this->width * 100); sp_tweak_update_area(this); ret = TRUE; break; case GDK_KEY_End: case GDK_KEY_KP_End: this->width = 1.0; - desktop->setToolboxAdjustmentValue ("altx-tweak", this->width * 100); + desktop->setToolboxAdjustmentValue ("tweak-width", this->width * 100); sp_tweak_update_area(this); ret = TRUE; break; case GDK_KEY_x: case GDK_KEY_X: if (MOD__ALT_ONLY(event)) { - desktop->setToolboxFocusTo ("altx-tweak"); + desktop->setToolboxFocusTo ("tweak-width"); ret = TRUE; } break; |
