Commit Graph

39 Commits

Author SHA1 Message Date
7d76d9858a make tomorrow and this week strings work properly
2005-01-27  JP Rosevear  <jpr@novell.com>

	* itip-view.c (format_date_and_time_x): make tomorrow and this
	week strings work properly

svn path=/trunk/; revision=28591
2005-01-28 04:30:30 +00:00
4fca3e656f remove debug test
2005-01-27  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (find_cal_opened_cb): remove debug test

svn path=/trunk/; revision=28590
2005-01-28 02:02:41 +00:00
da4bb89f31 add some debugging spew
2005-01-27  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c: add some debugging spew

svn path=/trunk/; revision=28584
2005-01-27 18:10:03 +00:00
851a0d55d3 add some debugging spew
2005-01-27  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c: add some debugging spew

svn path=/trunk/; revision=28583
2005-01-27 18:01:55 +00:00
8371bae83c deal with the itip message having an individual instance.
2005-01-27  Rodrigo Moya <rodrigo@novell.com>

	* itip-formatter.c (update_attendee_status): deal with the itip
	message having an individual instance.

svn path=/trunk/; revision=28580
2005-01-27 13:25:09 +00:00
1ea95238a9 Fixes #71485
2005-01-26  JP Rosevear  <jpr@novell.com>

	Fixes #71485

	* itip-formatter.c (update_attendee_status): fix message paste-o

	* itip-view.c (format_date_and_time_x): improve translator
	comments

svn path=/trunk/; revision=28569
2005-01-27 04:37:49 +00:00
d997701441 actually destroy the client hashes so the signals get cleaned up
2005-01-25  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (pitip_free): actually destroy the client
	hashes so the signals get cleaned up
	(format_itip): create a proper unique classid for the pobject

svn path=/trunk/; revision=28558
2005-01-26 04:52:12 +00:00
439bcf6a86 use camel_data_wrapper_decode_to_stream instead of
2005-01-14  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (extract_itip_data): use
	camel_data_wrapper_decode_to_stream instead of
	camel_data_wrapper_write_to_stream

svn path=/trunk/; revision=28404
2005-01-14 15:40:29 +00:00
2995dc7ab7 handle UTC dtstart/dtend properly
2005-01-14  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (format_itip_object): handle UTC dtstart/dtend
	properly

svn path=/trunk/; revision=28401
2005-01-14 15:09:11 +00:00
bb94c723d1 Fixes #29985
2005-01-11  JP Rosevear  <jpr@novell.com>

	Fixes #29985

	* itip-formatter.c (view_response_cb): set the message flags to
	answered if we send successfully

svn path=/trunk/; revision=28361
2005-01-12 02:01:55 +00:00
f66d06bd89 Fixed a compiler warning.
* itip-formatter.c (update_item): Fixed a compiler warning.

svn path=/trunk/; revision=28347
2005-01-11 04:19:45 +00:00
bab92a55dc set to the new items, duh
2005-01-10  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (update_item): set to the new items, duh

svn path=/trunk/; revision=28338
2005-01-10 22:00:37 +00:00
34225b40c4 *** empty log message ***
svn path=/trunk/; revision=28336
2005-01-10 19:42:23 +00:00
e6dc2252a2 compare pointers instead of content id
2005-01-10  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (update_item): compare pointers instead of
	content id

svn path=/trunk/; revision=28335
2005-01-10 19:39:10 +00:00
91fed89ab4 More attachment updates
svn path=/trunk/; revision=28334
2005-01-10 19:37:31 +00:00
678a2586c7 dont handle attachments in case of decline
svn path=/trunk/; revision=28333
2005-01-10 18:17:34 +00:00
fb874ce0c9 first crack at saving attachments for the backend (extract_itip_data):
2005-01-10  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (update_item): first crack at saving
	attachments for the backend
	(extract_itip_data): tell the user what to do for more than one
	attachment

svn path=/trunk/; revision=28328
2005-01-10 15:51:55 +00:00
e09e6ea9b7 first crack at saving attachments for the backend
2005-01-10  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (update_item): first crack at saving
	attachments for the backend

svn path=/trunk/; revision=28323
2005-01-10 14:53:14 +00:00
bb2c3ad2dd remove error mode
2005-01-09  JP Rosevear  <jpr@novell.com>

	* itip-view.h: remove error mode

	* itip-formatter.c (set_itip_error): show error information to the
	user
	(extract_itip_data): use above
	(format_itip_object): no more "error" mode

svn path=/trunk/; revision=28306
2005-01-10 03:54:42 +00:00
884bc8d163 accessor (itip_view_get_delegator): ditto
2005-01-09  JP Rosevear  <jpr@novell.com>

	* itip-view.c (itip_view_set_delegator): accessor
	(itip_view_get_delegator): ditto

	* itip-view.h: new protos

	* itip-formatter.c (extract_itip_data): put delegate sections back
	in and handle default reminder
	(format_itip_object): set the delegator for requests, find the
	delegator calendar if necessary

svn path=/trunk/; revision=28305
2005-01-10 02:59:27 +00:00
fc2814312a launch an evolution window pointing at the calendar date of the
2005-01-09  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (idle_open_cb): launch an evolution window
	pointing at the calendar date of the appointment
	(view_response_cb): use it

