aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #71485JP Rosevear2005-01-271-35/+37
| | | | | | | | | | | | | 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
* accessor (itip_view_get_delegator): dittoJP Rosevear2005-01-101-0/+31
| | | | | | | | | | | | | | | | 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
* new protosJP Rosevear2005-01-081-1/+118
| | | | | | | | | | | | | | | | | | | | 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
* protosJP Rosevear2005-01-081-15/+82
| | | | | | | | | | | | | | | | | | 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
* add protosJP Rosevear2005-01-071-13/+135
| | | | | | | | | | | | | | | | | | | | | | | | 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
* utility routine to make it easier to add info itemsJP Rosevear2005-01-041-0/+46
| | | | | | | | | | | | | | | 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
* add response enumsJP Rosevear2005-01-041-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-49/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-26/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+720
2004-12-22 JP Rosevear <jpr@novell.com> * Initial checkin of new itip formatter svn path=/trunk/; revision=28184