diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-08-28 05:46:52 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-08-28 05:46:52 +0000 |
| commit | 63a39634f03f1547888ef54e31ccd4b8c59ab9ee (patch) | |
| tree | 67cced35aad4687a1d9cea09d6e37516bdfe779d /src/verbs.cpp | |
| parent | Fix for 1042508 : Transform dialog when floating doesnt work on active doc (diff) | |
| download | inkscape-63a39634f03f1547888ef54e31ccd4b8c59ab9ee.tar.gz inkscape-63a39634f03f1547888ef54e31ccd4b8c59ab9ee.zip | |
Fix for 171915 : Fullscreen mode without toolbars shortcut
(bzr r11628)
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 6 |
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), |
