month-view: set as a drag destination
The month view will be the first one to receive support for drag and drop. As such, it must be set as a drag destination.
This commit is contained in:
@@ -883,6 +883,13 @@ gcal_month_view_init (GcalMonthView *self)
|
||||
gtk_container_add (GTK_CONTAINER (grid), priv->popover_title);
|
||||
gtk_container_add (GTK_CONTAINER (grid), priv->events_list_box);
|
||||
gtk_container_add (GTK_CONTAINER (grid), button);
|
||||
|
||||
/* Setup the month view as a drag n' drop destination */
|
||||
gtk_drag_dest_set (GTK_WIDGET (self),
|
||||
0,
|
||||
NULL,
|
||||
0,
|
||||
GDK_ACTION_MOVE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user