aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-formatter.c
Commit message (Collapse)AuthorAgeFilesLines
* add protosJP Rosevear2005-01-071-8/+44
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Don't do set_usize () on the containerRodney Dawes2005-01-041-1/+0
| | | | | | | | | 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
* load accountsJP Rosevear2005-01-041-0/+3
| | | | | | | | 2005-01-03 JP Rosevear <jpr@novell.com> * itip-formatter.c (format_itip_object): load accounts svn path=/trunk/; revision=28224
* remove unused messageJP Rosevear2005-01-041-4/+6
| | | | | | | | | | 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
* implement cancel (update_item): add cancel info itemJP Rosevear2005-01-041-7/+14
| | | | | | | | | 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
* utility routine to make it easier to add info itemsJP Rosevear2005-01-041-28/+11
| | | | | | | | | | | | | | | 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
* move the adjust item work here when we actually have the calendarJP Rosevear2005-01-041-59/+57
| | | | | | | | | | | | | 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
* move the adjust item work here when we actually have the calendarJP Rosevear2005-01-041-5/+39
| | | | | | | | | | 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
* add response enumsJP Rosevear2005-01-041-30/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* new protos, signalJP Rosevear2005-01-031-61/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* new protosJP Rosevear2004-12-301-8/+540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Initial checkin of new itip formatterJP Rosevear2004-12-231-0/+275
2004-12-22 JP Rosevear <jpr@novell.com> * Initial checkin of new itip formatter svn path=/trunk/; revision=28184