diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/task-details-page.c | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-details-page.glade | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index 885fce3409..9a1a4b46c6 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -260,8 +260,11 @@ task_details_page_fill_widgets (CompEditorPage *page, CalComponent *comp) attendee = list->data; if (attendee->delto) e_dialog_editable_set (priv->delegated_to, attendee->delto); - if (attendee->delfrom) - e_dialog_editable_set (priv->delegated_from, attendee->delfrom); + if (attendee->delfrom) { + gchar *s = e_utf8_to_gtk_string (priv->delegated_from, attendee->delfrom); + gtk_label_set_text (GTK_LABEL (priv->delegated_from), s); + g_free (s); + } } cal_component_free_attendee_list (list); @@ -559,8 +562,6 @@ task_details_page_show_delegation (TaskDetailsPage *tdpage, gboolean show) gtk_widget_hide (priv->delegated_from); gtk_widget_hide (priv->delegated_from_lbl); } - -// gtk_widget_queue_draw (priv->main); } GtkWidget *task_details_page_create_date_edit (void); diff --git a/calendar/gui/dialogs/task-details-page.glade b/calendar/gui/dialogs/task-details-page.glade index 77c9679e1f..962906ebb4 100644 --- a/calendar/gui/dialogs/task-details-page.glade +++ b/calendar/gui/dialogs/task-details-page.glade @@ -249,7 +249,7 @@ <widget> <class>GtkLabel</class> <name>delegated-from-label</name> - <label>Delegated By:</label> + <label>Delegated From:</label> <justify>GTK_JUSTIFY_CENTER</justify> <wrap>False</wrap> <xalign>0</xalign> |