summaryrefslogtreecommitdiffstats
path: root/src/actions
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-11-26 08:50:21 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-11-26 08:50:21 +0000
commit073642c6b3197a3f66fec06b04bfd5ef1dbbf42b (patch)
tree4b6fa45724b51fe93fc5ee85537499e2e7db9100 /src/actions
parentAdd additional build dependencies (diff)
downloadinkscape-073642c6b3197a3f66fec06b04bfd5ef1dbbf42b.tar.gz
inkscape-073642c6b3197a3f66fec06b04bfd5ef1dbbf42b.zip
Add "select" action for backwards compatibility. Fix typo for "select-via-class".
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions-selection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/actions-selection.cpp b/src/actions/actions-selection.cpp
index cafa904cc..9a0429400 100644
--- a/src/actions/actions-selection.cpp
+++ b/src/actions/actions-selection.cpp
@@ -103,8 +103,9 @@ void
add_actions_selection(InkscapeApplication* app)
{
app->add_action( "select-clear", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_clear), app) );
+ app->add_action_radio_string( "select", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_id), app), "null"); // Backwards compatible.
app->add_action_radio_string( "select-via-id", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_id), app), "null");
- app->add_action_radio_string( "select-via-class", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_id), app), "null");
+ app->add_action_radio_string( "select-via-class", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_class), app), "null");
app->add_action_radio_string( "select-via-element", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_element), app), "null");
app->add_action_radio_string( "select-via-selector",sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_selector), app), "null");
}