aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index c8c06e6b89..ef8a33625d 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -13,7 +13,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
* Authors:
* Damon Chaplin <damon@ximian.com>
@@ -681,10 +681,10 @@ timezone_changed_cb (ECalendarView *cal_view, icaltimezone *old_zone,
g_return_if_fail (E_IS_DAY_VIEW (day_view));
-
+
if (!cal_view->in_focus)
return;
-
+
/* If our time hasn't been set yet, just return. */
if (day_view->lower == 0 && day_view->upper == 0)
return;
@@ -1812,7 +1812,7 @@ set_text_as_bold (EDayViewEvent *event)
for (l = attendees; l; l = l->next) {
ECalComponentAttendee *attendee = l->data;
- if ((g_str_equal (itip_strip_mailto (attendee->value), address))
+ if ((g_str_equal (itip_strip_mailto (attendee->value), address))
|| (attendee->sentby && g_str_equal (itip_strip_mailto (attendee->sentby), address))) {
at = attendee;
break;
@@ -1820,7 +1820,7 @@ set_text_as_bold (EDayViewEvent *event)
}
/* The attendee has not yet accepted the meeting, display the summary as bolded.
- If the attendee is not present, it might have come through a mailing list.
+ If the attendee is not present, it might have come through a mailing list.
In that case, we never show the meeting as bold even if it is unaccepted. */
if (at && (at->status == ICAL_PARTSTAT_NEEDSACTION))
gnome_canvas_item_set (event->canvas_item, "bold", TRUE, NULL);
@@ -3077,10 +3077,10 @@ e_day_view_on_time_canvas_scroll (GtkWidget *widget,
return TRUE;
default:
return FALSE;
- }
-}
-
-static gboolean
+ }
+}
+
+static gboolean
e_day_view_on_long_event_button_press (EDayView *day_view,
gint event_num,
GdkEventButton *event,
@@ -3250,7 +3250,7 @@ e_day_view_on_event_click (EDayView *day_view,
&& (pos == E_CALENDAR_VIEW_POS_TOP_EDGE
|| pos == E_CALENDAR_VIEW_POS_BOTTOM_EDGE)) {
gboolean read_only = FALSE;
-
+
if (event && (!event->is_editable || (e_cal_is_read_only (event->comp_data->client, &read_only, NULL) && read_only))) {
return;
}
@@ -4081,7 +4081,7 @@ e_day_view_finish_resize (EDayView *day_view)
if (day_view->resize_event_num == -1)
return;
-
+
day = day_view->resize_event_day;
event_num = day_view->resize_event_num;
event = &g_array_index (day_view->events[day], EDayViewEvent,
@@ -4137,7 +4137,7 @@ e_day_view_finish_resize (EDayView *day_view)
gtk_widget_queue_draw (day_view->top_canvas);
goto out;
}
-
+
if (mod == CALOBJ_MOD_ALL)
comp_util_sanitize_recurrence_master (comp, client);
@@ -4616,7 +4616,7 @@ e_day_view_reshape_day_events (EDayView *day_view,
if (day_view->last_edited_comp_string == NULL) {
g_free (current_comp_string);
continue;
- }
+ }
if (strncmp (current_comp_string, day_view->last_edited_comp_string,50) == 0) {
e_canvas_item_grab_focus (event->canvas_item, TRUE);
@@ -7544,7 +7544,7 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
g_object_unref (comp);
return;
}
-
+
if (mod == CALOBJ_MOD_ALL)
comp_util_sanitize_recurrence_master (comp, client);