aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-21 14:18:37 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-21 14:18:37 +0800
commit24ebc6a7129779199d2c0509e54a17897603a09a (patch)
tree645e55600d69dc69f9b8f26187fcccb3336e71bd /addressbook/gui
parent4e91164bc727156cb775429fbc654f8f0921633a (diff)
downloadgsoc2013-evolution-24ebc6a7129779199d2c0509e54a17897603a09a.tar
gsoc2013-evolution-24ebc6a7129779199d2c0509e54a17897603a09a.tar.gz
gsoc2013-evolution-24ebc6a7129779199d2c0509e54a17897603a09a.tar.bz2
gsoc2013-evolution-24ebc6a7129779199d2c0509e54a17897603a09a.tar.lz
gsoc2013-evolution-24ebc6a7129779199d2c0509e54a17897603a09a.tar.xz
gsoc2013-evolution-24ebc6a7129779199d2c0509e54a17897603a09a.tar.zst
gsoc2013-evolution-24ebc6a7129779199d2c0509e54a17897603a09a.zip
right_click_up here when we let go of the popup.
2001-10-21 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c (model_and_selection_free): right_click_up here when we let go of the popup. * gui/widgets/e-minicard-view.c (e_minicard_view_selection_event): right_click_up here. svn path=/trunk/; revision=13843
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-addressbook-reflow-adapter.c1
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
index 3c3f716c63..66f21dbc9d 100644
--- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
@@ -100,6 +100,7 @@ static void
model_and_selection_free (ModelAndSelection *mns)
{
gtk_object_unref(GTK_OBJECT(mns->adapter));
+ e_selection_model_right_click_up(mns->selection);
gtk_object_unref(GTK_OBJECT(mns->selection));
g_free(mns);
}
diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c
index 70e873f9e2..fa1f2bbced 100644
--- a/addressbook/gui/widgets/e-minicard-view.c
+++ b/addressbook/gui/widgets/e-minicard-view.c
@@ -301,6 +301,8 @@ e_minicard_view_selection_event (EReflow *reflow, GnomeCanvasItem *item, GdkEven
case GDK_BUTTON_PRESS:
if (event->button.button == 3) {
return_val = e_addressbook_reflow_adapter_right_click (view->adapter, event, reflow->selection);
+ if (!return_val)
+ e_selection_model_right_click_up(E_SELECTION_MODEL (view->selection));
}
break;
default: