From fe26a0fee38b095d62a68783ea4d1b01b04e22db Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 22 Apr 2002 21:00:32 +0000 Subject: Allow GDK_ACTION_COPY also, since the composer for example does not accept 2002-04-22 Jeffrey Stedfast * gui/widgets/e-minicard-view.c (e_minicard_view_drag_begin): Allow GDK_ACTION_COPY also, since the composer for example does not accept MOVE's. Completes bug #8448. svn path=/trunk/; revision=16558 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/widgets/e-minicard-view.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 8d73b97f85..3d1bcffb4d 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2002-04-22 Jeffrey Stedfast + + * gui/widgets/e-minicard-view.c (e_minicard_view_drag_begin): + Allow GDK_ACTION_COPY also, since the composer for example does + not accept MOVE's. Completes bug #8448. + 2002-04-18 Chris Toshok * gui/component/ldap-config.glade: change order of scope option diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index ed020b93be..40cd4409be 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -120,8 +120,8 @@ e_minicard_view_drag_begin (EAddressbookReflowAdapter *adapter, GdkEvent *event, { GdkDragContext *context; GtkTargetList *target_list; - GdkDragAction actions = GDK_ACTION_MOVE; - + GdkDragAction actions = GDK_ACTION_MOVE | GDK_ACTION_COPY; + view->drag_list = get_card_list (adapter, E_REFLOW (view)->selection); g_print ("dragging %d card(s)\n", g_list_length (view->drag_list)); -- cgit v1.2.3