svn path=/trunk/; revision=28301
2005-01-10 02:31:59 +00:00
31a1795399 only check for conflicts if the source has the conflict property
2005-01-09  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (find_cal_opened_cb): only check for conflicts
	if the source has the conflict property
	(initialize_selection): select the "conflict" sources in the
	selector
	(source_selection_changed): update the source properties
	(itip_formatter_page_factory): include the source selector for
	selecting conflict checking calendars

svn path=/trunk/; revision=28300
2005-01-09 17:56:17 +00:00
fbbb23f936 update itip_send_comp calls with the new prototype.
svn path=/trunk/; revision=28289
2005-01-08 12:11:06 +00:00
a4e1cd2c0d new protos
2005-01-07  JP Rosevear  <jpr@novell.com>

	* itip-view.h: new protos

	* itip-view.c (set_tasklist_sender_text): task sender messages
	(set_calendar_sender_text): calendar sender messages
	(set_sender_text): select above as appropriate
	(itip_view_set_item_type): accessor
	(itip_view_get_item_type): ditto

	* itip-formatter.c (find_cal_opened_cb): messages for
	meetings/tasks/journals
	(send_item): ditto
	(format_itip_object): ditto
	(itip_formatter_page_factory): change page title

svn path=/trunk/; revision=28280
2005-01-07 22:17:49 +00:00
b12dec1c48 ensure there is only one attendee in the RSVP even if the user is
2005-01-07  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (view_response_cb): ensure there is only one
	attendee in the RSVP even if the user is duplicated

svn path=/trunk/; revision=28279
2005-01-07 20:49:18 +00:00
f679ec6e04 protos
2005-01-07  JP Rosevear  <jpr@novell.com>

	* itip-view.h: protos

	* itip-view.c (rsvp_toggled_cb): set comment sensitivity
	(itip_view_init): add comment entry
	(itip_view_set_rsvp): make comment entry sensitive when rsvp is
	(itip_view_set_rsvp_comment): accessor
	(itip_view_get_rsvp_comment): ditto

	* itip-formatter.c (find_cal_opened_cb): set error message if we
	can't find the item
	(view_response_cb): add comment if the user sets one

svn path=/trunk/; revision=28275
2005-01-07 17:38:49 +00:00
30ef2f04db add protos
2005-01-07  JP Rosevear  <jpr@novell.com>

	* itip-view.h: add protos

	* itip-view.c (set_sender_text): update descriptions better
	(set_status_text): show/hide status
	(set_comment_text): show/hide comment
	(set_buttons): update buttons for add an refresh
	(itip_view_destroy): free comment/status
	(itip_view_init): add status/comment widgets
	(itip_view_set_status): accessor
	(itip_view_get_status): ditto
	(itip_view_set_comment): ditto
	(itip_view_get_comment): ditto

	* itip-formatter.c (find_cal_opened_cb): make sure rsvp is off for
	publish
	(format_itip_object): decline counter is sent by an organizer; set
	status and comment when appropriate

svn path=/trunk/; revision=28270
2005-01-07 15:58:17 +00:00
3de23fd24b Dist the errors data properly, and add the .eplug output file to
2005-01-05  Rodney Dawes  <dobey@novell.com>

	* Makefile.am: Dist the errors data properly, and add the .eplug
	output file to BUILT_SOURCES

svn path=/trunk/; revision=28247
2005-01-05 17:32:53 +00:00
5905e1452b Don't do set_usize () on the container
2005-01-03  Rodney Dawes  <dobey@novell.com>

	* itip-formatter.c (format_itip_object): Don't do set_usize ()
	on the container

svn path=/trunk/; revision=28225
2005-01-03 22:05:21 +00:00
5dd15599b2 load accounts
2005-01-03  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (format_itip_object): load accounts

svn path=/trunk/; revision=28224
2005-01-03 20:58:10 +00:00
e21fe75559 remove unused message
2005-01-03  JP Rosevear  <jpr@novell.com>

	* org-gnome-itip-formatter-errors.xml: remove unused message

	* itip-formatter.c (update_item): use info item, not e-error

svn path=/trunk/; revision=28223
2005-01-03 20:20:06 +00:00
67d95ccf06 implement cancel (update_item): add cancel info item
2005-01-03  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (view_response_cb): implement cancel
	(update_item): add cancel info item

svn path=/trunk/; revision=28222
2005-01-03 20:12:21 +00:00
89441016f3 utility routine to make it easier to add info items
2005-01-03  JP Rosevear  <jpr@novell.com>

	* itip-view.c (itip_view_add_upper_info_item_printf): utility
	routine to make it easier to add info items
	(itip_view_add_lower_info_item_printf): ditto

	* itip-view.h: new protos

	* itip-formatter.c: use new printf routines everyhwere it makes
	sense

svn path=/trunk/; revision=28220
2005-01-03 19:00:02 +00:00
9e247f541c move the adjust item work here when we actually have the calendar
2005-01-03  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (find_cal_opened_cb): move the adjust item work
	here when we actually have the calendar
	(pitip_free): implement a free function
	(find_cal_opened_cb): check the methods instead of the show
	selector member
	(find_cal_opened_cb): default to true for the rsvp setting

