aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-23 05:00:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-23 05:00:32 +0800
commitfe26a0fee38b095d62a68783ea4d1b01b04e22db (patch)
tree51465d2d5affec0aa2f146ed5c2b8f7673e2c45b /addressbook
parent4c15e61e9542cde2f1af085f94deb8c5517dfa86 (diff)
downloadgsoc2013-evolution-fe26a0fee38b095d62a68783ea4d1b01b04e22db.tar
gsoc2013-evolution-fe26a0fee38b095d62a68783ea4d1b01b04e22db.tar.gz
gsoc2013-evolution-fe26a0fee38b095d62a68783ea4d1b01b04e22db.tar.bz2
gsoc2013-evolution-fe26a0fee38b095d62a68783ea4d1b01b04e22db.tar.lz
gsoc2013-evolution-fe26a0fee38b095d62a68783ea4d1b01b04e22db.tar.xz
gsoc2013-evolution-fe26a0fee38b095d62a68783ea4d1b01b04e22db.tar.zst
gsoc2013-evolution-fe26a0fee38b095d62a68783ea4d1b01b04e22db.zip
Allow GDK_ACTION_COPY also, since the composer for example does not accept
2002-04-22 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c4
2 files changed, 8 insertions, 2 deletions
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 <fejj@ximian.com>
+
+ * 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 <toshok@ximian.com>
* 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));