diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-07-05 11:28:36 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-07-05 11:28:36 +0000 |
| commit | ead55a54d3ca8f822969180cadcb2b14f78aec93 (patch) | |
| tree | 6422564d837d9d4b8aa4762703c9eb8ef2bc44ae /src/widgets/select-toolbar.cpp | |
| parent | Make handle colour a configurable property. (diff) | |
| parent | Fix for builds without --enable-dbusapi (missing #ifdef) (diff) | |
| download | inkscape-ead55a54d3ca8f822969180cadcb2b14f78aec93.tar.gz inkscape-ead55a54d3ca8f822969180cadcb2b14f78aec93.zip | |
Merge: Command-line and DBus refactoring to improve inkscapes ability to be run headless.
(bzr r12402)
Diffstat (limited to 'src/widgets/select-toolbar.cpp')
| -rw-r--r-- | src/widgets/select-toolbar.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/select-toolbar.cpp b/src/widgets/select-toolbar.cpp index 549581610..1bfc841e3 100644 --- a/src/widgets/select-toolbar.cpp +++ b/src/widgets/select-toolbar.cpp @@ -37,6 +37,8 @@ #include "sp-namedview.h" #include "toolbox.h" #include <glibmm/i18n.h> +#include "helper/action.h" +#include "helper/action-context.h" #include "helper/unit-menu.h" #include "helper/units.h" #include "inkscape.h" @@ -413,7 +415,7 @@ static GtkAction* create_action_for_verb( Inkscape::Verb* verb, Inkscape::UI::Vi { GtkAction* act = 0; - SPAction* targetAction = verb->get_action(view); + SPAction* targetAction = verb->get_action(Inkscape::ActionContext(view)); InkAction* inky = ink_action_new( verb->get_id(), verb->get_name(), verb->get_tip(), verb->get_image(), size ); act = GTK_ACTION(inky); |
