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
2003-04-17 Rodrigo Moya <rodrigo@ximian.com>
Fixes#34498
* gui/alarm-notify/alarm-queue.c: added a 'uid' field to the
CompQueuedAlarms structure.
(remove_queued_alarm): free the 'uid' field when freeing the
structure.
(add_component_alarms): g_strdup the component's UID and use that as
the key for the hash table.
svn path=/trunk/; revision=20879
2003-04-16 JP Rosevear <jpr@ximian.com>
Fixes#41230
* gui/e-itip-control.c (show_current): make sure to pass TRUE for
tasks
(start_calendar_server): make sure we don't gtk_main_quit if we
haven't gtk_main'ed
(start_calendar_server_cb): ditto
svn path=/trunk/; revision=20868
2003-04-15 JP Rosevear <jpr@ximian.com>
Fixes#39735 and 40257
* gui/gnome-cal.c: convert float pane positions to ints
(setup_widgets): set the initial position after realization and
track the drags to get the new position, pack the panes slightly
differently
(gnome_calendar_set_pane_positions): set purely pixel oriented
positions
(gnome_calendar_update_config_settings): no need to update quanta
setting
(gnome_calendar_hpane_realized): realization callback
(gnome_calendar_vpane_realized): ditto
(gnome_calendar_vpane_resized): resize callback, store new size
(gnome_calendar_hpane_resized): ditto
* gui/calendar-model.c (get_due_status): handle an error getting
the timezone
* gui/calendar-config.c (calendar_config_get_hpane_pos): return an
int
(calendar_config_set_hpane_pos): take an int
(calendar_config_get_vpane_pos): return an int
(calendar_config_set_vpane_pos): take an int
* gui/calendar-config.h: update protos
* gui/apps_evolution_calendar.schemas: update defaults for pane
positions
svn path=/trunk/; revision=20863
2003-04-15 Hans Petter Jansson <hpj@ximian.com>
* gui/calendar-component.c (owner_set_cb): If we already have an
evolution_dir, free the old one before setting it anew.
* gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the
metrics.
* gui/e-day-view.c (e_day_view_style_set): Unref the metrics.
(e_day_view_recalc_cell_sizes): We don't need font metrics here.
(e_day_view_reshape_long_event): Ditto.
* gui/e-meeting-model.c (init): Don't dup the string passed to
e_table_without_hide().
* gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
Unref the metrics.
(e_meeting_time_selector_recalc_date_form): Doesn't need metrics.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Unref the metrics.
* gui/e-week-view.c (e_week_view_style_set): Unref metrics.
(e_week_view_recalc_cell_sizes): Ditto.
(e_week_view_reshape_event_span): Move Pango stuff to where it
can't be leaked due to an early return. Unref metrics.
* gui/weekday-picker.c (weekday_picker_style_set): Unref metrics.
* gui/dialogs/meeting-page.c (meeting_page_finalize): Free default
address.
svn path=/trunk/; revision=20857
* gui/dialogs/task-page.glade: Remove the "Contacts" button and
entry from here too. Supposed to have been part of #35926
* gui/dialogs/task-page.c: Remove all code pertaining to the
contacts button
* gui/dialogs/comp-editor-util.c:
* gui/dialogs/comp-editor-util.h: Likewise
* gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove
select-names stuff, which is no longe rused.
svn path=/trunk/; revision=20816
2003-04-11 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-model.c (start_addressbook_server): load the
default book to look for additional free/busy info in
(init): ugly hack to make sure we get destroyed, set idle id to 0
(process_callbacks): unref the im because we are now done with it
(refresh_busy_periods): set idle id to 0, ref the model and handle
e_book_get_cursor error
svn path=/trunk/; revision=20814
2003-04-11 JP Rosevear <jpr@ximian.com>
* cal-client/cal-client.c (cal_client_get_free_busy): only print a
message if the exception isn't the reasonable NotFound
svn path=/trunk/; revision=20812
2003-04-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_options_menu_position_callback):
(e_meeting_time_selector_autopick_menu_position_callback): added the
allocation's X and Y position to the calculated coordinates.
svn path=/trunk/; revision=20809
2003-04-10 JP Rosevear <jpr@ximian.com>
Fixes#41127
* gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb):
unref here, when the callback is done
(e_meeting_time_selector_refresh_free_busy): don't unref here
* gui/e-meeting-model.c (process_free_busy): if the type is
unexpected, make sure we cleanup properly
svn path=/trunk/; revision=20807
2003-04-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-queue.c (remove_queued_alarm): only remove
the alarm for backends that want it (Exchange).
svn path=/trunk/; revision=20801
2003-04-09 Chris Toshok <toshok@ximian.com>
Fixes#40133
* pcs/cal-backend.c (cal_backend_class_init): use G_TYPE_INT
instead of G_TYPE_ENUM as a parameter type for the signal to get
rid of runtime warning.
svn path=/trunk/; revision=20786
2003-04-09 JP Rosevear <jpr@ximian.com>
Fixes#40915
* gui/calendar-model.c (get_due_status): when getting the current
time for date values, use a timezone aware function
svn path=/trunk/; revision=20785
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-search-bar.c (set_option): kill an old e_utf8_gtk usage
and remove some straggling e-font.h includes.
svn path=/trunk/; revision=20769
* gui/dialogs/alarm-options.c: Remove button_ok, button_cancel,
canceled members from struct Dialog.
(get_widgets): Do not initialize.
(close_dialog): Destroy the toplevel.
(toplevel_delete_event_cb): Removed.
(button_cancel_clicked_cb): Removed.
(button_ok_clicked_cb): Removed.
(close_dialog): Removed.
(alarm_options_dialog_run): Use gtk_dialog_run.
(init_widgets): Do not init ->canceled, do not connect OK/Cancel
buttons.
(alarm_to_dialog): No need to make the file entry modal from here
anymore.
* gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set
the "modal" property to True for the file entry.
svn path=/trunk/; revision=20749
2003-04-07 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-page.glade: create button properly
* gui/itip-utils.c (comp_server_send): for errors other than busy,
we want to email the results
* pcs/cal-backend.c (cal_backend_ref_categories): insert the new
category in the category list as well
(idle_notify_categories_changed): reset idle id
svn path=/trunk/; revision=20726
2003-04-07 Not Zed <NotZed@Ximian.com>
Fixes#40252
* conduits/todo/todo-conduit.c: Same as below.
* conduits/calendar/calendar-conduit.c: Change the LOG macro to a
single arg macro which copies its arg. Fix all callers. Change
WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN
before including anything.
svn path=/trunk/; revision=20714
* gui/GNOME_Evolution_Calendar.server.in.in: Clean up server names
* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in:
Likewise
* importers/GNOME_Evolution_Calendar_Importer.server.in.in:
Likewise. Also mark the evolution:menu_name for i18n
svn path=/trunk/; revision=20705
2003-04-06 Hans Petter Jansson <hpj@ximian.com>
Week view part of fix for #39895.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Use the UNFOCUSSED colour if we're not focused, rather than not
drawing anything.
* gui/e-week-view.c: Set up the UNFOCUSSED colour.
* gui/e-week-view.h: Add the UNFOCUSSED colour.
svn path=/trunk/; revision=20689
2003-04-02 Jeffrey Stedfast <fejj@ximian.com>
* gui/control-factory.c (set_prop): Add a check to see if the view
should be the day-view and change the default to be whatever
calendar_config_get_default_view() returns. Should fix bug #39735.
* gui/calendar-config.h: calendar_config_write() and
calendar_config_write_on_exit() no longer exist. Removed
prototypes.
* gui/control-factory.c (set_prop): g_strcasecmp() is
deprecated. Since the values can never be anything other than all
lowercase anyway, just use strcmp.
svn path=/trunk/; revision=20649
2003-04-02 Rodrigo Moya <rodrigo@ximian.com>
Fixes#39262
* importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn):
use folder_type argument to determine what to import.
svn path=/trunk/; revision=20647