diff options
author | Damon Chaplin <damon@ximian.com> | 2001-10-25 05:02:43 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-10-25 05:02:43 +0800 |
commit | 1c61950527e07b6f0343f0c1a9ecf7d043b7873e (patch) | |
tree | 65886d121b33109e53f9c93ece7923bec6c81764 /calendar/gui/e-meeting-model.c | |
parent | bb7d2c44996f10c4e768f0e86d5f894d607f3864 (diff) | |
download | gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.gz gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.bz2 gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.lz gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.xz gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.zst gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.zip |
when iterating over the subcomponents, use 'subcomp' rather than
2001-10-24 Damon Chaplin <damon@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_update_objects): when
iterating over the subcomponents, use 'subcomp' rather than 'icalcomp'.
That meant it wasn't working at all well when an entire VCALENDAR
was passed in.
* cal-util/cal-component.c: handle DURATION property used instead of
DTEND or DUE. In cal_component_get_dtend/due we will return DTSTART
+ DURATION if necessary. In set_dtend/due we remove any DURATION
property. Fixes bug #11262.
* gui/e-meeting-model.c (build_etable):
* gui/e-calendar-table.c (e_calendar_table_init): use U_ for the
ECellCombo popdown strings, as it expects UTF-8 strings.
svn path=/trunk/; revision=13992
Diffstat (limited to 'calendar/gui/e-meeting-model.c')
-rw-r--r-- | calendar/gui/e-meeting-model.c | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/calendar/gui/e-meeting-model.c b/calendar/gui/e-meeting-model.c index 24e8913431..d0d877e133 100644 --- a/calendar/gui/e-meeting-model.c +++ b/calendar/gui/e-meeting-model.c @@ -43,6 +43,7 @@ #include <e-card.h> #include <e-card-simple.h> #include <e-destination.h> +#include <e-util/e-unicode-i18n.h> #include <cal-util/cal-component.h> #include <cal-util/cal-util.h> #include <cal-util/timeutil.h> @@ -684,11 +685,11 @@ build_etable (ETableModel *model, const gchar *spec_file, const gchar *state_fil gtk_object_unref (GTK_OBJECT (cell)); strings = NULL; - strings = g_list_append (strings, _("Individual")); - strings = g_list_append (strings, _("Group")); - strings = g_list_append (strings, _("Resource")); - strings = g_list_append (strings, _("Room")); - strings = g_list_append (strings, _("Unknown")); + strings = g_list_append (strings, (char*) U_("Individual")); + strings = g_list_append (strings, (char*) U_("Group")); + strings = g_list_append (strings, (char*) U_("Resource")); + strings = g_list_append (strings, (char*) U_("Room")); + strings = g_list_append (strings, (char*) U_("Unknown")); e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell), strings); e_table_extras_add_cell (extras, "typeedit", popup_cell); @@ -700,11 +701,11 @@ build_etable (ETableModel *model, const gchar *spec_file, const gchar *state_fil gtk_object_unref (GTK_OBJECT (cell)); strings = NULL; - strings = g_list_append (strings, _("Chair")); - strings = g_list_append (strings, _("Required Participant")); - strings = g_list_append (strings, _("Optional Participant")); - strings = g_list_append (strings, _("Non-Participant")); - strings = g_list_append (strings, _("Unknown")); + strings = g_list_append (strings, (char*) U_("Chair")); + strings = g_list_append (strings, (char*) U_("Required Participant")); + strings = g_list_append (strings, (char*) U_("Optional Participant")); + strings = g_list_append (strings, (char*) U_("Non-Participant")); + strings = g_list_append (strings, (char*) U_("Unknown")); e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell), strings); e_table_extras_add_cell (extras, "roleedit", popup_cell); @@ -716,8 +717,8 @@ build_etable (ETableModel *model, const gchar *spec_file, const gchar *state_fil gtk_object_unref (GTK_OBJECT (cell)); strings = NULL; - strings = g_list_append (strings, _("Yes")); - strings = g_list_append (strings, _("No")); + strings = g_list_append (strings, (char*) U_("Yes")); + strings = g_list_append (strings, (char*) U_("No")); e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell), strings); e_table_extras_add_cell (extras, "rsvpedit", popup_cell); @@ -729,11 +730,11 @@ build_etable (ETableModel *model, const gchar *spec_file, const gchar *state_fil gtk_object_unref (GTK_OBJECT (cell)); strings = NULL; - strings = g_list_append (strings, _("Needs Action")); - strings = g_list_append (strings, _("Accepted")); - strings = g_list_append (strings, _("Declined")); - strings = g_list_append (strings, _("Tentative")); - strings = g_list_append (strings, _("Delegated")); + strings = g_list_append (strings, (char*) U_("Needs Action")); + strings = g_list_append (strings, (char*) U_("Accepted")); + strings = g_list_append (strings, (char*) U_("Declined")); + strings = g_list_append (strings, (char*) U_("Tentative")); + strings = g_list_append (strings, (char*) U_("Delegated")); e_cell_combo_set_popdown_strings (E_CELL_COMBO (popup_cell), strings); e_table_extras_add_cell (extras, "statusedit", popup_cell); |