From d41d8024ae45564285dd8ea806bfc2cf24af99ea Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Thu, 8 Apr 1999 16:46:36 +0000 Subject: Make sure we can get events for button3. The code for the nice popup menu 1999-04-08 Miguel de Icaza * gncal-todo.c (gncal_todo_init): Make sure we can get events for button3. The code for the nice popup menu was there but was not getting invoked. svn path=/trunk/; revision=806 --- calendar/ChangeLog | 6 ++++++ calendar/gncal-todo.c | 1 + calendar/gui/gncal-todo.c | 1 + 3 files changed, 8 insertions(+) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 121dd41dcd..8e77abf3cd 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +1999-04-08 Miguel de Icaza + + * gncal-todo.c (gncal_todo_init): Make sure we can get events for + button3. The code for the nice popup menu was there but was not + getting invoked. + 1999-04-01 Steve Murphy * calobj.c (weekdaynum): Added this routine so Monthly recurrences diff --git a/calendar/gncal-todo.c b/calendar/gncal-todo.c index e1c708384b..0b7579bb7c 100644 --- a/calendar/gncal-todo.c +++ b/calendar/gncal-todo.c @@ -410,6 +410,7 @@ gncal_todo_init (GncalTodo *todo) gtk_signal_connect (GTK_OBJECT (todo->clist), "select_row", (GtkSignalFunc) clist_row_selected, todo); + gtk_clist_set_button_actions (todo->clist, 2, GTK_BUTTON_SELECTS); gtk_signal_connect (GTK_OBJECT (todo->clist), "resize_column", (GtkSignalFunc) column_resized, todo); diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index e1c708384b..0b7579bb7c 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/gncal-todo.c @@ -410,6 +410,7 @@ gncal_todo_init (GncalTodo *todo) gtk_signal_connect (GTK_OBJECT (todo->clist), "select_row", (GtkSignalFunc) clist_row_selected, todo); + gtk_clist_set_button_actions (todo->clist, 2, GTK_BUTTON_SELECTS); gtk_signal_connect (GTK_OBJECT (todo->clist), "resize_column", (GtkSignalFunc) column_resized, todo); -- cgit v1.2.3