aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/ChangeLog9
-rw-r--r--calendar/gncal-todo.c5
-rw-r--r--calendar/gui/gncal-todo.c5
3 files changed, 19 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 8e77abf3cd..b63cbbc630 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,12 @@
+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).
+
1999-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gncal-todo.c (gncal_todo_init): Make sure we can get events for
diff --git a/calendar/gncal-todo.c b/calendar/gncal-todo.c
index 0b7579bb7c..4f2f0345bb 100644
--- a/calendar/gncal-todo.c
+++ b/calendar/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);
}
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);
}