Skip to content
Commit 602db1bc authored by Peter Mühlenpfordt's avatar Peter Mühlenpfordt
Browse files

Adjust sidebar code and config entries to statusbar

Summary:
Setup config entries and default values of sidebar states in
`gwenview.kcfg` and use the generated access functions like it
is done for statusbar in D10577.
From a user's sight the sidebar behaviour and state saving is
not changed.

Test Plan:
Switch browse/view, normal/fullscreen modes.
The sidebar state should always restore to previous setting and
button on statusbar should correspond to this state.
Three different states are (re)stored:
* Browse mode (always equal in normal/fullscreen mode)
* View mode normal (windowed) mode
* View mode fullscreen mode

Switch the different tabs on sidebar and check if the last
activated is restored on next restart.

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: rkflx

Differential Revision: https://phabricator.kde.org/D10687
parent 0b1ce57b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment