Re-enable notify-sharp
This commit is contained in:
parent
c94b5d57c9
commit
7701a13dcd
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
};*/
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue