bubble: fix coding style and whitespace

This commit is contained in:
Hylke Bons 2011-05-12 07:05:56 -07:00
parent dc61820baf
commit 4288cc3a19

View file

@ -26,23 +26,18 @@ namespace SparkleShare {
public SparkleBubble (string title, string subtext) : base (title, subtext) public SparkleBubble (string title, string subtext) : base (title, subtext)
{ {
IconName = "folder-sparkleshare"; IconName = "folder-sparkleshare";
Timeout = 4500; Timeout = 4500;
Urgency = Urgency.Low; Urgency = Urgency.Low;
} }
// Checks whether the system allows adding buttons to a notification, // Checks whether the system allows adding buttons to a notification,
// prevents error messages in Ubuntu. // 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 (Array.IndexOf (Notifications.Global.Capabilities, "actions") > -1) if (Array.IndexOf (Notifications.Global.Capabilities, "actions") > -1)
base.AddAction (action, label, handler); base.AddAction (action, label, handler);
} }
} }
} }