aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-04-09 00:46:36 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-04-09 00:46:36 +0800
commitd41d8024ae45564285dd8ea806bfc2cf24af99ea (patch)
tree562d8b4f37ec869c7ac5699a1c3415e44eb671fa
parentf6e63793c1db671c26e3b0b2643cb0723298eadb (diff)
downloadgsoc2013-evolution-d41d8024ae45564285dd8ea806bfc2cf24af99ea.tar.gz
gsoc2013-evolution-d41d8024ae45564285dd8ea806bfc2cf24af99ea.tar.zst
gsoc2013-evolution-d41d8024ae45564285dd8ea806bfc2cf24af99ea.zip
Make sure we can get events for button3. The code for the nice popup menu
1999-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx> * 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
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gncal-todo.c1
-rw-r--r--calendar/gui/gncal-todo.c1
3 files changed, 8 insertions, 0 deletions
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 <miguel@nuclecu.unam.mx>
+
+ * 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 <murf@e-tools.com>
* 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);