2002-11-19 Not Zed <NotZed@Ximian.com>
* gui/e-meeting-model.c (get_select_name_dialog): pass type to
bonobo_widget::set_property.
(select_names_ok_cb): ", for get_property.
* gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
pass type to bonobo_widget::set_property & plug small leak.
(e_delegate_dialog_get_delegate): ", for get_property.
(e_delegate_dialog_get_delegate_name): "
* gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
pass type to bonobo_widget::set_property.
(comp_editor_contacts_to_component): ", for get_property
svn path=/trunk/; revision=18835
2002-11-06 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/comp-editor-util.[ch]
(comp_editor_connect_contacts_changed): don't return a
Bonobo_EventSource_ListenerId, since it does not exist anymore,
and was not even being used.
* gui/e-timezone-entry.h: use GLib macros.
* gui/dialogs/*.glade:
* gui/alarm-notify/*.glade:
* gui/*.glade: converted to Glade2 format.
svn path=/trunk/; revision=18616
2002-11-05 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend.c: use libxml2 headers.
* gui/alarm-notify/Makefile.am:
* gui/dialogs/Makefile.am:
* gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of
$(ORBIT_IDL).
* gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject.
* gui/alarm-notify/alarm-notify-dialog.c: compilation fixes.
(alarm_notify_dialog): adapted to new glade_xml_new signature.
* gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and
GtkStock and GtkDialog.
* gui/alarm-notify/notify-main.c: ported to BonoboActivation and
use GObject functions instead of GtkObject ones.
* gui/alarm-notify/save.h: removed BonoboConfig related functions.
* gui/alarm-notify/config-data.c: use GObject functions instead of
GtkObject ones.
* TODO.port: added file for keeping track of disabled things while we
port.
svn path=/trunk/; revision=18550
2002-10-17 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (fill_ending_date): if the value
is a datetime, convert it to a date
* gui/itip-utils.c (comp_compliant): convert an UNTIL date value
to a datetime value
* cal-util/cal-component.c (cal_component_has_simple_recurrence):
check to see if the component recurrences meet our definition of
"simple"
* cal-util/cal-component.h: new proto
svn path=/trunk/; revision=18389
2002-10-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/recurrence-page.c (fill_component): changed to have a
gboolean return type, which is what it's supposed to do.
(recurrence_page_fill_component): return the result from
fill_component.
* gui/dialogs/comp-editor-page.h: fixed typo in function prototype.
svn path=/trunk/; revision=18387
2002-10-08 Rodrigo Moya <rodrigo@ximian.com>
Fixes#11434
* gui/dialogs/comp-editor-page.[ch]
(comp_editor_page_display_validation_error): new function.
* gui/dialogs/event-page.c (event_page_fill_component):
* gui/dialogs/recurrence-page.c (fill_component):
* gui/dialogs/task-details-page.c (task_details_page_fill_component):
* gui/dialogs/task-page.c (task_page_fill_component): added
checks for all date values, and return FALSE if we find
some invalid date/times.
* gui/dialogs/comp-editor.c (save_comp): activate the page that
returns error in fill_component.
svn path=/trunk/; revision=18352
2002-10-02 Rodrigo Moya <rodrigo@ximian.com>
Fixes#30057
* cal-client/cal-client.c (cal_client_is_read_only): added check
of the status of the client before trying to make CORBA calls.
* gui/calendar-commands.c (sensitize_calendar_commands,
sensitize_taskpad_commands):
* gui/tasks-control.c (sensitize_commands):
* gui/dialogs/event-editor.c (set_menu_sens):
* gui/dialogs/task-editor.c (set_menu_sens):
* gui/e-calendar-table.c (e_calendar_table_on_right_click):
* gui/e-day-view.c (e_day_view_on_event_right_click):
* gui/e-week-view.c (e_week_view_show_popup_menu): take into account
the read-onlyness of clients to disable/enable menu items.
svn path=/trunk/; revision=18316
2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
Fixes#15710
* gui/dialogs/alarm-page.c (alarm_page_init): added a
X-EVOLUTION-NEEDS-DESCRIPTION property, so that we later set it
correctly if it hasn't been set in the meanwhile (editing options for
the alarm).
* gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm,
palarm_widgets_to_alarm): removed X-EVOLUTION-NEEDS-DESCRIPTION
property from alarms every time we set the description of the alarm.
svn path=/trunk/; revision=18277
delegator's calendar should have the delegator as Organizer).
* idl/evolution-calendar.idl: add Cal_getEmailAddress, to return
the email address associated with a backend (if any).
* pcs/cal-backend.c (cal_backend_get_email_address): New.
* pcs/cal-backend-file.c (cal_backend_file_get_email_address):
Return NULL (for now).
* pcs/cal.c (impl_Cal_get_email_address): Implement this by
calling cal_backend_get_email_address and returning a NotFound
exception if it returns NULL.
* cal-client/cal-client.c (cal_client_get_email_address): New.
(cal_client_init, cal_client_destroy, etc): initialize/free
email_address
* gui/dialogs/event-editor.c (event_editor_construct): Split this
out of event_editor_init. Take and set a CalClient.
(event_editor_new): Take a CalClient.
* gui/dialogs/task-editor.c (task_editor_construct,
task_editor_new): Likewise.
* gui/dialogs/meeting-page.c (meeting_page_new,
meeting_page_construct): Take a CalClient and call
cal_client_get_email_address to find the default organizer
address. (Also fix a bug if the default account's name has
non-ASCII characters.)
* gui/itip-utils.c (comp_from): New. When sending a REQUEST or
CANCEL, use the Organizer as the From address.
(itip_send_comp): Call comp_from and pass the result to
Composer_setHeaders.
* gui/comp-editor-factory.c (edit_existing, edit_new): Pass the
CalClient to event_editor_new/task_editor_new
* gui/e-calendar-table.c (open_task): Likewise.
* gui/e-tasks.c (e_tasks_new_task): Likewise.
* gui/gnome-cal.c (gnome_calendar_edit_object,
gnome_calendar_new_task): Likewise.
svn path=/trunk/; revision=18253
002-09-20 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): set the
deleted attendees array to size 0 after we clean it up
Fixes#30479
svn path=/trunk/; revision=18135
002-09-19 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (simple_recur_to_comp): bump the
month_num by 1 because it indexs at 0
(recurrence_page_fill_widgets): lower the month_num by one as above
Fixes#30381
svn path=/trunk/; revision=18110
2002-09-04 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-editor.c (event_editor_send_comp): bail out if
we couldn't send the cancel
* gui/dialogs/task-editor.c (task_editor_send_comp): ditto
* gui/dialogs/comp-editor.c (save_comp_with_send): indicate send
status
(real_send_comp): return success/fail, only resave the component a
if we successfully sent
(comp_editor_send_comp): return success/fail
* gui/itip-utils.h: update proto
* gui/itip-utils.c (itip_send_comp): return true if we sent the
message
svn path=/trunk/; revision=17966
2002-08-30 Mike Kestner <mkestner@ximian.com>
* gui/dialogs/event-page.c:
* gui/dialogs/task-page.c: use bonobo_object_release_unref to release
the remote SelectNames component, not CORBA_Object_release.
svn path=/trunk/; revision=17939
2002-08-27 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-config.c: use EConfigListener instead of direct access
to the bonobo-conf database.
(calendar_config_init): create the EConfigListener here, and install
an atexit function to unref the config listener object.
(config_read, property_change_cb, calendar_config_write,
calendar_config_write_on_exit): removed unneeded functions.
(calendar_config_get_*, calendar_config_set_*): changed to make use of
EConfigListener directly.
* gui/main.c (main): removed call to calendar_config_write_on_exit.
* gui/dialogs/cal-prefs-dialog.c (update_config): removed call to
calendar_config_write.
svn path=/trunk/; revision=17874
2002-08-14 JP Rosevear <jpr@ximian.com>
* gui/dialogs/cal-prefs-dialog.c (init_widgets): listen for the
time editors to change
(cal_prefs_dialog_start_of_day_changed): make sure the start is
never after the end
(cal_prefs_dialog_end_of_day_changed): make sure the end is never
after the start
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_set_working_hours): make sure to show a
minimum of 1 hour for work day
* gui/e-day-view-main-item.c (e_day_view_main_item_draw):
calculate the work/not working color boxes to the nearest pixel,
rather the the nearest time division
Fixes#10286, #26285
svn path=/trunk/; revision=17776
2002-08-09 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor.c (real_send_comp): set the editor to
changed so the item actually gets saved
svn path=/trunk/; revision=17753
2002-08-08 JP Rosevear <jpr@ximian.com>
* gui/itip-utils.c (users_has_attendee): check for an attendee in
the list
(comp_to_list): only add the user if they aren't on the list
(comp_server_send): don't remove the users, pass back the list
(itip_send_comp): send to server before doing comp_minimal
* gui/dialogs/comp-editor.c (real_send_comp): edit and save the
updated comp
* pcs/cal.c (impl_Cal_send_object): copy the correct item to pass
back
svn path=/trunk/; revision=17747
2002-08-08 Rodrigo Moya <rodrigo@ximian.com>
Fixes#15710
* cal-util/cal-component.[ch] (cal_component_alarm_get_icalcomponent):
new function for getting the icalcomponent from a CalComponentAlarm.
* gui/comp-util.c (cal_comp_event_new_with_defaults): added
X-EVOLUTION-NEEDS-DESCRIPTION property to the default reminder alarm,
so that we can identify it when saving the component.
* gui/dialogs/alarm-page.c (alarm_page_fill_component): if the alarm
has the X-EVOLUTION-NEEDS-DESCRIPTION property, set the description to
be the same as of the component.
svn path=/trunk/; revision=17744
2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/task-details-page.c: fixed mapping of popdown menu
to ICAL_STATUS_ values.
(task_details_page_fill_widgets): when we can't set the status,
default to ICAL_STATUS_NONE, which maps to 'Not started'. Fixed
use of 'percent' variable, which was being used after being freed.
(percent_complete_changed): default to ICAL_STATUS_NONE (Not Started).
* gui/dialogs/task-details-page.glade: added 'Needs Action' to
popdown menu values.
svn path=/trunk/; revision=17624
2002-07-17 <jpr@ximian.com>
* gui/calendar-model.c (calendar_model_value_at): use util
function to see if the user is the organizer
* gui/dialogs/cancel-comp.c (cancel_component_dialog): add
deleting proto to indicate whether cancelling or deleting is the
primary operation
* gui/dialogs/cancel-comp.h: update proto
* gui/dialogs/comp-editor.c (delete_cmd): offer to cancel
* gui/dialogs/task-editor.c (cancel_task_cmd): call
cancel_component_dialog with new param
* gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto
* gui/e-week-view.c (e_week_view_on_editing_stopped): only update
request if user is organizer
(e_week_view_show_popup_menu): disable the meeting and meeting
organizer mask if appropriate
(e_week_view_delete_event_internal): offer to cancel the meeting
(e_week_view_on_cut): ditto
(selection_received): send request if its a meeting
* gui/e-day-view.h: add meeting icon/mask
* gui/e-day-view.c (e_day_view_on_event_right_click): disable the
meeting and meeting organizer mask if appropriate
(e_day_view_delete_event_internal): offer to cancel meeting
(e_day_view_on_cut): ditto
(e_day_view_finish_long_event_resize): only update request if user
is organizer
(e_day_view_reshape_long_event): add meeting icon to count
(e_day_view_reshape_day_event): ditto
(e_day_view_on_top_canvas_drag_data_received): only update request
if user is organizer
(e_day_view_on_main_canvas_drag_data_received): ditto
(selection_received): offer to send meeting info
* gui/e-day-view-main-item.c
(e_day_view_main_item_draw_day_event): draw meeting icon if
appropriate (using dummy icon atm)
svn path=/trunk/; revision=17491
2002-07-09 Peter Williams <peterw@ximian.com>
* tools/Makefile.am (INCLUDES): Add include lines to get
ebook headers relative to <ebook/foo.h>, not "foo.h".
addressbook:
2002-07-08 Peter Williams <peterw@ximian.com>
* backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so
that the installed headers will work sanely.
* backend/ebook/e-card-cursor.h:
* backend/ebook/e-book-view.h:
* backend/ebook/e-card-simple.h:
* backend/ebook/e-card.h:
* backend/ebook/e-destination.h: Same.
* printing/Makefile.am (INCLUDES): add -Iaddressbook/backend
to access the ebook headers. Also the builddir version to get
the generated addressbook.h
* gui/widgets/Makefile.am (INCLUDES): Same builddir fix.
* gui/merging/e-card-merging.c: Fix an ebook #include.
* gui/merging/Makefile.am (INCLUDES): Same idea.
* gui/contact-list-editor/Makefile.am (INCLUDES): Same.
* gui/contact-editor/Makefile.am (INCLUDES): Same builddir
change.
calendar:
2002-07-08 Peter Williams <peterw@ximian.com>
* gui/Makefile.am (INCLUDES): Change the -I flags to get
it to play nicely with the new Ebook header paradigm.
* gui/dialogs/Makefile.am: Same.
* gui/e-meeting-model.c: More of the same.
* gui/dialogs/e-delegate-dialog.c:
* gui/dialogs/e-meeting-model.c:
* gui/dialogs/comp-editor-util.c: Fix include lines to get
ebook headers.
* pcs/Makefile.am: Same.
composer:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Fix cflags for ebook header namespacing.
importers:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am: Fix cflags to get at ebook headers correctly.
* pine-importer.c: Fix include lines to get ebook headers the "right"
way.
* evolution-gnomecard-importer.c: Same.
mail:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Add -I flags to get the ebook headers.
svn path=/trunk/; revision=17411
2002-06-25 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor-page.h: add back proto
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_needs_send): add page needs_send signal
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_on_invite_others_button_draw): check to
see if the button should be sensitive when drawing
(e_meeting_time_selector_construct): listen for the button draw
signal
* cal-util/cal-component.c (cal_component_strip_errors): remove
X-LIC-ERROR x properties
* cal-util/cal-component.h: new proto
* gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send
to true
(meeting_page_fill_widgets): set up gui based on if the user or
someone else is the organizer
(meeting_page_construct): read the addresses here for the combo
box
(get_widgets): explicitly set the value in list values
* gui/dialogs/event-editor.c (set_menu_sens): base this on the
exist org and user org values of the comp editor
(event_editor_edit_comp): set up editable row restrictions on the
meeting model if the user is not an organizer, and don't set needs
send if we aren't the organizer initially
(model_row_changed_cb): set needs_send to true
(row_count_changed_cb): ditto
* gui/dialogs/meeting-page.glade: update gui
* gui/dialogs/comp-editor.c (save_comp_with_send): if the user is
not the organizer, REPLY rather than REQUEST
(comp_editor_set_existing_org): accessor
(comp_editor_get_existing_org): ditto
(comp_editor_set_user_org): ditto
(comp_editor_get_user_org): ditto
(real_edit_comp): determine if there is an existing organizer and
if the organizers is a user
(page_changed_cb): warn the user that changes may be discarded
(page_summary_changed_cb): ditto
(page_dates_changed_cb): ditto
* gui/dialogs/comp-editor.h: new protos
* gui/itip-utils.c (itip_organizer_is_user): determine if the
organizer of a component is a user
(itip_sentby_is_user): same for sentby field of organizer
(comp_sentby): use above routines instead
(comp_compliant): strip all X-LIC-ERROR fields generated by
libical
* gui/e-meeting-model.c (is_cell_editable): if there is a list of
editable rows, allow only the status column of those rows to be
edited
(init): init edit_rows
(e_meeting_model_restricted_add): add an editable row to the model
(e_meeting_model_restricted_remove): remove an editable row
(e_meeting_model_restricted_clear): clear all editable rows
(e_meeting_model_etable_click_to_add): set the click to add arg on
all tables
(e_meeting_model_etable_from_model): track the tables
(table_destroy_list_cb): remove the table being destroyed from the
list
(table_destroy_state_cb): remove the table being destroyed from
the list
* gui/e-meeting-model.h: new protos
* gui/e-itip-control.c (update_attendee_status): kill warning
svn path=/trunk/; revision=17274
2002-06-03 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/cal-prefs-dialog.glade: In an attempt to clean up the
config dialog (and to reduce its overall girth), I have re-laid-out the
calendar preferences dialog. It now conforms to standard Evolution
spacing and padding guidelines, and exhibits proper alignment, etc.
svn path=/trunk/; revision=17087
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor.h: update proto
* gui/dialogs/comp-editor.c (comp_editor_get_comp): new function
to get base comp
* gui/e-comp-editor-registry.c (e_comp_editor_registry_add): get
the base comp, not the current comp, don't unref it
(foreach_close_cb): block the signal, unblock it if the editor
could not be closed
(e_comp_editor_registry_close_all): fix preconditions
(editor_destroy_cb): get the base comp, not the current comp,
don't unref it
svn path=/trunk/; revision=17020
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all):
if there are remaining items, return false
(foreach_close_cb): don't remove the item if it couldn't be closed
* gui/e-comp-editor-registry.h: update proto
* gui/component-factory.c (request_quit): return a boolean
indicating if everything was closed
* gui/dialogs/comp-editor.h: update proto
* gui/dialogs/comp-editor.c (comp_editor_close): return true if
the editor was closed, false otherwise
svn path=/trunk/; revision=17019
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/e-comp-editor-registry.[hc]: a registry of comp editors so
we can close them all centrally
* gui/gnome-cal.c (gnome_calendar_init): there is no editor hash
now
(gnome_calendar_destroy): ditto
(gnome_calendar_edit_object): look for the event editor in the
registry, if it isn't there, create it and add it to the registry
* gui/e-calendar-table.c (open_task): look for the task editor in
the registry, if it isn't there, create it and add it to the
registry
* gui/component-factory.c (request_quit): close all open editors
(create_object): add a request_quit function to the shell
component
* gui/comp-editor-factory.c (free_client): there is no
uid_comp_hash to free any more
(editor_destroy_cb): we get an OpenClient as callback data now,
reduce the editor count and destroy it if it is 0
(edit_existing): don't create the Component, add the new editor to
the registry, increase the editor count
(edit_new): ditto
(open_client): set the editor count to 0
(impl_editExisting): look in the registry for the editor
* gui/Makefile.am: Build new sources
* gui/main.c (main): create the registry
* gui/dialogs/comp-editor.c (comp_editor_close): prompt to save
and then close dialog
* gui/dialogs/comp-editor.h: new proto
* gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff
svn path=/trunk/; revision=17018
* gui/dialogs/event-editor.c (event_editor_init): Pass the
@component_pixmaps in so we give the new "Meeting" button an icon.
* gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg
@component_pixmaps to pass in custom pixmaps.
svn path=/trunk/; revision=16955
2002-05-14 JP Rosevear <jpr@ximian.com>
* gui/dialogs/schedule-page.c (schedule_page_construct): set the
working hours for the meeting time selector
svn path=/trunk/; revision=16786
2002-05-14 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.h: make the range datetime member a
struct not a pointer
* cal-util/cal-component.c (cal_component_get_recurid): take a
pointer to a range
(cal_component_set_recurid): ditto
* gui/itip-utils.c (comp_minimal): get/set the recurrence id
properly
svn path=/trunk/; revision=16785
2002-04-19 Anna Marie Dirks <anna@ximian.com>
* gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages
and added accelerators for everything, as part of my config dialog
polishing project
svn path=/trunk/; revision=16540
2002-04-18 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly
handle -ve recurrence values
(month_num_submenu_selection_done_cb): track the current date in
use
(make_recur_month_num_submenu): make a submenu of dates
(make_recur_month_num_menu): make the date/relation option menu
(month_num_menu_selection_done_cb): update the date properly and
keep both option menus consistent
(month_day_menu_selection_done_cb): keep both option menus
consistent
(make_monthly_special): listen for selection done signal
(make_recurrence_special): destroy old month_num_menu
(recurrence_page_fill_widgets): properly handle -ve recurrence
values
svn path=/trunk/; revision=16526
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required gal version number to 0.19.99.11.
From addressbook/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories): Changed this to use
ECategoriesMasterListOptionMenu.
* gui/component/select-names/e-select-names.c
(section_right_click_cb),
gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-view.c: Updated these to match the new
EPopupMenu.
From calendar/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
gui/dialogs/meeting-page.c: Updated these to match the new
EPopupMenu.
From mail/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, mail-display.c: Updated these to match the new
EPopupMenu.
From shell/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-activity-handler.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16498
2002-03-29 JP Rosevear <jpr@ximian.com>
* gui/e-calendar-table.c: implement new pop up menu items for
"Save as", "Print", "Assign Task", "Forward as iCalendar"
* gui/e-day-view.c: similarly, also "Publish Free/Busy
Information" and "New Meeting" and "New Task"
* gui/e-week-view.c: ditto
* gui/dialogs/task-editor.c (show_assignment): move the assignment
page stuff here
(task_editor_show_assignment): use it
(assign_task_cmd): ditto
* gui/dialogs/task-editor.h: new proto
* gui/dialogs/comp-editor.c (save_as_cmd): use new e-util file
selector function
svn path=/trunk/; revision=16287
2002-03-15 Jeffrey Stedfast <fejj@ximian.com>
* gui/e-day-view.c: Updated to use new EPopupMenu API.
* gui/e-week-view.c: Updated to use new EPopupMenu API.
* gui/e-calendar-table.c: Updated to use new EPopupMenu API.
svn path=/trunk/; revision=16184
* gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible>
to cal-prefs-dialog so it doesn't get shown when we load the Glade
file with libglade.
* gui/component-factory.c (owner_set_cb): Register the
ConfigControl factory.
* gui/tasks-control.c: Removed verb "TaskSettings".
(tasks_control_settings_cmd): Removed.
* gui/calendar-commands.c: Removed verb "CalendarSettings".
(settings_cmd): Removed.
* gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate'
to `DialogData'. Replace `dialog' member with a `page' member.
Remove `toplevel_notebook' member.
(init_widgets): Renamed from `cal_prefs_dialog_init_widgets'.
Just get a DialogData.
(get_widgets): Get a DialogData pointer.
(cal_prefs_dialog_destroy): Removed.
(config_control_destroy_callback): New, signal handler for
::destroy for ConfigControl.
(cal_prefs_dialog_new): Create a new DialogData, connect all the
signal handlers.
(create_time_edit): Renamed from
`cal_prefs_dialog_create_time_edit'.
(cal_prefs_dialog_show): Removed.
(cal_prefs_dialog_button_clicked): Removed.
(show_task_list_config): Get a DialogData.
(show_config): Renamed from `cal_prefs_dialog_show_config'.
Likewise.
(update_task_list_config): Likewise.
(update_config): Renamed from
`cal_prefs_dialog_update_config'. Likewise.
(color_set_callback): New callback, makes the dialog report
changes when the setting in any of the color widgets is changed.
(widget_changed_callback): New callback, makes the dialog report
changes when any of the widgets changes status.
(connect_changed): New utility function to connect this callback
to all the widgets.
(setup_widgets): Connect all the widgets.
(cal_prefs_dialog_new): Call `setup_widgets'.
* gui/config-control-factory.c: New.
* gui/config-control-factory.h: New.
* gui/GNOME_Evolution_Calendar.oaf.in: Add
OAFIID:GNOME_Evolution_Calendar_ConfigControl and
OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory.
svn path=/trunk/; revision=16135
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/print.c: remove unneeded parameter from print_text_size
everywhere
(get_font_for_size): calculate a font size based on the available
height
(print_text): calculate the top of where the font should be drawn
(print_text_size): use get_font_for_size
(print_day_background): use get_font_for_size
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_draw): pass the real table
to e_meeting_model_etable_view_to_model_row
(e_meeting_time_selector_item_paint_busy_periods): ditto
* gui/dialogs/meeting-page.c (right_click_cb): ditto
* gui/e-meeting-model.h: update protos
* gui/e-meeting-model.c
(e_meeting_model_etable_model_to_view_row): take in to account the
fact the table used the without model
(e_meeting_model_etable_view_to_model_row): ditto
svn path=/trunk/; revision=15926
002-02-19 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (send_item): pass extra itip_send_comp
params
(send_freebusy): ditto
(ok_clicked_cb): ditto, including the timezones culled from the
component
* gui/e-week-view.c: pass extra itip_send_comp params
* gui/calendar-commands.c: ditto
* gui/e-day-view.c: ditto
* gui/dialogs/task-editor.c: ditto
* gui/dialogs/event-editor.c: ditto
* gui/dialogs/comp-editor.c: ditto
* gui/itip-utils.h (itip_send_comp): update proto
* gui/itip-utils.c (foreach_tzid_callback): check the passed in
zones, then the builtin time zones then the client
2002-02-19 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (find_my_address): strip the ical value and
do a case insensitive compare
(find_attendee): ditto
(change_status): put the error message here
(ok_clicked_cb): don't update the item or rsvp unless
change_status was successful, trip the ical value and do a case
insensitive compare
* gui/itip-utils.c (get_address): strip the incoming address
(itip_strip_mailto): use g_strncasecmp
(comp_limit_attendees): strip the ical value and do a case
insensitive compare
svn path=/trunk/; revision=15763
2002-02-08 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-details-page.glade: change custom widget
creator to e_url_entry_new
* gui/dialogs/task-details-page.c (get_widgets): get the url entry
and its entry
svn path=/trunk/; revision=15622
2002-02-08 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-details-page.glade: add a custom widget created
with e_url_button_new
* gui/dialogs/task-details-page.c (task_details_page_init): init
url_button member to NULL
(init_widgets): set the url button entry
(get_widgets): get the url button
* gui/calendar-commands.c (pixmaps): use new all day event icon
svn path=/trunk/; revision=15610