From 1c6f86c085fa379655256d22d7cb995be7919166 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 9 Oct 2013 10:48:07 +0200 Subject: [PATCH] Re-enable notify-sharp --- SparkleShare/Linux/Makefile.am | 2 +- SparkleShare/Linux/SparkleBubbles.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SparkleShare/Linux/Makefile.am b/SparkleShare/Linux/Makefile.am index 23b7e174..5410ef99 100644 --- a/SparkleShare/Linux/Makefile.am +++ b/SparkleShare/Linux/Makefile.am @@ -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" diff --git a/SparkleShare/Linux/SparkleBubbles.cs b/SparkleShare/Linux/SparkleBubbles.cs index 08ff02b7..50986c1e 100755 --- a/SparkleShare/Linux/SparkleBubbles.cs +++ b/SparkleShare/Linux/SparkleBubbles.cs @@ -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); } - };*/ + }; } } }