svn path=/trunk/; revision=28218
2005-01-03 18:42:11 +00:00
625fd5b098 move the adjust item work here when we actually have the calendar
2005-01-03  JP Rosevear  <jpr@novell.com>

	* itip-formatter.c (find_cal_opened_cb): move the adjust item work
	here when we actually have the calendar
	(pitip_free): implement a free function

svn path=/trunk/; revision=28217
2005-01-03 17:31:42 +00:00
1d499afd80 add response enums
2005-01-03  JP Rosevear  <jpr@novell.com>

	* itip-view.h: add response enums

	* itip-view.c (set_buttons): fiddle with button names and response enums

	* itip-formatter.c (find_server): don't include our uid in the
	conflicts search
	(update_attendee_status): update the status of the attendee and
	save it out
	(adjust_item): get relevant properties for items that might
	contain them if sent from an attendee
	(get_real_item): get the actual, current item
	(send_item): send the item
	(view_response_cb): handle REPLY and REFRESH requests
	(format_itip_object): adjust the item if necessary and set the
	attendee for reply/refresh; prevent crash if no description
	(pitip_free): skeleton free function
	(format_itip): load delete message setting
	(delete_toggled_cb): set delete message setting based on toggle
	(itip_formatter_page_factory): make the delete message check box
	work

	* Makefile.am: install e-error messages

svn path=/trunk/; revision=28216
2005-01-03 17:24:12 +00:00
4cb6cea812 new protos, signal
2005-01-03  JP Rosevear  <jpr@novell.com>

        * itip-view.h: new protos, signal

        * itip-view.c (set_info_items): be more generic so both upper and
        lower setting can use it
        (set_upper_info_items): set the upper info items
        (set_lower_info_items): ditto for lower items
        (itip_view_destroy): clear both sets of info items
        (itip_view_class_init): add source selected signalo
        (itip_view_init): add separate upper and lower info item areas and
        a detail area
        (itip_view_add_upper_info_item): add upper info item
        (itip_view_remove_upper_info_item): remove a singal upper area
        info item
        (itip_view_clear_upper_info_items): clear them all
        (itip_view_add_lower_info_item): as above
        (itip_view_remove_lower_info_item): ditto
        (itip_view_clear_lower_info_items): ditto
        (source_selected_cb): emit the source selected signal when the
        source in the option menu changes
        (itip_view_set_source_list): take a source list and create an
        e-source-option-menu if its non-null
        (itip_view_get_source_list): get source list
        (itip_view_set_source): set a specific source in the source option
        menu
        (itip_view_get_source): obtain that source
        (itip_view_set_rsvp): get the rsvp status
        (itip_view_get_rsvp): set it
        (itip_view_set_show_rsvp): set visibility of rsvp check box
        (itip_view_get_show_rsvp): get the visibility of rsvp check box
        (itip_view_set_buttons_sensitive): set button sensitivity
        (itip_view_get_buttons_sensitive): get button sensitivity

        * itip-formatter.c (find_my_address): find the user's address in
        the list of attendees
        (set_buttons_sensitive): set the action buttons sensitivity
        appropriately
        (cal_opened_cb): use above
        (start_calendar_server): ditto
        (start_calendar_server_by_uid): de-sensitize buttons to start
        (source_selected_cb): ditto
        (find_cal_opened_cb): check for conflicting appointments; set
        informative info area items
        (find_server): create the sexp for determining conflicts
        (update_item): oset informative info area items
        (view_response_cb): implement some of the responses, start on
        implementing rsvp

svn path=/trunk/; revision=28215
2005-01-03 14:47:17 +00:00
a767f8cee2 new protos
2004-12-29  JP Rosevear  <jpr@novell.com>

	* itip-view.h: new protos

	* itip-view.c (format_date_and_time_x): don't draw the leading
	zero in 12hr clock mode for the hour
	(set_sender_text): make intro statements closer to the UI design
	(set_description_text): display description
	(set_info_items): show info items, messages with icons
	(set_progress_text): show progress text item (for
	loading/searching calendars)
	(set_one_button): add a response button
	(set_buttons): set response buttons based on mode
	(itip_view_destroy): clear info items
	(itip_view_class_init): add response signal
	(itip_view_init): new areas for description, info items, buttons
	(itip_view_set_description): accessor
	(itip_view_get_description): ditto
	(itip_view_add_info_item): add an info item to the display
	(itip_view_clear_info_items): clear all items
	(itip_view_set_progress): set the progress message

	* itip-formatter.c: move over calendar loading, searching code,
	set more itip view properties

	* org-gnome-itip-formatter.eplug.in: add a config page item,
	doesn't do much right now

svn path=/trunk/; revision=28207
2004-12-29 18:39:11 +00:00
2698f79304 Initial checkin of new itip formatter
2004-12-22  JP Rosevear  <jpr@novell.com>

	* Initial checkin of new itip formatter

svn path=/trunk/; revision=28184
2004-12-22 16:22:23 +00:00