Re-enable notify-sharp
This commit is contained in:
parent
c94b5d57c9
commit
7701a13dcd
|
@ -3,7 +3,7 @@ SUBDIRS = Pixmaps
|
||||||
ASSEMBLY = SparkleShare
|
ASSEMBLY = SparkleShare
|
||||||
TARGET = exe
|
TARGET = exe
|
||||||
|
|
||||||
LINK = $(REF_SPARKLESHARE)
|
LINK = $(REF_SPARKLESHARE) $(NOTIFY_SHARP_LIBS)
|
||||||
|
|
||||||
if HAVE_APP_INDICATOR
|
if HAVE_APP_INDICATOR
|
||||||
BUILD_DEFINES="-define:HAVE_APP_INDICATOR"
|
BUILD_DEFINES="-define:HAVE_APP_INDICATOR"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using Gtk;
|
using Gtk;
|
||||||
//using Notifications;
|
using Notifications;
|
||||||
using SparkleLib;
|
using SparkleLib;
|
||||||
|
|
||||||
namespace SparkleShare {
|
namespace SparkleShare {
|
||||||
|
@ -29,7 +29,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.Controller.NotificationsEnabled)
|
if (!Program.Controller.NotificationsEnabled)
|
||||||
return;
|
return;
|
||||||
|
@ -57,7 +57,7 @@ namespace SparkleShare {
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
SparkleLogger.LogInfo ("Notification", "Error showing notification: ", e);
|
SparkleLogger.LogInfo ("Notification", "Error showing notification: ", e);
|
||||||
}
|
}
|
||||||
};*/
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue