aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/weekday-picker.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-10-27 12:09:34 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-10-27 12:09:34 +0800
commit0670283434a985fd13c381e3e5081cc8ec7555d1 (patch)
tree3f6fe6d9cc1802e7bf542f97c4347c89aa013689 /calendar/gui/weekday-picker.c
parentb234a3141bf6607ac8f4a980637d5f63e9b74511 (diff)
downloadgsoc2013-evolution-0670283434a985fd13c381e3e5081cc8ec7555d1.tar.gz
gsoc2013-evolution-0670283434a985fd13c381e3e5081cc8ec7555d1.tar.zst
gsoc2013-evolution-0670283434a985fd13c381e3e5081cc8ec7555d1.zip
This is the new recurrence page, partially finished. I just want it on CVS
This is the new recurrence page, partially finished. I just want it on CVS for if my laptop explodes. This is highly disgusting code. It has to discriminate between the recurrence types we support and the ones we do not. I hate iCalendar. I hate it more than Hi-Fi\'s pizza. 2000-10-26 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (EventEditorPrivate): Integrate Anna's new recurrence page. Replace the old widget pointers with the new ones. Modified the relevant functions accordingly and added plenty of new ones. (event_editor_get_cal_client): New function. (fill_recurrence_widgets): This is *THE* tricky function for you. It has to discriminate whether we get a recurrence we support for editing or not. And this is not trivial. Sigh. (event_editor_update_widgets): Added preconditions and API docs. * event-editor-dialog.glade: Fixed all the spacings/ paddings/packing options so that the widgets will look right if the dialog box is resized. Also fixes some misaligned widgets. * cal-util/cal-component.c (cal_component_set_rdate_list): Removed incorrect assertion. svn path=/trunk/; revision=6219
Diffstat (limited to 'calendar/gui/weekday-picker.c')
-rw-r--r--calendar/gui/weekday-picker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c
index 1898ebc2b8..a9a0d50c7c 100644
--- a/calendar/gui/weekday-picker.c
+++ b/calendar/gui/weekday-picker.c
@@ -238,10 +238,10 @@ colorize_items (WeekdayPicker *wp)
outline = &GTK_WIDGET (wp)->style->fg[GTK_WIDGET_STATE (wp)];
fill = &GTK_WIDGET (wp)->style->base[GTK_WIDGET_STATE (wp)];
- text_fill = &GTK_WIDGET (wp)->style->fg_gc[GTK_WIDGET_STATE (wp)];
+ text_fill = &GTK_WIDGET (wp)->style->fg[GTK_WIDGET_STATE (wp)];
sel_fill = &GTK_WIDGET (wp)->style->bg[GTK_STATE_SELECTED];
- sel_text_fill = &GTK_WIDGET (wp)->style->fg_gc[GTK_STATE_SELECTED];
+ sel_text_fill = &GTK_WIDGET (wp)->style->fg[GTK_STATE_SELECTED];
if (priv->week_starts_on_monday) {
GdkColor *f, *t;