2003-06-02 Rodrigo Moya <rodrigo@ximian.com>
Fixes part of #43388
* importers/icalendar-importer.c (prepare_events):
(prepare_tasks): use external iterators for removing components from
the main component.
svn path=/trunk/; revision=21373
2003-05-29 JP Rosevear <jpr@ximian.com>
Fixes#43775
* gui/weekday-picker.c (get_day_text): calculate the characters to
display correctly
(configure_items): use it
(weekday_picker_style_set): ditto
* gui/print.c (format_date): use e_utf8_strftime
(print_week_view_background): ditto
(print_month_summary): ditto
(range_selector_new): ditto
(print_comp_item): ditto
* gui/itip-utils.c (comp_description): the translation is already
utf8
* gui/e-itip-control.c (write_label_piece): the string is already
in utf8
* gui/e-day-view.c (e_day_view_style_set): use e_utf8_strftime
(e_day_view_recalc_cell_sizes): ditto
* gui/e-day-view-top-item.c (e_day_view_top_item_draw): use
e_utf8_strftime
* gui/e-cell-date-edit-text.c (ecd_get_text): return the
duplicated buffer (its already utf8)
(show_date_warning): use e_utf8_strftime
* gui/calendar-model.c (date_value_to_string): return the
duplicated buffer (its already utf8)
(calendar_model_value_to_string): the translations should already
be in utf8
* gui/calendar-config.c
(calendar_config_locale_supports_12_hour_format): use
e_utf8_strftime
* gui/calendar-commands.c (calendar_set_folder_bar_label): use
e_utf8_strftime
svn path=/trunk/; revision=21355
2003-05-20 JP Rosevear <jpr@ximian.com>
Fixes#43308
* gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
adjust row heights to reflect changes in etable row heights and
set display top to align properly
svn path=/trunk/; revision=21325
2003-05-20 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/save-comp.c (save_component_dialog): Change this
dialog from using a gnome_message_box (which has been deprecated),
to using a gtk_message_dialog. This HIG-ifies this dialog, and
fixes bug #42046.
svn path=/trunk/; revision=21285
2003-05-20 Hans Petter Jansson <hpj@ximian.com>
Fixes#42056
* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
Don't create accel groups for menuitem mnemonics. Don't use
deprecated functions where we actually need accel groups.
svn path=/trunk/; revision=21281
* pcs/cal-backend.c (cal_backend_finalize): Don't double-free
newly-added categories that the gui hasn't been told about yet.
#43321
svn path=/trunk/; revision=21275
2003-05-19 Rodrigo Moya <rodrigo@ximian.com>
* gui/main.c (factory): set 'initialized' to TRUE when initialization
is done, or we get the initialization code called over and over.
svn path=/trunk/; revision=21274
2003-05-19 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (gnome_calendar_destroy): remove the query time
out if its still alive
(update_query_timeout): update the query and clear the time out
(client_cal_opened_cb): add the query update timeout
svn path=/trunk/; revision=21257
2003-05-19 Anna Marie Dirks <anna@ximian.com>
* gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
Added HIG-blessed padding to (some of) the widgets in the
dialog.
* gui/dialogs/meeting-page.glade: Added HIG-blessed border width
and spacing to the meeting page of the event editor.
* gui/dialogs/schedule-page.glade: Added HIG-blessed border width
to the schedule page on the event editor.
svn path=/trunk/; revision=21256
2003-05-19 JP Rosevear <jpr@ximian.com>
Fixes#43103
* gui/e-day-view.c (e_day_view_init): connect normally instead of
after so that our boolean return values afffect the action signal
emmissions properly
(e_day_view_on_top_canvas_drag_motion): fix proto to be a gboolean
(e_day_view_on_main_canvas_drag_motion): ditto
* gui/e-week-view.c (e_week_view_init): connect normally instead
of after so that our boolean return values afffect the action
signal emmissions properly
svn path=/trunk/; revision=21250
2003-05-16 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor.c (make_title_from_comp): the title is
already in UTF-8
svn path=/trunk/; revision=21235
2003-05-15 JP Rosevear <jpr@ximian.com>
Fixes#41935
* gui/e-week-view.c (e_week_view_init): listen for scroll events
on the canvas
(e_week_view_on_button_press): don't scroll here
(e_week_view_on_scroll): scroll here
* gui/e-day-view.c (e_day_view_init): listen for scroll events on
the time and main canvases
(e_day_view_on_main_canvas_button_press): don't scroll here
(e_day_view_on_main_canvas_scroll): scroll here
(e_day_view_on_time_canvas_scroll): and here
svn path=/trunk/; revision=21210
2003-05-15 JP Rosevear <jpr@ximian.com>
Fixes#43029
* gui/e-week-view.c (e_week_view_init): don't listen for destroy
signal
(e_week_view_destroy): check for NULL and make invisible NULL
after we destroy it, unref cursors and NULL them out as well,
guard against freeing events multiple times
* gui/e-day-view.c (e_day_view_destroy): check for NULL and make
invisible NULL after we destroy it, unref cursors and NULL them
out as well, guard against freeing events multiple times
(e_day_view_init): don't listen for destroy signal
* gui/e-calendar-table.c (e_calendar_table_init): don't listen for
destroy signal
(e_calendar_table_destroy): check for NULL and make invisible NULL
after we destroy it
svn path=/trunk/; revision=21208
2003-05-15 JP Rosevear <jpr@ximian.com>
Fixes#41930
* idl/evolution-calendar.idl: Make sure everything that can raise
a NotFound exception lists it
svn path=/trunk/; revision=21207
2003-05-15 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_refresh_free_busy): ref ourselves the
number of times we'll get called back
svn path=/trunk/; revision=21196
2003-05-14 JP Rosevear <jpr@ximian.com>
* gui/e-tasks.c (e_tasks_destroy): guard against multiple destroys
* cal-client/cal-client.c (cal_client_finalize): unref the
bonobo listener
* gui/gnome-cal.c (gnome_calendar_destroy): guard against multiple
destroy calls
* gui/e-week-view.c (e_week_view_init): connect after destroy
(invisible_destroyed): don't unref, its already destroyed
* gui/e-day-view.c (e_day_view_init): connect after destroy
(invisible_destroyed): don't unref, its already destroyed
* gui/e-calendar-table.c (e_calendar_table_class_init): make sure
we set the parent class
(e_calendar_table_init): connect after the destroy handler runs
(e_calendar_table_destroy): guard against multiple destroys
(invisible_destroyed): don't unref the invisible, its already
being destroyed
* gui/calendar-offline-handler.c (backend_cal_set_mode): unref the
client, we are done with it now
(backend_cal_opened_online): ditto
(impl_dispose): unref our main client
* gui/calendar-commands.c (control_util_set_folder_bar_label):
release/unref the shell view once we are done with it
(control_util_show_settings): ditto
svn path=/trunk/; revision=21180
2003-05-12 Rodrigo Moya <rodrigo@ximian.com>
Fixes#41760
* gui/alarm-notify/alarm-queue.c (create_snooze): don't add a new
alarm, but update the already existing one.
(notify_dialog_cb): make sure we don't remove the alarm if we are
snoozing.
svn path=/trunk/; revision=21160
2003-05-07 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-page.glade: fix button conversion problem
* gui/dialogs/task-details-page.c
(task_details_page_fill_widgets): only free the percent if its
non-null
svn path=/trunk/; revision=21128
2003-05-01 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (task_editor_finalize): unref the
model again
(task_editor_edit_comp): don't allow editing if the assignee has
delegated
* gui/dialogs/meeting-page.c (popup_delete_cb): set the new
non-delegator to be editable
* gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow
editing if the attendee has delegated
(event_editor_finalize): unref the model again
* gui/e-meeting-model.c: remove e-table-without related functions
(finalize): don't create without table
(e_meeting_model_etable_from_model): build the table with this as
model
(e_meeting_model_etable_model_to_view_row): directly use the
model_to_view call
(e_meeting_model_etable_view_to_model_row): as above
(attendee_changed_cb): make sure pre change is alwasy called
* gui/e-meeting-model.h: use DECLS, remove protos for long dead
functions, don't include config.h
svn path=/trunk/; revision=21045
2003-04-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (task_editor_finalize): ditto
* gui/dialogs/event-editor.c (event_editor_finalize): don't unref
the model here
* gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null
up the display_top and display_main for re-entrancy purposes
svn path=/trunk/; revision=21018
2003-04-28 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing
and padding to the calendar/tasks page of the settings dialog.
Fixes bug #41129
svn path=/trunk/; revision=20990
2003-04-28 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/task-page.glade: Finishes up fixing #41256 by
adding appropriate spacing/padding to the main task page.
* gui/dialogs/task-details-page.glade: Added appropriate
spacing and padding to the task-details page. Partially
fixes#41256.
svn path=/trunk/; revision=20989
2003-04-28 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/recurrence-page.glade: Added padding/spacing
to this page as specified by the HIG. Partially fixes#41215.
* gui/dialogs/alarm-page.glade: Added padding/spacing/stock
buttons to the alarm page. Partially fixes#41215.
* gui/dialogs/event-page.glade: Added padding/spacing to the
event-page (partially fixes#41215)
svn path=/trunk/; revision=20988
2003-04-27 Rodney Dawes <dobey@ximian.com>
Fixes#35814
* calendar/gui/calendar-component.c: Change mnemonic/keybinding for
New Meeting to not conflict with other items in the File->New menu
* ui/evolution.xml: Changed the New Folder keybinding to C-S-f
svn path=/trunk/; revision=20984
2003-04-24 Rodrigo Moya <rodrigo@ximian.com>
Fixes#41661
* idl/evolution-calendar.idl: added discardAlarm method to
GNOME:Evolution:Calendar:Cal interface.
* pcs/cal.c (cal_class_init): set new epv's method.
(impl_Cal_discardAlarm): implementation of new CORBA method.
* pcs/cal-backend.[ch]: added 'discard_alarm' virtual method, and
CAL_BACKEND_RESULT_NOT_IMPLEMENTED to CalBackendResult enum.
(cal_backend_class_init): initialize new class method.
(cal_backend_discard_alarm): new method.
(cal_backend_update_objects, cal_backend_remove_object): return
proper CalBackendResult values.
* pcs/cal-backend-file.c (cal_backend_file_class_init): initialize
new class method.
(cal_backend_file_discard_alarm): implementation of new method.
* pcs/cal-client.[ch] (cal_client_discard_alarm): new function.
* gui/alarm-notify/alarm-queue.c (remove_qeueud_alarm): don't remove
the alarm directly from the component, call cal_client_discard_alarm
and let the backend deal with it.
svn path=/trunk/; revision=20973
2003-04-24 JP Rosevear <jpr@ximian.com>
* gui/apps_evolution_calendar.schemas: set the hpane default to
32000 so we never see a pane no matter the start up window size
unless the user changes it
svn path=/trunk/; revision=20963
2003-04-23 Hans Petter Jansson <hpj@ximian.com>
Fixes#41641
* gui/e-day-view.c (e_day_view_focus_in): Remove assert an old
input method code.
(e_day_view_focus_out): Ditto.
(e_day_view_reshape_long_event): Set input method context.
(e_day_view_reshape_day_event): Ditto.
(e_day_view_on_editing_started): Let EText handle the context popup.
(e_day_view_on_editing_stopped): Turn off EText's handling of context
popup.
* gui/e-week-view.c (e_week_view_reshape_event_span): Set input
method context.
(e_week_view_on_text_item_event): Let the EText item handle
right-click context popup if we're editing it.
(e_week_view_on_editing_started): Let the EText item handle the
context popup.
(e_weeK_view_on_editing_stopped): Turn off EText's handling of
context popup.
svn path=/trunk/; revision=20947
2003-04-23 Rodrigo Moya <rodrigo@ximian.com>
Fixes#41671
* gui/alarm-notify/notify-main.c (main): added calls to gnome_sound_init
and gnome_sound_shutdown.
* gui/alarm-notify/alarm-queue.c (audio_notification): check that the
sound file exists, and gdk_beep if not.
svn path=/trunk/; revision=20946
2003-04-21 Rodrigo Moya <rodrigo@ximian.com>
Fixes#22444
* gui/calendar-commands.c: added new verbs for occurrence-related
menu items.
(delete_occurrence_cmd): added callback for "Delete this occurrence"
menu item. "Delete all occurrences" is just the same as "Delete".
(sensitize_calendar_commands): sensitive ocurrence-related menu items.
* gui/gnome-cal.[ch] (gnome_calendar_delete_selected_occurrence): new
function.
(gnome_calendar_get_current_view_widget): made this public.
* gui/e-week-view.[ch] (e_week_view_get_selected_event):
(e_week_view_delete_occurrence): new functions.
(e_week_view_delete_occurrence_internal): real implementation of the
'Delete Occurrence' logic.
(e_week_view_on_delete_occurrence): call delete_instance_internal.
* gui/e-day-view.[ch] (e_day_view_get_selected_event):
(e_day_view_delete_occurrence): new functions.
(e_week_view_delete_occurrence_internal): real implementation of the
'Delete Occurrence' logic.
(e_week_view_on_delete_occurrence): call delete_occurrence_internal.
svn path=/trunk/; revision=20917