Expose 'change colors' through dbus interface
ClosedPublic

Authored by michaeleden on Jun 10 2018, 8:59 PM.

Details

Summary

This exposes the Okular's functionality of changing the document's colors
through its d-bus interface. This is mainly useful for scripting Okular to
switch to a 'day mode' or 'night mode'.

[Example] Switching themes of two applications with one hotkey:

Diff Detail

Repository
R223 Okular
Branch
feature/dbus-changecolors
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24
Build 24: arc lint + arc unit
michaeleden created this revision.Jun 10 2018, 8:59 PM
Restricted Application added a project: Okular. · View Herald TranscriptJun 10 2018, 8:59 PM
Restricted Application added a subscriber: okular-devel. · View Herald Transcript
michaeleden requested review of this revision.Jun 10 2018, 8:59 PM
michaeleden edited the summary of this revision. (Show Details)Jun 10 2018, 9:24 PM
michaeleden edited the summary of this revision. (Show Details)

Rebased onto Applications/18.04

Rebase back to v17.12.2

Any new feature needs to be based on master which is where it will land.

Rebasing onto latest master.

@aacid it's rebased, what else do I need to change? Thanks!

This revision is now accepted and ready to land.Jun 26 2018, 11:05 AM
This revision was automatically updated to reflect the committed changes.