diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-09 19:06:07 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-02-09 19:06:07 +0000 |
| commit | 1eccc2d8f4d7dfaf90c064143c925d544c80ccce (patch) | |
| tree | 6be8a0b09e8066404c07c58ff6ae161828f817be /src/ui/tools/calligraphic-tool.cpp | |
| parent | fix "inkscape --extension-directory" (diff) | |
| download | inkscape-1eccc2d8f4d7dfaf90c064143c925d544c80ccce.tar.gz inkscape-1eccc2d8f4d7dfaf90c064143c925d544c80ccce.zip | |
CalligraphyToolbar: GtkAction migration
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; |
