Re: [evolution-patches] [calendar] fix for bug#270036



There is a call back function already present, just have to add the
signal handler for it. Have attached the modified patch. Committed it to
both the branches.

thanks, Chenthill.
On Fri, 2005-09-23 at 02:51 -0600, Dinesh Layek wrote:
> Attached patch fixes bug #270036
> Please review.
> 
> Regards,
> Dinesh Layek
> 
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-patches
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2802.2.3
diff -u -p -r1.2802.2.3 ChangeLog
--- ChangeLog	29 Sep 2005 12:49:17 -0000	1.2802.2.3
+++ ChangeLog	30 Sep 2005 10:14:06 -0000
@@ -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 
Index: gui/dialogs/cal-prefs-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/cal-prefs-dialog.c,v
retrieving revision 1.42
diff -u -p -r1.42 cal-prefs-dialog.c
--- gui/dialogs/cal-prefs-dialog.c	23 Jun 2005 09:11:05 -0000	1.42
+++ gui/dialogs/cal-prefs-dialog.c	30 Sep 2005 10:14:06 -0000
@@ -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 (
 {
 	cal_prefs_dialog_url_edit_clicked  (NULL, dialog_data);
 }				
-
+				
 static void
 cal_prefs_dialog_url_list_change (GtkTreeSelection *selection, 
 				  DialogData *dialog_data)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]