[evolution] Bug 607542 - Sometimes delete in pop up doesn't get displayed
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug 607542 - Sometimes delete in pop up doesn't get displayed
- Date: Wed, 20 Jan 2010 20:10:47 +0000 (UTC)
commit c0f58abbd7f388d7301adfcb0906d4850a7dcb80
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Jan 20 15:09:51 2010 -0500
Bug 607542 - Sometimes delete in pop up doesn't get displayed
addressbook/gui/widgets/e-addressbook-view.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 48058ad..6ffeee5 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -138,6 +138,12 @@ static void
addressbook_view_emit_popup_event (EAddressbookView *view,
GdkEvent *event)
{
+ /* Grab focus so that EFocusTracker asks us to update the
+ * selection-related actions before showing the popup menu.
+ * Apparently ETable doesn't automatically grab focus on
+ * right-clicks (is that a bug?). */
+ gtk_widget_grab_focus (GTK_WIDGET (view));
+
g_signal_emit (view, signals[POPUP_EVENT], 0, event);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]