From 6d3a5db30b2408177fa38b27f2864a5961833a5d Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Fri, 30 Sep 2005 10:21:19 +0000 Subject: Fixes #270036 svn path=/trunk/; revision=30434 --- calendar/ChangeLog | 8 ++++++++ calendar/gui/dialogs/cal-prefs-dialog.c | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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 + + Fixes #270036 + (init_widgets): added the missing signal handler when + the list selection changes. + + Reworked the patch from Dinesh Layek + 2005-08-29 Chenthill Palanisamy * 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) -- cgit v1.2.3