summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorWizardOhio24 <rdmenzies2000@gmail.com>2019-01-26 12:34:38 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2019-02-11 10:43:57 +0000
commiteca63dcdbc425e44e353e93e8760a69e9b1f2d83 (patch)
treea0543f620fe961b6a86aba36cc82a7e44fb40d12 /src/widgets/toolbox.cpp
parentBundle python-numpy and python-scour (diff)
downloadinkscape-eca63dcdbc425e44e353e93e8760a69e9b1f2d83.tar.gz
inkscape-eca63dcdbc425e44e353e93e8760a69e9b1f2d83.zip
Added Feature: Recenter page in window, Ctrl+4 shortcut
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 38e8df8c0..8b7576d8d 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -340,7 +340,8 @@ static Glib::RefPtr<Gtk::ActionGroup> create_or_fetch_actions( SPDesktop* deskto
SP_VERB_ZOOM_PAGE,
SP_VERB_ZOOM_PAGE_WIDTH,
SP_VERB_ZOOM_PREV,
- SP_VERB_ZOOM_SELECTION
+ SP_VERB_ZOOM_SELECTION,
+ SP_VERB_ZOOM_CENTER_PAGE
};
GtkIconSize toolboxSize = ToolboxFactory::prefToSize("/toolbox/small");