aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-02 16:07:39 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-02 16:07:39 +0800
commitc366eaafc3e9e3aa55d3b3b793964d1b9570a5db (patch)
treead4eb9a4ce3ff3fbb6c73ba2c9b9c01b71c8b220 /calendar/gui/e-day-view.c
parent9c2e592707b4290e72868136163f427da640b684 (diff)
downloadgsoc2013-evolution-c366eaafc3e9e3aa55d3b3b793964d1b9570a5db.tar
gsoc2013-evolution-c366eaafc3e9e3aa55d3b3b793964d1b9570a5db.tar.gz
gsoc2013-evolution-c366eaafc3e9e3aa55d3b3b793964d1b9570a5db.tar.bz2
gsoc2013-evolution-c366eaafc3e9e3aa55d3b3b793964d1b9570a5db.tar.lz
gsoc2013-evolution-c366eaafc3e9e3aa55d3b3b793964d1b9570a5db.tar.xz
gsoc2013-evolution-c366eaafc3e9e3aa55d3b3b793964d1b9570a5db.tar.zst
gsoc2013-evolution-c366eaafc3e9e3aa55d3b3b793964d1b9570a5db.zip
Skip setting the "font_gdk" arg for now.
2003-02-02 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_set_event_font_cb): Skip setting the "font_gdk" arg for now. (e_day_view_update_main_canvas_drag): Ditto. * gui/e-week-view.c (e_week_view_style_set): Ditto. * gui/weekday-picker.c (configure_items): Ditto. * gui/dialogs/event-page.c (get_widgets): Show custom widgets manually, since the visibility specified in the Glade XML appears to not have any effect. * gui/dialogs/recurrence-page.c (get_widgets): Ditto. svn path=/trunk/; revision=19706
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index da70dd248f..91baa1e382 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1260,10 +1260,12 @@ e_day_view_set_event_font_cb (EDayView *day_view,
event = &g_array_index (day_view->events[day],
EDayViewEvent, event_num);
+#if 0
if (event->canvas_item)
gnome_canvas_item_set (event->canvas_item,
"font_gdk", font,
NULL);
+#endif
return TRUE;
}
@@ -6984,7 +6986,9 @@ e_day_view_update_main_canvas_drag (EDayView *day_view,
font = gtk_style_get_font (gtk_widget_get_style (GTK_WIDGET (day_view)));
gnome_canvas_item_set (day_view->drag_item,
+#if 0
"font_gdk", font,
+#endif
"clip_width", item_w - E_DAY_VIEW_BAR_WIDTH - E_DAY_VIEW_EVENT_X_PAD * 2,
"clip_height", item_h - (E_DAY_VIEW_EVENT_BORDER_HEIGHT + E_DAY_VIEW_EVENT_Y_PAD) * 2,
NULL);