+static gboolean noticeview_visi_notify(GtkWidget *widget,
+ GdkEventVisibility *event,
+ NoticeView *noticeview)
+{
+ if (noticeview->icon_clickable)
+ gdk_window_set_cursor(noticeview->evtbox->window, hand_cursor);
+ return FALSE;
+}
+
+static gboolean noticeview_motion_notify(GtkWidget *widget,
+ GdkEventMotion *event,
+ NoticeView *noticeview)
+{
+ if (noticeview->icon_clickable)
+ gdk_window_set_cursor(noticeview->evtbox->window, hand_cursor);
+ return FALSE;
+}
+
+static gboolean noticeview_leave_notify(GtkWidget *widget,
+ GdkEventCrossing *event,
+ NoticeView *noticeview)
+{
+ gdk_window_set_cursor(noticeview->evtbox->window, NULL);
+ return FALSE;
+}
+
+static gboolean noticeview_enter_notify(GtkWidget *widget,
+ GdkEventCrossing *event,
+ NoticeView *noticeview)
+{
+ if (noticeview->icon_clickable)
+ gdk_window_set_cursor(noticeview->evtbox->window, hand_cursor);
+ return FALSE;
+}
+