From e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde Mon Sep 17 00:00:00 2001 From: Lauris Kaplinski Date: Sat, 2 Sep 2000 02:51:32 +0000 Subject: A bit more e_utf8 wrappers here and there svn path=/trunk/; revision=5180 --- calendar/ChangeLog | 6 ++++++ calendar/gui/event-editor.c | 9 +++++---- calendar/gui/gncal-todo.c | 3 ++- 3 files changed, 13 insertions(+), 5 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 197410c3a2..1d663f2f75 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2000-09-02 Lauris Kaplinski + + * gui/event-editor.c: e_utf8 wrappers + + * gui/gncal-todo.c: e_utf8_wrappers + 2000-09-02 Christopher James Lahey * conduits/calendar/calendar-conduit.c, diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index c3c41e5cd5..34c659b163 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include "event-editor.h" @@ -1942,14 +1943,14 @@ append_exception (EventEditor *ee, time_t t) priv = ee->priv; - c[0] = get_exception_string (t); - tt = g_new (time_t, 1); *tt = t; clist = GTK_CLIST (priv->recurrence_exceptions_list); - i = gtk_clist_append (clist, c); + c[0] = get_exception_string (t); + i = e_utf8_gtk_clist_append (clist, c); + gtk_clist_set_row_data (clist, i, tt); gtk_clist_select_row (clist, i, 0); @@ -2014,7 +2015,7 @@ recurrence_exception_changed (GtkWidget *widget, EventEditor *ee) t = gtk_clist_get_row_data (clist, sel); *t = e_dialog_dateedit_get (priv->recurrence_exceptions_date); - gtk_clist_set_text (clist, sel, 0, get_exception_string (*t)); + e_utf8_gtk_clist_set_text (clist, sel, 0, get_exception_string (*t)); } diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index 8f39c09411..47d63e35e9 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/gncal-todo.c @@ -7,6 +7,7 @@ #include #include +#include "e-util/e-unicode.h" #include "event-editor.h" #include "gncal-todo.h" @@ -177,7 +178,7 @@ gncal_todo_edit (CalClient *client, CalComponent *comp) entry = gtk_entry_new (); cal_component_get_summary (comp, &text); - gtk_entry_set_text (GTK_ENTRY (entry), text.value); + e_utf8_gtk_entry_set_text (GTK_ENTRY (entry), text.value); gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0); gtk_widget_show (entry); -- cgit v1.2.3