[evolution] Bug 620951 - A11y support still thinks GnomeCalendar is a widget



commit d560acb233d4a0100d9cd52377c5dc2029d4a2b0
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Jun 20 23:54:27 2010 -0400

    Bug 620951 - A11y support still thinks GnomeCalendar is a widget

 calendar/gui/ea-day-view.c  |    2 --
 calendar/gui/ea-week-view.c |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/calendar/gui/ea-day-view.c b/calendar/gui/ea-day-view.c
index 991a78e..4796920 100644
--- a/calendar/gui/ea-day-view.c
+++ b/calendar/gui/ea-day-view.c
@@ -137,8 +137,6 @@ ea_day_view_get_name (AtkObject *accessible)
 
 	day_view = E_DAY_VIEW (widget);
 	gcal = e_calendar_view_get_calendar (E_CALENDAR_VIEW (day_view));
-	if (!gtk_widget_get_visible (GTK_WIDGET (gcal)))
-		return NULL;
 
 	label_text = ea_gnome_calendar_get_label_description (gcal);
 
diff --git a/calendar/gui/ea-week-view.c b/calendar/gui/ea-week-view.c
index 19028cf..e6683f5 100644
--- a/calendar/gui/ea-week-view.c
+++ b/calendar/gui/ea-week-view.c
@@ -138,8 +138,6 @@ ea_week_view_get_name (AtkObject *accessible)
 
 	week_view = E_WEEK_VIEW (widget);
 	gcal = e_calendar_view_get_calendar (E_CALENDAR_VIEW (week_view));
-	if (!gtk_widget_get_visible (GTK_WIDGET (gcal)))
-		return NULL;
 
 	label_text = ea_gnome_calendar_get_label_description (gcal);
 



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