windows statusicon: re-enable balloons

This commit is contained in:
Hylke Bons 2012-03-11 14:05:53 +00:00
parent 512ef7ee8e
commit dd5d95aa1b
2 changed files with 11 additions and 5 deletions

View file

@ -147,7 +147,16 @@ namespace SparkleShare {
this.hook_proc_ref = OnMouseEventProc;
}
public void ShowBalloonTip (string title, string subtext, string image_path)
{
// TODO:
// - Use the image pointed to by image_path
// - Find a way to use the prettier (Win7?) balloons
this.notify_icon.ShowBalloonTip (5 * 1000, title, subtext, Forms.ToolTipIcon.Info);
}
public void Dispose()
{

View file

@ -289,10 +289,7 @@ namespace SparkleShare {
public void ShowBalloon (string title, string subtext, string image_path)
{
// TODO:
// - Use the image pointed to by image_path
// - Find a way to use the prettier (Win7?) balloons
//this.notify_icon.ShowBalloonTip (5 * 1000, title, subtext, Forms.ToolTipIcon.Info);
this.notify_icon.ShowBalloonTip (title, subtext, image_path);
}