diff options
author | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-02 10:51:32 +0800 |
---|---|---|
committer | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-02 10:51:32 +0800 |
commit | e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde (patch) | |
tree | e81cd450c3094cf33bbda8d65508b6edd5654625 /calendar/gui | |
parent | 16829497fd3a11bae35aaa440ee18ede4961ceb9 (diff) | |
download | gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.gz gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.tar.zst gsoc2013-evolution-e8ae4bc97abed6ad8571908f5fc4ac6fd5565fde.zip |
A bit more e_utf8 wrappers here and there
svn path=/trunk/; revision=5180
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/event-editor.c | 9 | ||||
-rw-r--r-- | calendar/gui/gncal-todo.c | 3 |
2 files changed, 7 insertions, 5 deletions
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 <gnome.h> #include <glade/glade.h> #include <e-util/e-dialog-widgets.h> +#include <e-util/e-unicode.h> #include <cal-util/timeutil.h> #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 <config.h> #include <gnome.h> +#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); |