summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/eraser-tool.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-01-29 14:46:18 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-01-29 14:46:18 +0000
commit94939a3c123496e0843ff6adf55cbe9b68c0cb0c (patch)
tree689b28ec95baa1ccf3447c47e231d539a970c0b1 /src/ui/tools/eraser-tool.cpp
parentBox3DToolbar: GtkAction migration (diff)
downloadinkscape-94939a3c123496e0843ff6adf55cbe9b68c0cb0c.tar.gz
inkscape-94939a3c123496e0843ff6adf55cbe9b68c0cb0c.zip
EraserToolbar: GtkAction migration
Diffstat (limited to 'src/ui/tools/eraser-tool.cpp')
-rw-r--r--src/ui/tools/eraser-tool.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/tools/eraser-tool.cpp b/src/ui/tools/eraser-tool.cpp
index 36e6a44aa..eaad1cee4 100644
--- a/src/ui/tools/eraser-tool.cpp
+++ b/src/ui/tools/eraser-tool.cpp
@@ -535,7 +535,7 @@ bool EraserTool::root_handler(GdkEvent* event) {
this->width = 1.0;
}
- sp_erc_update_toolbox (desktop, "altx-eraser", this->width * 100); // the same spinbutton is for alt+x
+ sp_erc_update_toolbox (desktop, "eraser-width", this->width * 100); // the same spinbutton is for alt+x
ret = TRUE;
}
break;
@@ -549,7 +549,7 @@ bool EraserTool::root_handler(GdkEvent* event) {
this->width = 0.01;
}
- sp_erc_update_toolbox (desktop, "altx-eraser", this->width * 100);
+ sp_erc_update_toolbox (desktop, "eraser-width", this->width * 100);
ret = TRUE;
}
break;
@@ -557,21 +557,21 @@ bool EraserTool::root_handler(GdkEvent* event) {
case GDK_KEY_Home:
case GDK_KEY_KP_Home:
this->width = 0.01;
- sp_erc_update_toolbox (desktop, "altx-eraser", this->width * 100);
+ sp_erc_update_toolbox (desktop, "eraser-width", this->width * 100);
ret = TRUE;
break;
case GDK_KEY_End:
case GDK_KEY_KP_End:
this->width = 1.0;
- sp_erc_update_toolbox (desktop, "altx-eraser", this->width * 100);
+ sp_erc_update_toolbox (desktop, "eraser-width", this->width * 100);
ret = TRUE;
break;
case GDK_KEY_x:
case GDK_KEY_X:
if (MOD__ALT_ONLY(event)) {
- desktop->setToolboxFocusTo ("altx-eraser");
+ desktop->setToolboxFocusTo ("eraser-width");
ret = TRUE;
}
break;