Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Gwenview
Commits
29385ea9
Commit
29385ea9
authored
Nov 15, 2012
by
Aurélien Gâteau
Browse files
Change meaning of Escape key: goes back to Browse mode
BUG: 302898
parent
fc45f0c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/mainwindow.cpp
View file @
29385ea9
...
...
@@ -342,6 +342,7 @@ struct MainWindow::Private
mBrowseAction
->
setToolTip
(
i18nc
(
"@info:tooltip"
,
"Browse folders for images"
));
mBrowseAction
->
setCheckable
(
true
);
mBrowseAction
->
setIcon
(
KIcon
(
"view-list-icons"
));
mBrowseAction
->
setShortcut
(
Qt
::
Key_Escape
);
connect
(
mViewMainPage
,
SIGNAL
(
goToBrowseModeRequested
()),
mBrowseAction
,
SLOT
(
trigger
()));
...
...
@@ -371,7 +372,6 @@ struct MainWindow::Private
leaveFullScreenAction
->
setIcon
(
KIcon
(
"view-restore"
));
leaveFullScreenAction
->
setPriority
(
QAction
::
LowPriority
);
leaveFullScreenAction
->
setText
(
i18nc
(
"@action"
,
"Leave Fullscreen Mode"
));
leaveFullScreenAction
->
setShortcut
(
Qt
::
Key_Escape
);
mGoToPreviousAction
=
view
->
addAction
(
"go_previous"
,
q
,
SLOT
(
goToPrevious
()));
mGoToPreviousAction
->
setPriority
(
QAction
::
LowPriority
);
...
...
doc/index.docbook
View file @
29385ea9
...
...
@@ -487,8 +487,8 @@ Moves to the parent folder of the current folder.</para></listitem>
action=
"simul"
>
&Ctrl;&Shift;
<keycap>
F
</keycap></keycombo>
:
Switches into Full Screen Mode.
</para></listitem>
<listitem><para>
&Esc;
:
Exits from Full Screen
mode.
</para></listitem>
<listitem><para>
&Esc;
:
Switches back to Browse Mode.
</para></listitem>
<listitem><para><keycombo
action=
"simul"
>
&Ctrl;
<keycap>
M
</keycap></keycombo>
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment