summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 34379d341..2c24ef36a 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1784,6 +1784,10 @@ void ZoomVerb::perform(SPAction *action, void *data)
case SP_VERB_FULLSCREEN:
dt->fullscreen();
break;
+ case SP_VERB_FULLSCREENFOCUS:
+ dt->fullscreen();
+ dt->focusMode(!dt->is_fullscreen());
+ break;
#endif // HAVE_GTK_WINDOW_FULLSCREEN
case SP_VERB_FOCUSTOGGLE:
dt->focusMode(!dt->is_focusMode());
@@ -2635,6 +2639,8 @@ Verb *Verb::_base_verbs[] = {
#ifdef HAVE_GTK_WINDOW_FULLSCREEN
new ZoomVerb(SP_VERB_FULLSCREEN, "FullScreen", N_("_Fullscreen"), N_("Stretch this document window to full screen"),
INKSCAPE_ICON("view-fullscreen")),
+ new ZoomVerb(SP_VERB_FULLSCREENFOCUS, "FullScreenFocus", N_("Fullscreen & Focus Mode"), Glib::ustring::format(N_("Stretch this document window to full screen"), N_(" and "), N_("Remove excess toolbars to focus on drawing")).c_str(),
+ INKSCAPE_ICON("view-fullscreen")),
#endif // HAVE_GTK_WINDOW_FULLSCREEN
new ZoomVerb(SP_VERB_FOCUSTOGGLE, "FocusToggle", N_("Toggle _Focus Mode"), N_("Remove excess toolbars to focus on drawing"),
NULL),