aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-07-03 04:39:33 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-07-03 04:39:33 +0800
commitb006d69369cd746250a0d807f9b92629c7901eb3 (patch)
treed46613570e8ee86be166ea0a8e66dfe0c246f8dc
parente11954c5fb530980e6f800899a75178d4b6574f0 (diff)
downloadgsoc2013-evolution-b006d69369cd746250a0d807f9b92629c7901eb3.tar.gz
gsoc2013-evolution-b006d69369cd746250a0d807f9b92629c7901eb3.tar.zst
gsoc2013-evolution-b006d69369cd746250a0d807f9b92629c7901eb3.zip
fill in delegated from field
2001-07-02 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): fill in delegated from field svn path=/trunk/; revision=10701
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/task-details-page.c9
-rw-r--r--calendar/gui/dialogs/task-details-page.glade2
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>