diff options
author | Li Yuan <li.yuan@sun.com> | 2004-10-29 17:56:35 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2004-10-29 17:56:35 +0800 |
commit | 1f9e3b3e28c3154c826055f8e6dd6412f2a84758 (patch) | |
tree | 75d12457842798f85f53c531713bbf0f68cf263d /a11y/calendar/ea-day-view.c | |
parent | fe2e407a1147185d970d27cfc3183e5a9b342b18 (diff) | |
download | gsoc2013-evolution-1f9e3b3e28c3154c826055f8e6dd6412f2a84758.tar.gz gsoc2013-evolution-1f9e3b3e28c3154c826055f8e6dd6412f2a84758.tar.zst gsoc2013-evolution-1f9e3b3e28c3154c826055f8e6dd6412f2a84758.zip |
for calendar_get_text_for_folder_bar_label has been removed form
2004-10-26 Li Yuan <li.yuan@sun.com>
* calendar/ea-day-view.c: (ea_day_view_get_name):
* calendar/ea-gnome-calendar.c:
(ea_gnome_calendar_get_label_description),
(ea_gcal_dates_change_cb):
* calendar/ea-gnome-calendar.h:
* calendar/ea-week-view.c: (ea_week_view_get_name):
for calendar_get_text_for_folder_bar_label has been removed form
calendar-commands.c, we implement it ourself.
svn path=/trunk/; revision=27763
Diffstat (limited to 'a11y/calendar/ea-day-view.c')
-rw-r--r-- | a11y/calendar/ea-day-view.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/a11y/calendar/ea-day-view.c b/a11y/calendar/ea-day-view.c index 7f5926e9a6..49b7a123ed 100644 --- a/a11y/calendar/ea-day-view.c +++ b/a11y/calendar/ea-day-view.c @@ -27,6 +27,7 @@ #include "ea-cal-view-event.h" #include "ea-calendar-helpers.h" +#include "ea-gnome-calendar.h" #include "calendar-commands.h" #include <glib/gstrfuncs.h> #include <libgnome/gnome-i18n.h> @@ -137,12 +138,12 @@ ea_day_view_get_name (AtkObject *accessible) day_view = E_DAY_VIEW (GTK_ACCESSIBLE (accessible)->widget); gcal = e_calendar_view_get_calendar (E_CALENDAR_VIEW (day_view)); - label_text = calendar_get_text_for_folder_bar_label (gcal); + label_text = ea_gnome_calendar_get_label_description (gcal); n_events = atk_object_get_n_accessible_children (accessible); /* the child main item is always there */ --n_events; - if (n_events = 1) + if (n_events == 1) g_snprintf (buffer, sizeof (buffer), _(", %d event"), n_events); if (n_events > 1) |