summaryrefslogtreecommitdiffstats
path: root/src/shortcuts.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-07-05 15:46:24 +0000
committerJaviertxo <jtx@jtx.marker.es>2013-07-05 15:46:24 +0000
commitc0503c1a2b9a5f7a4030a664ca5a324ce38c967a (patch)
tree9bc6d203a70155251a7a50210abe236cc2277d11 /src/shortcuts.cpp
parentUpadate to trunk (diff)
parentMerge: Command-line and DBus refactoring to improve inkscapes ability to be r... (diff)
downloadinkscape-c0503c1a2b9a5f7a4030a664ca5a324ce38c967a.tar.gz
inkscape-c0503c1a2b9a5f7a4030a664ca5a324ce38c967a.zip
Update to trunk
(bzr r11950.1.123)
Diffstat (limited to 'src/shortcuts.cpp')
-rw-r--r--src/shortcuts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp
index 2af04929e..231e33e4a 100644
--- a/src/shortcuts.cpp
+++ b/src/shortcuts.cpp
@@ -35,6 +35,7 @@
#include <glibmm/miscutils.h>
#include "helper/action.h"
+#include "helper/action-context.h"
#include "io/sys.h"
#include "io/resource.h"
#include "verbs.h"
@@ -68,7 +69,7 @@ sp_shortcut_invoke(unsigned int shortcut, Inkscape::UI::View::View *view)
{
Inkscape::Verb *verb = sp_shortcut_get_verb(shortcut);
if (verb) {
- SPAction *action = verb->get_action(view);
+ SPAction *action = verb->get_action(Inkscape::ActionContext(view));
if (action) {
sp_action_perform(action, NULL);
return true;