From 98def409a57607be4a155615cc95eb73eedaba33 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Fri, 1 Apr 2016 09:29:34 +0100 Subject: [PATCH] linux bubbles: Fix icon name --- SparkleShare/Linux/Bubbles.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SparkleShare/Linux/Bubbles.cs b/SparkleShare/Linux/Bubbles.cs index 94699401..8aa3ac6b 100755 --- a/SparkleShare/Linux/Bubbles.cs +++ b/SparkleShare/Linux/Bubbles.cs @@ -18,7 +18,7 @@ using System; using Gtk; -//using Notifications; +using Notifications; using Sparkles; @@ -27,7 +27,7 @@ namespace SparkleShare { public class SparkleBubbles { public SparkleBubblesController Controller = new SparkleBubblesController (); - /* + public SparkleBubbles () { @@ -35,7 +35,7 @@ namespace SparkleShare { } - private void ShowBubbleEvent (string title, string subtext, string image_path) + void ShowBubbleEvent (string title, string subtext, string image_path) { if (!SparkleShare.Controller.NotificationsEnabled) return; @@ -51,15 +51,15 @@ namespace SparkleShare { if (image_path != null) notification.Icon = new Gdk.Pixbuf (image_path); else - notification.IconName = "folder-sparkleshare"; + notification.IconName = "org.sparkleshare.SparkleShare"; try { notification.Show (); } catch (Exception e) { - Logger.LogInfo ("Notification", "Error showing notification: ", e); + Logger.LogInfo ("Notification", "Could not show notification: ", e); } }); - }*/ + } } }