diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-02 20:16:00 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-02 20:16:00 +0000 |
| commit | fa98857205dbaf2c15bb302e3eb28f4738fb6415 (patch) | |
| tree | 5c91217ada74209becdf97006f271b749e51d032 /src/ui/tools/tweak-tool.cpp | |
| parent | object properties dialog: label placeholder (diff) | |
| download | inkscape-fa98857205dbaf2c15bb302e3eb28f4738fb6415.tar.gz inkscape-fa98857205dbaf2c15bb302e3eb28f4738fb6415.zip | |
TweakToolbar: GtkAction migration
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; |
