marxjohnson / btsyncindicator

Bittorrent Sync indicator for linux desktops
GNU Lesser General Public License v3.0
41 stars 5 forks source link

Menuitem "Enable Debug Logging" does not work as expected #16

Closed tuxpoldo closed 11 years ago

tuxpoldo commented 11 years ago

There are two problems related with the implementation of the menu item "Enable Debug Logging".

  1. If verbose debug logging of btsync was activated/deactivated by the user of by another tool (e.g.: /usr/bin/btsync setdebug on), the menu is not updated to reflect the current state.
  2. Even wrong: when btsyncindicator is started, the menu item is always unchecked (also if btsync debug logging is enabled). When the menu item is selected by the user, the connected function toggles the btsync debug logging state and switches the checked state of the menu. In such a case, the checkmark always shows the wrong state.