diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-04-02 10:31:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-04-02 11:15:38 +0800 |
commit | 299521f02c02278857dfd2561973dc0c94e44b57 (patch) | |
tree | e89760fc89b6e185780d242e4817ff4047efd564 /calendar/gui | |
parent | ccb3616af1dda65cc09093649d5333b9e3e19e11 (diff) | |
download | gsoc2013-evolution-299521f02c02278857dfd2561973dc0c94e44b57.tar gsoc2013-evolution-299521f02c02278857dfd2561973dc0c94e44b57.tar.gz gsoc2013-evolution-299521f02c02278857dfd2561973dc0c94e44b57.tar.bz2 gsoc2013-evolution-299521f02c02278857dfd2561973dc0c94e44b57.tar.lz gsoc2013-evolution-299521f02c02278857dfd2561973dc0c94e44b57.tar.xz gsoc2013-evolution-299521f02c02278857dfd2561973dc0c94e44b57.tar.zst gsoc2013-evolution-299521f02c02278857dfd2561973dc0c94e44b57.zip |
Whitespace cleanup.
Replace 8-space indentation with tab characters, and various other
automated cleanups.
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/select-source-dialog.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-calendar-view.c | 18 | ||||
-rw-r--r-- | calendar/gui/e-meeting-list-view.c | 8 | ||||
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 2 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 8 |
5 files changed, 20 insertions, 20 deletions
diff --git a/calendar/gui/dialogs/select-source-dialog.c b/calendar/gui/dialogs/select-source-dialog.c index 12bceb2ca8..740428ae49 100644 --- a/calendar/gui/dialogs/select-source-dialog.c +++ b/calendar/gui/dialogs/select-source-dialog.c @@ -51,7 +51,7 @@ select_source_dialog (GtkWindow *parent, else if (obj_type == E_CAL_CLIENT_SOURCE_TYPE_TASKS) gconf_key = "/apps/evolution/tasks/sources"; else if (obj_type == E_CAL_CLIENT_SOURCE_TYPE_MEMOS) - gconf_key = "/apps/evolution/memos/sources"; + gconf_key = "/apps/evolution/memos/sources"; else return NULL; @@ -66,7 +66,7 @@ select_source_dialog (GtkWindow *parent, else if (obj_type == E_CAL_CLIENT_SOURCE_TYPE_TASKS) icon_name = "stock_todo"; else if (obj_type == E_CAL_CLIENT_SOURCE_TYPE_MEMOS) - icon_name = "stock_journal"; + icon_name = "stock_journal"; if (icon_name) gtk_window_set_icon_name (GTK_WINDOW (dialog), icon_name); diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 413e54a3b3..17d5a43965 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -345,7 +345,7 @@ calendar_view_dispose (GObject *object) gtk_target_list_unref (priv->paste_target_list); priv->paste_target_list = NULL; } - + if (priv->selected_cut_list) { g_slist_foreach (priv->selected_cut_list, (GFunc) g_object_unref, NULL); g_slist_free (priv->selected_cut_list); @@ -473,13 +473,13 @@ calendar_view_cut_clipboard (ESelectable *selectable) #endif e_selectable_copy_clipboard (selectable); - + for (l = selected; l != NULL; l = g_list_next (l)) { ECalendarViewEvent *event = (ECalendarViewEvent *) l->data; priv->selected_cut_list = g_slist_prepend (priv->selected_cut_list, g_object_ref (event->comp_data)); } - + #if 0 /* KILL-BONOBO */ e_calendar_view_set_status_message (cal_view, NULL, -1); #endif @@ -553,7 +553,7 @@ calendar_view_copy_clipboard (ESelectable *selectable) selected = e_calendar_view_get_selected_events (cal_view); if (!selected) return; - + if (priv->selected_cut_list) { g_slist_foreach (priv->selected_cut_list, (GFunc) g_object_unref, NULL); g_slist_free (priv->selected_cut_list); @@ -607,7 +607,7 @@ calendar_view_copy_clipboard (ESelectable *selectable) static gboolean clipboard_get_calendar_data (ECalendarView *cal_view, const gchar *text, - GSList **copied_list) + GSList **copied_list) { icalcomponent *icalcomp; icalcomponent_kind kind; @@ -725,12 +725,12 @@ calendar_view_paste_clipboard (ESelectable *selectable) GSList *copied_list = NULL, *l; calendar_source = e_clipboard_wait_for_calendar (clipboard); - + if (priv->selected_cut_list) clipboard_get_calendar_data (cal_view, calendar_source, &copied_list); else clipboard_get_calendar_data (cal_view, calendar_source, NULL); - + if (copied_list && priv->selected_cut_list) { for (l = priv->selected_cut_list; l != NULL; l = l->next) { ECalComponent *comp; @@ -780,13 +780,13 @@ calendar_view_paste_clipboard (ESelectable *selectable) g_object_unref (comp); } } - + if (priv->selected_cut_list) { g_slist_foreach (priv->selected_cut_list, (GFunc) g_object_unref, NULL); g_slist_free (priv->selected_cut_list); } priv->selected_cut_list = NULL; - + g_free (calendar_source); } diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c index 08ff03f86f..76d20d2f64 100644 --- a/calendar/gui/e-meeting-list-view.c +++ b/calendar/gui/e-meeting-list-view.c @@ -176,10 +176,10 @@ get_type_strings (void) GList *strings = NULL; strings = g_list_append (strings, (gchar *) _("Individual")); - strings = g_list_append (strings, (gchar *) _("Group")); - strings = g_list_append (strings, (gchar *) _("Resource")); - strings = g_list_append (strings, (gchar *) _("Room")); - strings = g_list_append (strings, (gchar *) _("Unknown")); + strings = g_list_append (strings, (gchar *) _("Group")); + strings = g_list_append (strings, (gchar *) _("Resource")); + strings = g_list_append (strings, (gchar *) _("Room")); + strings = g_list_append (strings, (gchar *) _("Unknown")); return strings; } diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index cfbff11d2b..7e9c59c895 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -1073,7 +1073,7 @@ e_meeting_time_selector_create_no_info_pattern (EMeetingTimeSelector *mts) CAIRO_CONTENT_COLOR, 8, 8); cr = cairo_create (surface); - gdk_color_parse ("white", &color); + gdk_color_parse ("white", &color); gdk_cairo_set_source_color (cr, &color); cairo_paint (cr); diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index e58f2f9c7e..ba2c174528 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -928,13 +928,13 @@ comp_description (ECalComponent *comp, switch (e_cal_component_get_vtype (comp)) { case E_CAL_COMPONENT_EVENT: - description = g_strdup (_("Event information")); + description = g_strdup (_("Event information")); break; case E_CAL_COMPONENT_TODO: - description = g_strdup (_("Task information")); + description = g_strdup (_("Task information")); break; case E_CAL_COMPONENT_JOURNAL: - description = g_strdup (_("Memo information")); + description = g_strdup (_("Memo information")); break; case E_CAL_COMPONENT_FREEBUSY: e_cal_component_get_dtstart (comp, &dt); @@ -957,7 +957,7 @@ comp_description (ECalComponent *comp, g_free (end); break; default: - description = g_strdup (_("iCalendar information")); + description = g_strdup (_("iCalendar information")); break; } |