windows statusicon: change notification checkbox enable logic. fixes #1146

This commit is contained in:
Hylke Bons 2013-01-13 11:29:28 +00:00
parent e3cc690eb3
commit caf73bd48e

View file

@ -134,7 +134,7 @@ namespace SparkleShare {
CheckBox notify_check_box = new CheckBox () {
Margin = new Thickness (6, 0, 0, 0),
IsChecked = (Controller.Folders.Length > 0 && Program.Controller.NotificationsEnabled)
IsChecked = Program.Controller.NotificationsEnabled
};
SparkleMenuItem notify_item = new SparkleMenuItem () { Header = "Notifications" };