Re-enable notify-sharp

This commit is contained in:
Hylke Bons 2013-10-09 10:48:07 +02:00
parent 099cb94bc7
commit 1c6f86c085
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ SUBDIRS = Pixmaps
ASSEMBLY = SparkleShare
TARGET = exe
LINK = $(REF_SPARKLESHARE)
LINK = $(REF_SPARKLESHARE) $(NOTIFY_SHARP_LIBS)
if HAVE_APP_INDICATOR
BUILD_DEFINES="-define:HAVE_APP_INDICATOR"

View file

@ -18,7 +18,7 @@
using System;
using Gtk;
//using Notifications;
using Notifications;
using SparkleLib;
namespace SparkleShare {
@ -29,7 +29,7 @@ namespace SparkleShare {
public SparkleBubbles ()
{/*
{
Controller.ShowBubbleEvent += delegate (string title, string subtext, string image_path) {
if (!Program.Controller.NotificationsEnabled)
return;
@ -57,7 +57,7 @@ namespace SparkleShare {
} catch (Exception e) {
SparkleLogger.LogInfo ("Notification", "Error showing notification: ", e);
}
};*/
};
}
}
}