diff options
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.c | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 09ca8ed37c..0433ab8c79 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2005-08-30 Chenthill Palanisamy <pchenthill@novell.com> + + Fixes #270036 + (init_widgets): added the missing signal handler when + the list selection changes. + + Reworked the patch from Dinesh Layek <ldinesh@novell.com> + 2005-08-29 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-calendar-table.c (e_calendar_table_open_task): Set the diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index e22a6aac0a..e2e57643b9 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -596,6 +596,9 @@ init_widgets (DialogData *dialog_data) g_signal_connect (dialog_data->url_list, "row-activated", G_CALLBACK (cal_prefs_dialog_url_list_double_click), dialog_data); + g_signal_connect (selection, "changed", + G_CALLBACK (cal_prefs_dialog_url_list_change), + dialog_data); } /* Sets the color in a color picker from an X color spec */ @@ -833,7 +836,7 @@ cal_prefs_dialog_url_list_double_click (GtkTreeView *treeview, { cal_prefs_dialog_url_edit_clicked (NULL, dialog_data); } - + static void cal_prefs_dialog_url_list_change (GtkTreeSelection *selection, DialogData *dialog_data) |