Show hand cursor when hovering links

This commit is contained in:
Hylke Bons 2010-08-26 11:14:49 +01:00
parent 66eedfb666
commit 572142736a

View file

@ -52,12 +52,14 @@ namespace SparkleShare {
process.Start ();
};
// Add underline when hovering the link with the cursor
EnterNotifyEvent += delegate {
label.Markup = "<u>" + title + "</u>";
ShowAll ();
Realize ();
GdkWindow.Cursor = new Gdk.Cursor (Gdk.CursorType.Hand2);
};
@ -66,6 +68,8 @@ namespace SparkleShare {
label.Markup = title;
ShowAll ();
Realize ();
GdkWindow.Cursor = new Gdk.Cursor (Gdk.CursorType.Arrow);
};