Esempio n. 1
0
static void
attachment_button_expand_drag_begin_cb (EAttachmentButton *button,
                                        GdkDragContext *context)
{
	EAttachmentView *view;

	view = e_attachment_button_get_view (button);

	attachment_button_select_path (button);
	e_attachment_view_drag_begin (view, context);
}
Esempio n. 2
0
static void
attachment_icon_view_drag_begin (GtkWidget *widget,
                                 GdkDragContext *context)
{
	EAttachmentView *view = E_ATTACHMENT_VIEW (widget);

	/* Chain up to parent's drag_begin() method. */
	GTK_WIDGET_CLASS (e_attachment_icon_view_parent_class)->
		drag_begin (widget, context);

	e_attachment_view_drag_begin (view, context);
}