diff options
Diffstat (limited to 'src/ui/tools/calligraphic-tool.cpp')
| -rw-r--r-- | src/ui/tools/calligraphic-tool.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/tools/calligraphic-tool.cpp b/src/ui/tools/calligraphic-tool.cpp index 5ce2c4813..ffe1ca46c 100644 --- a/src/ui/tools/calligraphic-tool.cpp +++ b/src/ui/tools/calligraphic-tool.cpp @@ -811,7 +811,7 @@ bool CalligraphicTool::root_handler(GdkEvent* event) { this->width += 0.01; if (this->width > 1.0) this->width = 1.0; - sp_ddc_update_toolbox (desktop, "altx-calligraphy", this->width * 100); // the same spinbutton is for alt+x + sp_ddc_update_toolbox (desktop, "calligraphy-width", this->width * 100); // the same spinbutton is for alt+x ret = TRUE; } break; @@ -821,26 +821,26 @@ bool CalligraphicTool::root_handler(GdkEvent* event) { this->width -= 0.01; if (this->width < 0.01) this->width = 0.01; - sp_ddc_update_toolbox (desktop, "altx-calligraphy", this->width * 100); + sp_ddc_update_toolbox (desktop, "calligraphy-width", this->width * 100); ret = TRUE; } break; case GDK_KEY_Home: case GDK_KEY_KP_Home: this->width = 0.01; - sp_ddc_update_toolbox (desktop, "altx-calligraphy", this->width * 100); + sp_ddc_update_toolbox (desktop, "calligraphy-width", this->width * 100); ret = TRUE; break; case GDK_KEY_End: case GDK_KEY_KP_End: this->width = 1.0; - sp_ddc_update_toolbox (desktop, "altx-calligraphy", this->width * 100); + sp_ddc_update_toolbox (desktop, "calligraphy-width", this->width * 100); ret = TRUE; break; case GDK_KEY_x: case GDK_KEY_X: if (MOD__ALT_ONLY(event)) { - desktop->setToolboxFocusTo ("altx-calligraphy"); + desktop->setToolboxFocusTo ("calligraphy-width"); ret = TRUE; } break; |
