From adc0e71ea6d243e815a7fed8fdd37b69bbf352db Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 13 Jan 2011 23:22:29 -0500 Subject: Adapt to GtkComboBox class reorg. --- calendar/gui/dialogs/event-page.c | 2 +- calendar/gui/dialogs/event-page.ui | 4 +++- calendar/gui/dialogs/memo-page.c | 2 +- calendar/gui/dialogs/memo-page.ui | 4 +++- calendar/gui/dialogs/task-page.c | 2 +- calendar/gui/dialogs/task-page.ui | 3 ++- 6 files changed, 11 insertions(+), 6 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 1798d09f90..7595f50915 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -2247,7 +2247,7 @@ get_widgets (EventPage *epage) priv->organizer = GW ("organizer"); gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (priv->organizer)))); - gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX_ENTRY (priv->organizer), 0); + gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (priv->organizer), 0); priv->summary = GW ("summary"); priv->summary_label = GW ("summary-label"); diff --git a/calendar/gui/dialogs/event-page.ui b/calendar/gui/dialogs/event-page.ui index 0f5841ea08..0d3d73f5a8 100644 --- a/calendar/gui/dialogs/event-page.ui +++ b/calendar/gui/dialogs/event-page.ui @@ -741,10 +741,12 @@ True 0 - + True False True + True + 0 True model2 diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 60d6098a7e..996a4de8a5 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -826,7 +826,7 @@ get_widgets (MemoPage *mpage) priv->org_label = GW ("org-label"); priv->org_combo = GW ("org-combo"); gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (priv->org_combo)))); - gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX_ENTRY (priv->org_combo), 0); + gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (priv->org_combo), 0); priv->to_button = GW ("to-button"); priv->to_hbox = GW ("to-hbox"); diff --git a/calendar/gui/dialogs/memo-page.ui b/calendar/gui/dialogs/memo-page.ui index 6e9be05058..f0dd0bb974 100644 --- a/calendar/gui/dialogs/memo-page.ui +++ b/calendar/gui/dialogs/memo-page.ui @@ -422,10 +422,12 @@ - + False False True + True + 0 True model1 diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 8fe16d007d..7956b1b5d7 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -1418,7 +1418,7 @@ get_widgets (TaskPage *tpage) priv->organizer = e_builder_get_widget (priv->builder, "organizer"); gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (priv->organizer)))); - gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX_ENTRY (priv->organizer), 0); + gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (priv->organizer), 0); priv->invite = e_builder_get_widget (priv->builder, "invite"); priv->add = e_builder_get_widget (priv->builder, "add-attendee"); diff --git a/calendar/gui/dialogs/task-page.ui b/calendar/gui/dialogs/task-page.ui index 5d685a32f8..664caadf68 100644 --- a/calendar/gui/dialogs/task-page.ui +++ b/calendar/gui/dialogs/task-page.ui @@ -408,9 +408,10 @@ 6 True - + True model1 + TRUE 0 -- cgit