rcaelers/workrave — pull request #9 by jay (2012-02-27 07:43:01+00:00)
Title: update gui/main_window/enabled when window is closed?

When the main window is closed the configuration is not updated.
Click on the icon to show main window and gui/main_window/enabled is set true
Click on the icon to hide main window and the configuration doesn't change

Propose to set gui/main_window/enabled to false when the main window is hidden. See attached commit

Also, if clicking on the icon toggles the main window and updates its configuration is the 'Show status window' option still needed in preferences? Would it be better to remove or change that to 'Show status window on start' or something similar, with a separate cfg entry?