Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Joao Oliveira
Okular
Commits
3669e776
Commit
3669e776
authored
Jul 10, 2014
by
Yuri Chornoivan
Committed by
Albert Astals Cid
Jul 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix two icons in the Tools menu
BUGS: 336530
parent
e79719b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ui/pageview.cpp
ui/pageview.cpp
+2
-2
No files found.
ui/pageview.cpp
View file @
3669e776
...
...
@@ -574,7 +574,7 @@ void PageView::setupActions( KActionCollection * ac )
d
->
aMouseTextSelect
->
setActionGroup
(
d
->
mouseModeActionGroup
);
d
->
aMouseTextSelect
->
setChecked
(
Okular
::
Settings
::
mouseMode
()
==
Okular
::
Settings
::
EnumMouseMode
::
TextSelect
);
d
->
aMouseTableSelect
=
new
KAction
(
KIcon
(
"
select-
table"
),
i18n
(
"T&able Selection Tool"
),
this
);
d
->
aMouseTableSelect
=
new
KAction
(
KIcon
(
"table"
),
i18n
(
"T&able Selection Tool"
),
this
);
ac
->
addAction
(
"mouse_tableselect"
,
d
->
aMouseTableSelect
);
connect
(
d
->
aMouseTableSelect
,
SIGNAL
(
triggered
()
),
this
,
SLOT
(
slotSetMouseTableSelect
()
)
);
d
->
aMouseTableSelect
->
setIconText
(
i18nc
(
"Table Selection Tool"
,
"Table Selection"
)
);
...
...
@@ -583,7 +583,7 @@ void PageView::setupActions( KActionCollection * ac )
d
->
aMouseTableSelect
->
setActionGroup
(
d
->
mouseModeActionGroup
);
d
->
aMouseTableSelect
->
setChecked
(
Okular
::
Settings
::
mouseMode
()
==
Okular
::
Settings
::
EnumMouseMode
::
TableSelect
);
d
->
aMouseMagnifier
=
new
KAction
(
KIcon
(
"
magnif
ie
r
"
),
i18n
(
"&Magnifier"
),
this
);
d
->
aMouseMagnifier
=
new
KAction
(
KIcon
(
"
document-prev
ie
w
"
),
i18n
(
"&Magnifier"
),
this
);
ac
->
addAction
(
"mouse_magnifier"
,
d
->
aMouseMagnifier
);
connect
(
d
->
aMouseMagnifier
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
slotSetMouseMagnifier
())
);
d
->
aMouseMagnifier
->
setIconText
(
i18nc
(
"Magnifier Tool"
,
"Magnifier"
)
);
...
...
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