fix build. closes #1151

This commit is contained in:
Hylke Bons 2013-01-13 14:17:07 +00:00
parent caf73bd48e
commit 7d7e3269b9
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ namespace SparkleShare {
public SparkleBubbles () public SparkleBubbles ()
{ {
Controller.ShowBubbleEvent += delegate (string title, string subtext, string image_path) { Controller.ShowBubbleEvent += delegate (string title, string subtext, string image_path) {
if (!Program.UI.Controller.NotificationsEnabled) if (!Program.Controller.NotificationsEnabled)
return; return;
try { try {

View file

@ -27,7 +27,7 @@ namespace SparkleShare {
public SparkleBubbles () public SparkleBubbles ()
{ {
Controller.ShowBubbleEvent += delegate (string title, string subtext, string image_path) { Controller.ShowBubbleEvent += delegate (string title, string subtext, string image_path) {
if (!Program.UI.Controller.NotificationsEnabled) if (!Program.Controller.NotificationsEnabled)
return; return;
Program.UI.StatusIcon.ShowBalloon (title, subtext, image_path); Program.UI.StatusIcon.ShowBalloon (title, subtext, image_path);