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 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"

View file

@ -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);
} }
};*/ };
} }
} }
} }