aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/e-calendar-table.c15
2 files changed, 19 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index b970497853..95a2e21df9 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2000-12-08 JP Rosevear <jpr@helixcode.com>
+
+ * gui/e-calendar-table.c (e_calendar_table_init): Attach signal
+ handlers to the e_scrolled_table's etable rather than to the
+ e_scrolled_table directly
+ (e_calendar_table_on_double_click): This signal provides more
+ params now
+
2000-12-07 Christopher James Lahey <clahey@helixcode.com>
* gui/e-calendar-table.c: Got rid of code referencing the
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 080443e383..d5afbf6214 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -55,6 +55,8 @@ static void e_calendar_table_destroy (GtkObject *object);
static void e_calendar_table_on_double_click (ETable *table,
gint row,
+ gint col,
+ GdkEvent *event,
ECalendarTable *cal_table);
static gint e_calendar_table_on_right_click (ETable *table,
gint row,
@@ -197,6 +199,7 @@ static void
e_calendar_table_init (ECalendarTable *cal_table)
{
GtkWidget *table;
+ ETable *e_table;
ETableModel *model;
ECell *cell;
ETableExtras *extras;
@@ -264,13 +267,15 @@ e_calendar_table_init (ECalendarTable *cal_table)
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
gtk_widget_show (table);
- gtk_signal_connect (GTK_OBJECT (table), "double_click",
+
+ e_table = e_table_scrolled_get_table (E_TABLE_SCROLLED (table));
+ gtk_signal_connect (GTK_OBJECT (e_table), "double_click",
GTK_SIGNAL_FUNC (e_calendar_table_on_double_click),
cal_table);
- gtk_signal_connect (GTK_OBJECT (table), "right_click",
+ gtk_signal_connect (GTK_OBJECT (e_table), "right_click",
GTK_SIGNAL_FUNC (e_calendar_table_on_right_click),
cal_table);
- gtk_signal_connect (GTK_OBJECT (table), "key_press",
+ gtk_signal_connect (GTK_OBJECT (e_table), "key_press",
GTK_SIGNAL_FUNC (e_calendar_table_on_key_press),
cal_table);
}
@@ -318,7 +323,9 @@ e_calendar_table_set_cal_client (ECalendarTable *cal_table,
static void
e_calendar_table_on_double_click (ETable *table,
- gint row,
+ gint row,
+ gint col,
+ GdkEvent *event,
ECalendarTable *cal_table)
{
e_calendar_table_open_task (cal_table, row);