[Okular-devel] [okular] [Bug 173264] Add hotkey for "Change colors"

Ciro Santilli ciro.santilli at gmail.com
Fri Oct 25 08:34:15 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=173264

Ciro Santilli <ciro.santilli at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ciro.santilli at gmail.com

--- Comment #3 from Ciro Santilli <ciro.santilli at gmail.com> ---
Sorry for double post, first patch and I have just figured that the patch
comment goes to the devel list...

Added default shortcut Ctrl + I for change colors.

This should have the exact same of clicking the toolbox Settigs > Configure
Okular > Accessibility > Change colors and then Ok, therefore changing the
saved configs.

I am not sure if:

-  viewport()->update() is the right way to update the screen after this config
change?

    Where is the `update()` method defined? If I tracked well, viewport()
returns a DocumentViewport, which does not seem to have such a method.

- did I put things in the right place

but it seems to work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list