From ec61f4fc616aed1585e365c0b43640778f1e17f0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 6 Mar 2011 15:30:49 +0000 Subject: [PATCH] get rid of warning --- SparkleShare/SparkleBubble.cs | 4 ++-- SparkleShare/SparkleUI.cs | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/SparkleShare/SparkleBubble.cs b/SparkleShare/SparkleBubble.cs index fee1fa67..06403d1a 100644 --- a/SparkleShare/SparkleBubble.cs +++ b/SparkleShare/SparkleBubble.cs @@ -32,11 +32,11 @@ namespace SparkleShare { Timeout = 4500; // Urgency = Urgency.Low; -// AttachToStatusIcon (SparkleUI.StatusIcon); + //Show (); } - + public void Show () {} // Checks whether the system allows adding buttons to a notification, // prevents error messages in Ubuntu. // new public void AddAction (string action, string label, ActionHandler handler) diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs index 4198bd44..ab0689e1 100644 --- a/SparkleShare/SparkleUI.cs +++ b/SparkleShare/SparkleUI.cs @@ -157,8 +157,7 @@ namespace SparkleShare { string title = _("Ouch! Mid-air collision!"); string subtext = _("Don't worry, SparkleShare made a copy of each conflicting file."); - SparkleBubble bubble = new SparkleBubble(title, subtext); -// bubble.Show (); + new SparkleBubble(title, subtext).Show (); }); };