year-view: render DnD selector on hover

This commit adds the ability to render a DnD square
to give visual feedback for the hover operation.
This commit is contained in:
Georges Basile Stavracas Neto
2016-05-21 18:54:47 -03:00
parent c7d92e9f37
commit 44f5cbe607
3 changed files with 72 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@
<signal name="button-press-event" handler="navigator_button_press_cb" object="GcalYearView" swapped="yes"/>
<signal name="button-release-event" handler="navigator_button_release_cb" object="GcalYearView" swapped="yes"/>
<signal name="motion-notify-event" handler="navigator_motion_notify_cb" object="GcalYearView" swapped="yes"/>
<signal name="drag-motion" handler="navigator_drag_motion_cb" object="GcalYearView" swapped="yes"/>
<style>
<class name="year-navigator"/>
</style>