diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-13 11:33:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-14 23:26:22 +0800 |
commit | 374bd42f69aca2e132fd854c9619f3d7491f1f96 (patch) | |
tree | bf50b5daa8664d4d793b82f6b6ec59d0686553e0 /calendar/gui/dialogs | |
parent | 573eb0880a80e04737cb4497931ca6588272686e (diff) | |
download | gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.gz gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.tar.zst gsoc2013-evolution-374bd42f69aca2e132fd854c9619f3d7491f1f96.zip |
Fix excessive whitespace.
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/cal-attachment-select-file.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.c | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor-util.c | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor-util.h | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.h | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/e-delegate-dialog.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/e-delegate-dialog.h | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/e-send-options-utils.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/recur-comp.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/schedule-page.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/schedule-page.h | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-details-page.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-editor.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 4 |
18 files changed, 0 insertions, 43 deletions
diff --git a/calendar/gui/dialogs/cal-attachment-select-file.c b/calendar/gui/dialogs/cal-attachment-select-file.c index b33753c42e..b303a763ce 100644 --- a/calendar/gui/dialogs/cal-attachment-select-file.c +++ b/calendar/gui/dialogs/cal-attachment-select-file.c @@ -25,7 +25,6 @@ * specific to the calendar component have been flagged by some comments * fwiw */ - #ifdef HAVE_CONFIG_H #include <config.h> #endif diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index b7b6e33fcf..09f6d104b6 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -59,8 +59,6 @@ static GtkVBoxClass *parent_class = NULL; GtkWidget *cal_prefs_dialog_create_time_edit (void); - - static void calendar_prefs_dialog_finalize (GObject *obj) { @@ -565,7 +563,6 @@ setup_changes (CalendarPrefsDialog *prefs) g_signal_connect (G_OBJECT (prefs->notify_with_tray), "toggled", G_CALLBACK (notify_with_tray_toggled), prefs); g_signal_connect (G_OBJECT (prefs->alarm_list_widget), "selection_changed", G_CALLBACK (alarms_selection_changed), prefs); - g_signal_connect (G_OBJECT (prefs->template_url), "changed", G_CALLBACK (template_url_changed), prefs); } @@ -703,7 +700,6 @@ show_config (CalendarPrefsDialog *prefs) gtk_widget_set_sensitive (prefs->use_12_hour, sensitive); gtk_widget_set_sensitive (prefs->use_24_hour, sensitive); - /* Time Divisions. */ time_divisions = calendar_config_get_time_divisions (); e_dialog_combo_box_set (prefs->time_divisions, time_divisions, time_division_map); @@ -860,7 +856,6 @@ calendar_prefs_dialog_construct (CalendarPrefsDialog *prefs, prefs->tasks_hide_completed_interval = glade_xml_get_widget (gui, "tasks_hide_completed_interval"); prefs->tasks_hide_completed_units = glade_xml_get_widget (gui, "tasks_hide_completed_units"); - /* Alarms tab */ prefs->notify_with_tray = glade_xml_get_widget (gui, "notify_with_tray"); prefs->scrolled_window = glade_xml_get_widget (gui, "calendar-source-scrolled-window"); diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c index e9661db372..e330a7f9d4 100644 --- a/calendar/gui/dialogs/comp-editor-util.c +++ b/calendar/gui/dialogs/comp-editor-util.c @@ -81,7 +81,6 @@ comp_editor_dates (CompEditorPageDates *dates, ECalComponent *comp) e_cal_component_get_completed (comp, &dates->complete); } - /* This frees the dates in the CompEditorPageDates struct. But it doesn't free * the struct (as that is usually static). */ @@ -109,7 +108,6 @@ comp_editor_free_dates (CompEditorPageDates *dates) e_cal_component_free_icaltimetype (dates->complete); } - /* dtstart is only passed in if tt is the dtend. */ static void write_label_piece (struct icaltimetype *tt, @@ -249,7 +247,6 @@ comp_editor_new_date_edit (gboolean show_date, gboolean show_time, return GTK_WIDGET (dedit); } - /* Returns the current time, for EDateEdit widgets and ECalendar items in the dialogs. FIXME: Should probably use the timezone from somewhere in the component @@ -278,8 +275,6 @@ comp_editor_get_current_time (GtkObject *object, gpointer data) return tmp_tm; } - - /** * comp_editor_strip_categories: * @categories: A string of category names entered by the user. diff --git a/calendar/gui/dialogs/comp-editor-util.h b/calendar/gui/dialogs/comp-editor-util.h index 3bf8921291..c2b5a052a3 100644 --- a/calendar/gui/dialogs/comp-editor-util.h +++ b/calendar/gui/dialogs/comp-editor-util.h @@ -38,7 +38,6 @@ GtkWidget *comp_editor_new_date_edit (gboolean show_date, gboolean show_time, struct tm comp_editor_get_current_time (GtkObject *object, gpointer data); - gchar *comp_editor_strip_categories (const gchar *categories); #endif diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 64f80b4557..3ed798a6f0 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -448,7 +448,6 @@ save_comp (CompEditor *editor) if (e_cal_component_has_recurrences (priv->comp) && priv->mod == CALOBJ_MOD_ALL) comp_util_sanitize_recurrence_master (priv->comp, priv->client); - if (priv->mod == CALOBJ_MOD_THIS) { e_cal_component_set_rdate_list (priv->comp, NULL); e_cal_component_set_rrule_list (priv->comp, NULL); @@ -1813,7 +1812,6 @@ comp_editor_show_help (CompEditor *editor) e_display_help (GTK_WINDOW (editor), class->help_section); } - /* Closes the dialog box and emits the appropriate signals */ static void close_dialog (CompEditor *editor) @@ -2654,7 +2652,6 @@ real_send_comp (CompEditor *editor, ECalComponentItipMethod method, gboolean str } - /** * comp_editor_edit_comp: * @editor: A component editor @@ -2791,7 +2788,6 @@ comp_editor_close (CompEditor *editor) return close; } - /* Utility function to get the mime-attachment list from the attachment * bar for sending the comp via itip. The list and its contents must * be freed by the caller. diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index 6a8f8e4f93..6753635b1a 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -138,7 +138,6 @@ gboolean comp_editor_send_comp (CompEditor *editor, GSList * comp_editor_get_mime_attach_list(CompEditor *editor); gboolean comp_editor_close (CompEditor *editor); - void comp_editor_sensitize_attachment_bar (CompEditor *editor, gboolean set); diff --git a/calendar/gui/dialogs/e-delegate-dialog.c b/calendar/gui/dialogs/e-delegate-dialog.c index 87fb164e6a..284076a7bc 100644 --- a/calendar/gui/dialogs/e-delegate-dialog.c +++ b/calendar/gui/dialogs/e-delegate-dialog.c @@ -114,7 +114,6 @@ e_delegate_dialog_finalize (GObject *object) (* G_OBJECT_CLASS (e_delegate_dialog_parent_class)->finalize) (object); } - EDelegateDialog * e_delegate_dialog_construct (EDelegateDialog *edd, const gchar *name, const gchar *address) { @@ -273,7 +272,6 @@ e_delegate_dialog_get_delegate (EDelegateDialog *edd) return g_strdup (priv->address); } - gchar * e_delegate_dialog_get_delegate_name (EDelegateDialog *edd) { diff --git a/calendar/gui/dialogs/e-delegate-dialog.h b/calendar/gui/dialogs/e-delegate-dialog.h index 6ff872e7e4..a70488a0ea 100644 --- a/calendar/gui/dialogs/e-delegate-dialog.h +++ b/calendar/gui/dialogs/e-delegate-dialog.h @@ -35,7 +35,6 @@ #define E_IS_DELEGATE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_DELEGATE_DIALOG)) #define E_IS_DELEGATE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_DELEGATE_DIALOG)) - typedef struct _EDelegateDialog EDelegateDialog; typedef struct _EDelegateDialogClass EDelegateDialogClass; typedef struct _EDelegateDialogPrivate EDelegateDialogPrivate; @@ -69,7 +68,6 @@ void e_delegate_dialog_set_delegate (EDelegateDialog *etd, GtkWidget* e_delegate_dialog_get_toplevel (EDelegateDialog *etd); - #endif /* __E_DELEGATE_DIALOG_H__ */ diff --git a/calendar/gui/dialogs/e-send-options-utils.c b/calendar/gui/dialogs/e-send-options-utils.c index 87f4584133..c4ed13f2cb 100644 --- a/calendar/gui/dialogs/e-send-options-utils.c +++ b/calendar/gui/dialogs/e-send-options-utils.c @@ -208,7 +208,6 @@ e_sendoptions_utils_fill_component (ESendOptionsDialog *sod, ECalComponent *comp icalproperty_set_x_name (prop, "X-EVOLUTION-OPTIONS-TRACKINFO"); icalcomponent_add_property (icalcomp, prop); - prop = icalproperty_new_x ((const gchar *) g_strdup_printf ("%d", sopts->opened)); icalproperty_set_x_name (prop, "X-EVOLUTION-OPTIONS-OPENED"); icalcomponent_add_property (icalcomp, prop); diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 29e5e1da76..a133904b65 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -1273,7 +1273,6 @@ event_page_fill_component (CompEditorPage *page, ECalComponent *comp) e_cal_component_set_dtstart (comp, &start_date); e_cal_component_set_dtend (comp, &end_date); - /* Categories */ cat = e_dialog_editable_get (priv->categories); @@ -1457,7 +1456,6 @@ event_page_fill_component (CompEditorPage *page, ECalComponent *comp) return FALSE; } - if (flags & COMP_EDITOR_DELEGATE) { GSList *attendee_list, *l; gint i; @@ -1985,7 +1983,6 @@ list_view_event (EMeetingListView *list_view, GdkEvent *event, EventPage *epage) return FALSE; } - static gboolean list_key_press (EMeetingListView *list_view, GdkEventKey *event, EventPage *epage) { @@ -2259,7 +2256,6 @@ get_widgets (EventPage *epage) gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (priv->list_view)); gtk_box_pack_start (GTK_BOX (priv->list_box), sw, TRUE, TRUE, 0); - /* Glade's visibility flag doesn't seem to work for custom widgets */ priv->start_time = GW ("start-time"); gtk_widget_show (priv->start_time); @@ -2306,7 +2302,6 @@ summary_changed_cb (GtkEditable *editable, g_free (summary); } - /* Note that this assumes that the start_tt and end_tt passed to it are the dates visible to the user. For DATE values, we have to add 1 day to the end_tt before emitting the signal. */ @@ -2347,7 +2342,6 @@ notify_dates_changed (EventPage *epage, struct icaltimetype *start_tt, &dates); } - static gboolean check_start_before_end (struct icaltimetype *start_tt, icaltimezone *start_zone, @@ -2385,7 +2379,6 @@ check_start_before_end (struct icaltimetype *start_tt, return FALSE; } - /* * This is called whenever the start or end dates or timezones is changed. * It makes sure that the start date < end date. It also emits the notification @@ -2463,7 +2456,6 @@ times_updated (EventPage *epage, gboolean adjust_end_time) } } - if (set_start_date) { g_signal_handlers_block_matched (priv->start_time, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, epage); e_date_edit_set_date (E_DATE_EDIT (priv->start_time), @@ -2829,7 +2821,6 @@ init_widgets (EventPage *epage) g_signal_connect((priv->summary), "changed", G_CALLBACK (summary_changed_cb), epage); - /* Description */ text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->description)); diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 4254dce774..fd218a8ec1 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -389,7 +389,6 @@ get_recipients (ECalComponent *comp) return ""; } - static gboolean fill_comp_with_recipients (ENameSelector *name_selector, ECalComponent *comp) { diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c index 1323755cb1..0d9197546b 100644 --- a/calendar/gui/dialogs/recur-comp.c +++ b/calendar/gui/dialogs/recur-comp.c @@ -68,7 +68,6 @@ recur_component_dialog (ECal *client, return FALSE; } - dialog = gtk_message_dialog_new (parent, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_OK_CANCEL, "%s", str); g_free (str); gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE); diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 5fbf69df74..092a44db15 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -2387,7 +2387,6 @@ recurrence_page_new (CompEditor *editor) return rpage; } - GtkWidget *make_exdate_date_edit (void); GtkWidget * diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c index c85ccbb4fe..712d2708b9 100644 --- a/calendar/gui/dialogs/schedule-page.c +++ b/calendar/gui/dialogs/schedule-page.c @@ -242,7 +242,6 @@ update_time (SchedulePage *spage, ECalComponentDateTime *start_date, ECalCompone } - /* Fills the widgets with default values */ static void clear_widgets (SchedulePage *spage) diff --git a/calendar/gui/dialogs/schedule-page.h b/calendar/gui/dialogs/schedule-page.h index 71eec02763..59b97c754f 100644 --- a/calendar/gui/dialogs/schedule-page.h +++ b/calendar/gui/dialogs/schedule-page.h @@ -64,7 +64,6 @@ struct _SchedulePageClass { CompEditorPageClass parent_class; }; - GType schedule_page_get_type (void); SchedulePage * schedule_page_construct (SchedulePage *mpage, EMeetingStore *ems); diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index eeacc0774f..e6104ee2d0 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -168,7 +168,6 @@ task_details_page_focus_main_widget (CompEditorPage *page) gtk_widget_grab_focus (priv->status_combo); } - static TaskEditorPriority priority_value_to_index (gint priority_value) { @@ -492,7 +491,6 @@ get_widgets (TaskDetailsPage *tdpage) && priv->url); } - static void complete_date_changed (TaskDetailsPage *tdpage, time_t ctime, gboolean complete) { diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index c74ed46db3..2829def666 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -437,7 +437,6 @@ task_editor_edit_comp (CompEditor *editor, ECalComponent *comp) e_meeting_attendee_set_edit_level (ia, E_MEETING_ATTENDEE_EDIT_NONE); } - comp_editor_set_group_item (editor, TRUE); priv->assignment_shown = TRUE; } diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 3cdbe344e9..8a273c2944 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -910,7 +910,6 @@ task_page_fill_component (CompEditorPage *page, ECalComponent *comp) return FALSE; } - if (flags & COMP_EDITOR_DELEGATE ) { GSList *attendee_list, *l; gint i; @@ -982,7 +981,6 @@ static void edit_clicked_cb (GtkButton *btn, TaskPage *tpage) gtk_tree_path_free (path); } - static gboolean existing_attendee (EMeetingAttendee *ia, ECalComponent *comp) { @@ -1296,7 +1294,6 @@ list_view_event (EMeetingListView *list_view, GdkEvent *event, TaskPage *page) { return FALSE; } - static gboolean list_key_press (EMeetingListView *list_view, GdkEventKey *event, TaskPage *page) { @@ -1684,7 +1681,6 @@ times_updated (TaskPage *tpage, gboolean adjust_end_time) set_start_date = TRUE; } - if (set_start_date) { g_signal_handlers_block_matched (priv->start_date, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, tpage); e_date_edit_set_date (E_DATE_EDIT (priv->start_date), start_tt.year, start_tt.month, start_tt.day); |