[gnome-calendar] window: fix focus issue when creating event
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: fix focus issue when creating event
- Date: Thu, 4 Dec 2014 22:37:58 +0000 (UTC)
commit 39318534cd1d22d93095f31bdb238540bb96c9e8
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Mon Oct 20 09:30:37 2014 -0400
window: fix focus issue when creating event
https://bugzilla.gnome.org/show_bug.cgi?id=738858
src/gcal-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index f5f2cd1..6da2150 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -217,6 +217,9 @@ key_pressed (GtkWidget *widget,
}
else
{
+ if (priv->new_event_mode)
+ return FALSE;
+
if ((event->state & GDK_META_MASK) != 0 ||
(event->state & GDK_CONTROL_MASK) != 0 ||
event->keyval == GDK_KEY_Control_L ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]