aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-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);
}