aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view-layout.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-01-15 19:19:25 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-01-15 19:19:25 +0800
commitda073416c7611f821410cd18bdc5751b43b64d91 (patch)
tree5bf48a7d405b81cba50d216277e938e1d923e9b7 /calendar/gui/e-day-view-layout.h
parent2d7b7292bc6ecfc8ab724803e8d2d464d3810eec (diff)
downloadgsoc2013-evolution-da073416c7611f821410cd18bdc5751b43b64d91.tar
gsoc2013-evolution-da073416c7611f821410cd18bdc5751b43b64d91.tar.gz
gsoc2013-evolution-da073416c7611f821410cd18bdc5751b43b64d91.tar.bz2
gsoc2013-evolution-da073416c7611f821410cd18bdc5751b43b64d91.tar.lz
gsoc2013-evolution-da073416c7611f821410cd18bdc5751b43b64d91.tar.xz
gsoc2013-evolution-da073416c7611f821410cd18bdc5751b43b64d91.tar.zst
gsoc2013-evolution-da073416c7611f821410cd18bdc5751b43b64d91.zip
** Fix for bug #246313
2009-01-15 Milan Crha <mcrha@redhat.com> ** Fix for bug #246313 * gui/e-day-view.c: (e_day_view_check_if_new_event_fits): Removed. * gui/e-day-view.h: (struct _EDayView): * gui/e-day-view.c: (e_day_view_init), (e_day_view_size_allocate), (e_day_view_recalc_main_canvas_size), (e_day_view_recalc_cell_sizes), (e_day_view_update_scroll_regions), (e_day_view_check_layout): * gui/e-day-view-layout.h: (e_day_view_layout_day_events): * gui/e-day-view-layout.c: (e_day_view_layout_day_events), (e_day_view_layout_day_event), (e_day_view_expand_day_event): Added ability to show all event in one-day view, but show only up to 6 columns in a multi-day view. * gui/print.c: (print_day_details): Always print all events. svn path=/trunk/; revision=37077
Diffstat (limited to 'calendar/gui/e-day-view-layout.h')
-rw-r--r--calendar/gui/e-day-view-layout.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view-layout.h b/calendar/gui/e-day-view-layout.h
index 19ee6ee036..4ad1de64bd 100644
--- a/calendar/gui/e-day-view-layout.h
+++ b/calendar/gui/e-day-view-layout.h
@@ -39,10 +39,11 @@ void e_day_view_layout_long_events (GArray *events,
gint *rows_in_top_display);
-void e_day_view_layout_day_events (GArray *events,
+gint e_day_view_layout_day_events (GArray *events,
gint rows,
gint mins_per_row,
- guint8 *cols_per_row);
+ guint8 *cols_per_row,
+ gint max_cols);
gboolean e_day_view_find_long_event_days (EDayViewEvent *event,
gint days_shown,