1 diff -urNd ../gtk+-2.4.4-r7/gtk+-2.4.4/gtk/gtkcalendar.c gtk+-2.4.4/gtk/gtkcalendar.c
2 --- ../gtk+-2.4.4-r7/gtk+-2.4.4/gtk/gtkcalendar.c 2004-07-10 05:02:10.000000000 +0100
3 +++ gtk+-2.4.4/gtk/gtkcalendar.c 2004-09-18 12:41:28.000000000 +0100
5 private_data->drag_start_y = y;
7 gtk_calendar_select_and_focus_day (calendar, day);
9 - else if (event->type == GDK_2BUTTON_PRESS)
12 + // Double-click action follows
13 private_data->in_drag = 0;
14 if (day_month == MONTH_CURRENT)
15 g_signal_emit (calendar,
16 diff -urNd ../gtk+-2.4.4-r7/gtk+-2.4.4/gtk/gtktreeview.c gtk+-2.4.4/gtk/gtktreeview.c
17 --- ../gtk+-2.4.4-r7/gtk+-2.4.4/gtk/gtktreeview.c 2004-07-10 05:02:11.000000000 +0100
18 +++ gtk+-2.4.4/gtk/gtktreeview.c 2004-09-18 13:49:23.000000000 +0100
20 tree_view->priv->focus_column = column;
22 /* decide if we edit */
23 - if (event->type == GDK_BUTTON_PRESS && event->button == 1 &&
24 + /* Changed from button 1 to 2 so as not to conflict with the single-click activation */
25 + if (event->type == GDK_BUTTON_PRESS && event->button == 2 &&
26 !(event->state & gtk_accelerator_get_default_mod_mask ()))
29 @@ -2305,16 +2306,13 @@
30 /* Test if a double click happened on the same row. */
31 if (event->button == 1)
33 - /* We also handle triple clicks here, because a user could have done
34 - * a first click and a second double click on different rows.
35 + /* Replaced double/triple click with single-click for PDAs.
37 - if ((event->type == GDK_2BUTTON_PRESS
38 - || event->type == GDK_3BUTTON_PRESS)
39 - && tree_view->priv->last_button_press)
40 + if (event->type == GDK_BUTTON_PRESS)
44 - lsc = gtk_tree_row_reference_get_path (tree_view->priv->last_button_press);
45 + lsc = gtk_tree_row_reference_get_path (tree_view->priv->cursor);