aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-04-17 04:16:40 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-04-17 04:16:40 +0800
commitd69cf86b685c94f8b0892b24444f24b36a57a234 (patch)
tree5d3e7280d0cc14ab8af9b85815dded56e9cda630 /calendar/gui/gncal-todo.c
parent4f5ca04f7bb226e61a7d387c95e18cc7277fb77b (diff)
downloadgsoc2013-evolution-d69cf86b685c94f8b0892b24444f24b36a57a234.tar
gsoc2013-evolution-d69cf86b685c94f8b0892b24444f24b36a57a234.tar.gz
gsoc2013-evolution-d69cf86b685c94f8b0892b24444f24b36a57a234.tar.bz2
gsoc2013-evolution-d69cf86b685c94f8b0892b24444f24b36a57a234.tar.lz
gsoc2013-evolution-d69cf86b685c94f8b0892b24444f24b36a57a234.tar.xz
gsoc2013-evolution-d69cf86b685c94f8b0892b24444f24b36a57a234.tar.zst
gsoc2013-evolution-d69cf86b685c94f8b0892b24444f24b36a57a234.zip
Kill all grabs from the CList before running the new dialog box.
1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-todo.c (edit_activated): Kill all grabs from the CList before running the new dialog box. This fixes the problem of button-3/Edit on the todo item blocking the GUI (actually, the main window responds, but not the todo window). svn path=/trunk/; revision=817
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index 0b7579bb7c..4f2f0345bb 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -264,6 +264,11 @@ add_activated (GtkWidget *widget, GncalTodo *todo)
static void
edit_activated (GtkWidget *widget, GncalTodo *todo)
{
+ GtkWidget *w;
+
+ while ((w = gtk_grab_get_current ()) != NULL)
+ gtk_grab_remove (w);
+
edit_todo (todo);
}