Re: [evolution-patches] Patch for Calendar's a11y bug 312447



Patch committed. Thanks for the review.
       Harry

chen wrote:
Looks good.

thanks, chenthill.

On Wed, 2005-08-03 at 17:06 +0800, Harry Lu wrote:
  
Calendar maintainers,
    Attached is a patch for 312447. Please review it.
    Thanks!
       Harry Lu
plain text document attachment (time.diff)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2785
diff -u -p -r1.2785 ChangeLog
--- ChangeLog	3 Aug 2005 08:59:28 -0000	1.2785
+++ ChangeLog	3 Aug 2005 09:03:21 -0000
@@ -1,3 +1,12 @@
+2005-08-03  Harry Lu  <harry lu sun com>
+
+	Fix for #312447.
+
+	* gui/gnome-cal.c: (notify_selected_time_changed): new function
+	to emit "selected_time_changed" signal for all views.
+	(gnome_calendar_goto_date): call notify_selected_time_changed
+	after date changing.
+
 2005-08-03  Chenthill Palanisamy  <pchenthill novell com>
 
 	Fixes #309601
Index: gui/gnome-cal.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/gnome-cal.c,v
retrieving revision 1.384
diff -u -p -r1.384 gnome-cal.c
--- gui/gnome-cal.c	22 Jul 2005 11:41:35 -0000	1.384
+++ gui/gnome-cal.c	3 Aug 2005 09:03:24 -0000
@@ -1667,6 +1667,18 @@ gnome_calendar_destroy (GtkObject *objec
 }
 
 static void
+notify_selected_time_changed (GnomeCalendar *gcal)
+{
+	GnomeCalendarPrivate *priv;
+	int i;
+	
+	priv = gcal->priv;
+	for (i = 0; i < GNOME_CAL_LAST_VIEW; i++) {
+		g_signal_emit_by_name (priv->views[i], "selected_time_changed");
+	}
+}
+
+static void
 gnome_calendar_goto_date (GnomeCalendar *gcal,
 			  GnomeCalendarGotoDateType goto_date)
 {
@@ -1731,6 +1743,7 @@ gnome_calendar_goto_date (GnomeCalendar 
 		update_view_times (gcal, new_time);
 		gnome_calendar_update_date_navigator (gcal);
 		gnome_calendar_notify_dates_shown_changed (gcal);
+		notify_selected_time_changed (gcal);
 	}
 }
 
_______________________________________________
evolution-patches mailing list
evolution-patches lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution-patches
    
_______________________________________________
evolution-patches mailing list
evolution-patches lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution-patches

  


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