diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-10 14:20:08 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-10 14:20:08 +0000 |
| commit | bef3ac7c63137da8228946e803f65cb850455459 (patch) | |
| tree | 3c0ff7992d2526c6a91d6b358003dd20d5859fad /src/ui/tools/spray-tool.cpp | |
| parent | Toolbox: Move deprecated VerbAction to separate file (diff) | |
| download | inkscape-bef3ac7c63137da8228946e803f65cb850455459.tar.gz inkscape-bef3ac7c63137da8228946e803f65cb850455459.zip | |
SprayToolbar: GtkAction migration
Diffstat (limited to 'src/ui/tools/spray-tool.cpp')
| -rw-r--r-- | src/ui/tools/spray-tool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp index 907b04a9a..4ae36ed23 100644 --- a/src/ui/tools/spray-tool.cpp +++ b/src/ui/tools/spray-tool.cpp @@ -1422,7 +1422,7 @@ bool SprayTool::root_handler(GdkEvent* event) { this->width = 1.0; } // The same spinbutton is for alt+x - desktop->setToolboxAdjustmentValue("altx-spray", this->width * 100); + desktop->setToolboxAdjustmentValue("spray-width", this->width * 100); sp_spray_update_area(this); ret = TRUE; } @@ -1434,7 +1434,7 @@ bool SprayTool::root_handler(GdkEvent* event) { if (this->width < 0.01) { this->width = 0.01; } - desktop->setToolboxAdjustmentValue("altx-spray", this->width * 100); + desktop->setToolboxAdjustmentValue("spray-width", this->width * 100); sp_spray_update_area(this); ret = TRUE; } @@ -1442,21 +1442,21 @@ bool SprayTool::root_handler(GdkEvent* event) { case GDK_KEY_Home: case GDK_KEY_KP_Home: this->width = 0.01; - desktop->setToolboxAdjustmentValue("altx-spray", this->width * 100); + desktop->setToolboxAdjustmentValue("spray-width", this->width * 100); sp_spray_update_area(this); ret = TRUE; break; case GDK_KEY_End: case GDK_KEY_KP_End: this->width = 1.0; - desktop->setToolboxAdjustmentValue("altx-spray", this->width * 100); + desktop->setToolboxAdjustmentValue("spray-width", this->width * 100); sp_spray_update_area(this); ret = TRUE; break; case GDK_KEY_x: case GDK_KEY_X: if (MOD__ALT_ONLY(event)) { - desktop->setToolboxFocusTo("altx-spray"); + desktop->setToolboxFocusTo("spray-width"); ret = TRUE; } break; |
