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
This commit is contained in:
Christopher James Lahey
2001-10-21 06:18:37 +00:00
committed by Chris Lahey
parent 4e91164bc7
commit 24ebc6a712
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c

View File

@ -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);
}

View File

@ -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: