aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.h
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-10-05 08:02:56 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-10-05 08:02:56 +0800
commitaca022a441730b3707c26a6385d8e3c7c492e2cf (patch)
treeda6feb8a311526555f04fbb1ca23d3be50341633 /calendar/gui/e-day-view.h
parent8fee89d2fb528f546ba2215a0b343068f7afdd3b (diff)
downloadgsoc2013-evolution-aca022a441730b3707c26a6385d8e3c7c492e2cf.tar.gz
gsoc2013-evolution-aca022a441730b3707c26a6385d8e3c7c492e2cf.tar.zst
gsoc2013-evolution-aca022a441730b3707c26a6385d8e3c7c492e2cf.zip
when the user types in a new event, don't create it until the user hits
2000-10-05 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: * gui/e-week-view.c: when the user types in a new event, don't create it until the user hits Return or switches focus. Removed the editing_new_event flags. * cal-util/test-recur.c: rewritten to work on ics files. Now I can start testing the recurrence code. * cal-util/cal-recur.c: a few fixes. * gui/e-day-view.c (e_day_view_check_if_new_event_fits): fixed to return TRUE for long events, not FALSE. svn path=/trunk/; revision=5729
Diffstat (limited to 'calendar/gui/e-day-view.h')
-rw-r--r--calendar/gui/e-day-view.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h
index fda44c1289..09dc3e6f41 100644
--- a/calendar/gui/e-day-view.h
+++ b/calendar/gui/e-day-view.h
@@ -52,11 +52,11 @@ extern "C" {
/* The width of the gap between appointments. This should be at least
E_DAY_VIEW_BAR_WIDTH, since in the top canvas we use this space to draw
the triangle to represent continuing events. */
-#define E_DAY_VIEW_GAP_WIDTH 8
+#define E_DAY_VIEW_GAP_WIDTH 7
/* The width of the bars down the left of each column and appointment.
This includes the borders on each side of it. */
-#define E_DAY_VIEW_BAR_WIDTH 8
+#define E_DAY_VIEW_BAR_WIDTH 7
/* The height of the horizontal bar above & beneath the selected event.
This includes the borders on the top and bottom. */
@@ -349,11 +349,6 @@ struct _EDayView
gint editing_event_day;
gint editing_event_num;
- /* This is TRUE if we are editing an event which we have just created.
- We ignore the "update_event" callback which we will get from the
- server when the event is added. */
- gboolean editing_new_event;
-
/* This is a GnomeCanvasRect which is placed around an item while it
is being resized, so we can raise it above all other EText items. */
GnomeCanvasItem *resize_long_event_rect_item;