diff --git a/SparkleShare/SparkleBubble.cs b/SparkleShare/SparkleBubble.cs index 53feef16..14180861 100644 --- a/SparkleShare/SparkleBubble.cs +++ b/SparkleShare/SparkleBubble.cs @@ -15,34 +15,37 @@ // along with this program. If not, see . using Gtk; -using Notifications; using SparkleShare; namespace SparkleShare { - public class SparkleBubble : Notification { + public class SparkleBubble { + + public int Timeout; + public string IconName; + public Gdk.Pixbuf Icon; public SparkleBubble (string title, string subtext) { IconName = "folder-sparkleshare"; Timeout = 4500; - Urgency = Urgency.Low; +// Urgency = Urgency.Low; - AttachToStatusIcon (SparkleUI.StatusIcon); +// AttachToStatusIcon (SparkleUI.StatusIcon); } // 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) - { +// new public void AddAction (string action, string label, ActionHandler handler) +// { - if (System.Array.IndexOf (Notifications.Global.Capabilities, "actions") > -1) - base.AddAction (action, label, handler); +// if (System.Array.IndexOf (Notifications.Global.Capabilities, "actions") > -1) +// base.AddAction (action, label, handler); - } +// } }