diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-06-06 03:38:00 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-06-06 03:38:00 +0800 |
commit | ba793447966329f53c4cf2b14f2bfd32fd6e9de9 (patch) | |
tree | f669e62cbd8f903432be0a9835773cfdb6671531 /addressbook/gui/widgets | |
parent | c47e9c1b4560a8bc03f5432b35a0c3f1a5093574 (diff) | |
download | gsoc2013-evolution-ba793447966329f53c4cf2b14f2bfd32fd6e9de9.tar gsoc2013-evolution-ba793447966329f53c4cf2b14f2bfd32fd6e9de9.tar.gz gsoc2013-evolution-ba793447966329f53c4cf2b14f2bfd32fd6e9de9.tar.bz2 gsoc2013-evolution-ba793447966329f53c4cf2b14f2bfd32fd6e9de9.tar.lz gsoc2013-evolution-ba793447966329f53c4cf2b14f2bfd32fd6e9de9.tar.xz gsoc2013-evolution-ba793447966329f53c4cf2b14f2bfd32fd6e9de9.tar.zst gsoc2013-evolution-ba793447966329f53c4cf2b14f2bfd32fd6e9de9.zip |
Call e_minicard_selected in the GDK_BUTTON_RELEASE case here.
2002-06-05 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): Call
e_minicard_selected in the GDK_BUTTON_RELEASE case here.
(e_minicard_drag_begin): Set E_REFLOW (parent)->maybe_in_drag =
FALSE if it's an EReflow.
svn path=/trunk/; revision=17124
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index d8e34577b2..76761f9515 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -564,6 +564,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) break; } case GDK_BUTTON_RELEASE: + e_minicard_selected(e_minicard, event); if (e_minicard->drag_button == event->button.button) { e_minicard->drag_button = 0; e_minicard->drag_button_down = FALSE; @@ -989,8 +990,14 @@ static gint e_minicard_drag_begin (EMinicard *minicard, GdkEvent *event) { gint ret_val = 0; + GnomeCanvasItem *parent; gtk_signal_emit (GTK_OBJECT(minicard), e_minicard_signals[DRAG_BEGIN], event, &ret_val); + + parent = GNOME_CANVAS_ITEM (minicard)->parent; + if (parent && E_IS_REFLOW (parent)) { + E_REFLOW (parent)->maybe_in_drag = FALSE; + } return ret_val; } |