diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-details-page.c | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-details-page.glade | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 024049f105..29d6595ac6 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2001-07-02 JP Rosevear <jpr@ximian.com> + + * gui/dialogs/task-details-page.c + (task_details_page_fill_widgets): fill in delegated from field + 2001-07-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/task-page.c (categories_clicked_cb): 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> |