aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@src.gnome.org>2000-06-17 12:20:38 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-06-17 12:20:38 +0800
commit7070854816195a5bc4b64d29c5565fa4e94b1475 (patch)
tree4762309460a1d99edde22767a5e80e9ebddc73d8 /calendar/gui/e-day-view.c
parente67721cbd7d3549c07701913b1de32fac8807063 (diff)
downloadgsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.gz
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.bz2
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.lz
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.xz
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.tar.zst
gsoc2013-evolution-7070854816195a5bc4b64d29c5565fa4e94b1475.zip
added little buttons which are shown when there are more events than will
* gui/e-week-view.c: added little buttons which are shown when there are more events than will fit in a day. Clicking on the button takes the user to the 1-Day view and shows the full day. * gui/e-day-view.c: * gui/e-week-view.c: set the "use_ellipsis" arg to TRUE for the EText items so we get tooltips automatically. Though we may want to use our own code to show tooltips so we can show the tips when the mouse is around the edges of the event box, and we may want to show the start and end times of the event in full. * gui/calendar-commands.c (calendar_control_activate): * gui/gnome-cal.h: added view_toolbar_buttons[] so we can access the radio buttons in the code easily. We need this if we want to jump to another view programmatically. svn path=/trunk/; revision=3605
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index e0e13664f2..ff7753cd54 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -3347,6 +3347,7 @@ e_day_view_reshape_long_event (EDayView *day_view,
"clip", TRUE,
"max_lines", 1,
"editable", TRUE,
+ "use_ellipsis", TRUE,
NULL);
gtk_signal_connect (GTK_OBJECT (event->canvas_item), "event",
GTK_SIGNAL_FUNC (e_day_view_on_text_item_event),
@@ -3703,6 +3704,7 @@ e_day_view_reshape_day_event (EDayView *day_view,
"line_wrap", TRUE,
"editable", TRUE,
"clip", TRUE,
+ "use_ellipsis", TRUE,
NULL);
gtk_signal_connect (GTK_OBJECT (event->canvas_item),
"event",