* e-shell-user-creatable-items-handler.c (ensure_menu_items): Set
the icons for all the "New..." menu items from the specified one
in the type definitions.
* e-activity-handler.c (create_gdk_pixbuf_from_corba_icon):
Removed.
(impl_operationStarted): Just use
`e_new_gdk_pixbuf_from_corba_icon()'.
* e-shell-corba-icon-utils.c (e_new_gdk_pixbuf_from_corba_icon):
New.
svn path=/trunk/; revision=15786
2002-02-21 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (on_message_list_built): Connect to our own
message_list_built signal. Focus the list and select the first
unread message (or frst message depending). Fixes bug #3900.
svn path=/trunk/; revision=15784
2002-02-21 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added
e-table-memory-store.lo.
From gal/e-table/ChangeLog:
2002-02-21 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (libetable_la_SOURCES): Added
e-table-memory-store.c.
(libetableinclude_HEADERS): Added e-table-memory-store.h.
* e-table-config-no-group.glade, e-table-config.glade: Updated
these.
* e-table-config.c, e-table-config.h: Updated this to have a
working field list editor.
* e-table-memory-store.c, e-table-memory-store.h: New ETableModel
that is a complete store of all the data in your table. No
callbacks at all.
* e-table-subset-variable.c, e-table-subset-variable.h
(e_table_subset_variable_clear): Added this simple function
* e-table-subset.c (etss_get_save_id): Made this return the row
number g_strdup_printfed if the source model doesn't support save
ids.
2002-02-20 Christopher James Lahey <clahey@ximian.com>
* e-table-sorter.c, e-table-sorter.h: Connect to the
model_rows_inserted, model_rows_deleted, and group_info_changed
here.
svn path=/trunk/; revision=15783
2002-02-20 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri):
track change to signature, and (for now) just change all the
return FALSE's to _RepositoryOffline (what FALSE used to map to in
pas_book_factory_process_request), and change TRUE to _Success.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri):
track change to signature, and differentiate between
pas_backend_ldap_connect failing (RepositoryOffline), and
ldap_url_parse failing (OtherError).
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): since pas_backend_load_uri
returns status now, use it to nodify the BookListener if there's a
failure.
* backend/pas/pas-backend.c (pas_backend_load_uri): track change
to signature.
* backend/pas/pas-backend.h: change return type of
pas_backend_load_uri to
GNOME_Evolution_Addressbook_BookListener_CallStatus to allow
differentiation between failure types.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): handle _AUTHENTICATION_FAILED.
* backend/ebook/e-book-types.h (EBookStatus): add
_AUTHENTICATION_FAILED.
svn path=/trunk/; revision=15779
2002-02-20 Anna Marie Dirks <anna@ximian.com>
* message-tag-editor.c (message_tag_editor_init): Gave the editor
window a title and an icon.
svn path=/trunk/; revision=15777
* e-shell-view-menu.c (command_open_folder_in_new_window): Don't
show the folder bar and the shortcut bar in the new window.
* e-shell-view.c (activate_shortcut_cb): Don't show the folder bar
and the shortcut bar in the new window.
* e-shell-view.c (e_shell_create_view): Don't flush the GTK events
here.
* e-shell.c (e_shell_construct): New arg @start_online. If true,
invoke `e_shell_go_online()' before returning.
(e_shell_new): New arg @start_online. Pass it to
e_shell_construct().
(init): Default ->line_status to E_SHELL_LINE_STATUS_OFFLINE.
* main.c (main): Add "--offline" and "--online" options.
svn path=/trunk/; revision=15776
2002-02-20 Anna Marie Dirks <anna@ximian.com>
* message-tags.glade: Changed the policy for table2 so that it
does not expand/fill. This was necessary to allow the message list
as much growing room as possible. (And besides, there's no reason for
table2 to expand/fill; its child widgets can't change size.
svn path=/trunk/; revision=15771
2002-02-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (confirm_goto_next_folder): Prompt the user to
find out if he/she wants to go to the next folder with unread mail
in it.
(find_current_folder): Find a given CamelFolderInfo node based on
a given uri.
(find_next_folder_r): Recursively look for a CamelFOlderInfo node
which has unread messages.
(find_next_folder): Given a currently selected CamelFolderInfo
node, look for the next node containing unread messages.
(do_evil_kludgy_goto_next_folder_hack): Find the currently
selected folder and then find the very next folder after it that
contains unread messages and then select it via a CORBA call to
the shell.
(next_unread_msg): If we fail to find an unread message in the
message-list, prompt the user to find out if we should jump to the
next fodler containing unread messages. If so, call
do_evil_kludgy_goto_next_folder_hack().
* message-list.c (message_list_select): Return a boolean value
based on whether the call was successfull or not.
* mail-config.c (mail_config_get_confirm_goto_next_folder):
(mail_config_set_confirm_goto_next_folder):
(mail_config_get_goto_next_folder):
(mail_config_set_goto_next_folder): All new functions, yay.
(config_read): Read in the confirm_goto_next_folder and
goto_next_folder config options.
(mail_config_write_on_exit): Same the options here.
svn path=/trunk/; revision=15770
2002-02-19 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c (e_tree_selection_model_init):
Initialize frozen_count to 0.
svn path=/trunk/; revision=15765
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-18 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): if the load_uri fails, notify
the listener that the repository is offline. (partial fix for bug
20347)
svn path=/trunk/; revision=15758
2002-02-18 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_dn_from_ecard): escape
commas in the dn, since they're used by ldap to specify the node's
placement in the tree. (fixes bug 20089)
(rfc2254_escape): just use sprintf and %02X instead.
svn path=/trunk/; revision=15756
2002-02-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (basename_from_uri): Ack, strip off the
leading '/' char and also only translate if it is a local uri,
imap folders and other external folders will be named by the user
so no need to translate those.
svn path=/trunk/; revision=15751
2002-02-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (basename_from_uri): Ack, strip off the
leading '/' char and also only translate if it is a file: uri,
imap folders and other external folders will be named by the user
so no need to translate those.
svn path=/trunk/; revision=15750
2002-02-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (do_attachment_header): Don't display a
down-arrow if the attachment is undisplayable. Fixes bug #6919.
(launch_cb): Some programs are buggy when it comes to parsing
file: uris, so make sure we do file://%s. Fixes bug #20456.
svn path=/trunk/; revision=15747
2002-02-12 Jeffrey Stedfast <fejj@ximian.com>
* mail/galview.xml: Offer the new By Follow Up Flag view.
* mail/By_Follow_Up_Flag.galview: New galview for Follow Up Flag.
svn path=/trunk/; revision=15743
2002-02-14 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-model.c: use new column enums
(set_value_at): emit pre-change/cell change signals
(destroy): destroy refresh_queue and refresh_data
(init): init new elements
(refresh_queue_add): if the attendee is being refreshed already,
possibly update the start/end times to look for and update the
callback info, otherwise add it to the queue
(refresh_queue_remove): remove a refreshing attende from the queue
(process_callbacks): make all the callbacks and remove the
attendee from the queue
(process_free_busy): process the callbacks immediately if parsing
fails or on successful completion of processing
(async_close): process free busy
(cursor_cb): we're only looking for one at a time now
(refresh_busy_periods): idle callback to start processing the queue
(e_meeting_model_refresh_all_busy_periods): add every row to the queue
(e_meeting_model_refresh_busy_periods): add a single row to the queue
* gui/e-meeting-model.h: new protos, enum the columns
* gui/e-meeting-time-sel.c: use new compare time function
(e_meeting_time_selector_construct): listen for a cell changed
signal and use separate callbacks for rows_inserted and
rows_deleted
(e_meeting_time_selector_refresh_free_busy): util function to
refresh free busy info
(e_meeting_time_selector_on_update_free_busy): use above
(rows_inserted_cb): refresh free busy on the new rows
(cell_changed_cb): refresh free busy on the row when the address
changes
(rows_deleted_cb): redraw
* gui/e-meeting-utils.[hc]: a holding spot for a meeting time
comparison function
* gui/Makefile.am: compile new files
svn path=/trunk/; revision=15741
2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (basename_from_uri): Replacement for using
g_basename and also translates the basename string to fix bug
#7160.
(mail_account_gui_save): Use basename_from_uri().
(folder_picker_clicked): Here too.
svn path=/trunk/; revision=15733
2002-02-14 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (delete_old_signature): don't insert paragraph
here, also delete paragraph where signature was
(e_msg_composer_show_sig_file): test if we are in empty document
and if so, insert new paragraph for signature
svn path=/trunk/; revision=15729
2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): Default the from-account
to the source account. If that fails, then guess the from-account
based on the recipients. Fixes bug #20479.
svn path=/trunk/; revision=15728
2002-02-14 Radek Doulik <rodo@ximian.com>
* e-summary-tasks.c (sort_uids): fix case when priority is
undefined and pri_a or pri_b is returned as NULL, also fixes
memory leak
svn path=/trunk/; revision=15727
2002-02-13 Rodrigo Moya <rodrigo@ximian.com>
* gui/control-factory.c (set_prop): don't append 'calendar.ics'
to the URI.
(get_prop): finished.
* gui/tasks-control.c (tasks_control_set_property): don't append
'tasks.ics' to the URI.
(tasks_control_get_property): finished.
* gui/gnome-cal.c (gnome_calendar_open):
* gui/e-tasks.c (e_tasks_open): append $filename.ics to the uri to be
opened if the uri is local. Leave intact in other cases.
svn path=/trunk/; revision=15724
2002-02-13 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-ui.c: Set the followup icon to use the new flag
icon rather than the exclamation mark icon.
* mail-callbacks.c (flag_for_followup): Append the selected
messages to the clist in the followp editor.
* message-list.c: Include the new flag-for-followup icon.
* message-tag-followup.c (message_tag_followup_append_message):
New method to add a message to the message-list.
(construct): Get the message_list widget and load the flag icon
pixmap.
svn path=/trunk/; revision=15720
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_event): Make the defalut for tooltips be on.
svn path=/trunk/; revision=15719
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (set_book): Keep a
ref of the model in this case as well.
svn path=/trunk/; revision=15716
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (set_book): Make
sure to only set the query once when creating a new book and not
at all on addressbook model creation. This prevents an accidental
pair of changes from making the addressbook model load a remote
addressbook.
* gui/widgets/e-addressbook-model.c (get_view): If this is the
first_get_view and the addressbook is remote, empty the view
instead of leaving it in the state it used to be in. This only
occurs if you set the book after the model has existed for a
while.
(e_addressbook_model_set_arg): When setting the book, set
first_get_view to TRUE.
svn path=/trunk/; revision=15715
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (display_view): Attach to the
emvw instead of the emv here.
* gui/widgets/e-minicard-view-widget.c, e-minicard-view-widget.h:
Made this object have a "column_width" argument and a
"column_width_changed" signal which are a simple layer down to the
EMinicardView contained within.
* gui/widgets/gal-view-minicard.c, gui/widgets/gal-view-minicard.h
(gal_view_minicard_attach): Made this attach to an
EMinicardViewWidget instead of a EMinicardView.
svn path=/trunk/; revision=15714
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* evolution-addressbook.xml: Added Copy to Folder and Move to
Folder in the Actions menu here.
svn path=/trunk/; revision=15713
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book-util.c, backend/ebook/e-book-util.h
(e_book_expand_uri, e_book_load_address_book_by_uri,
e_book_use_address_book_by_uri): New functions that take a file://
url ending in the directory name and automatically append the
addressbook.db and do the appropriate thing.
* backend/pas/pas-backend-card-sexp.c,
backend/pas/pas-backend-card-sexp.h: Added copyright notice here.
* gui/component/addressbook-component.c
(destination_folder_handle_drop), gui/component/addressbook.c
(set_prop): Use e_book_expand_uri instead of
addressbook_expand_uri.
* gui/component/addressbook-storage.c: Fixed the fcntl include
here.
* gui/component/addressbook.c (ContactsCopyToFolder,
ContactsMoveToFolder): Added handlers for these two verbs.
* gui/component/addressbook.h: Removed addressbook_expand_uri in
favor of e_book_expand_uri.
* gui/widgets/e-addressbook-reflow-adapter.c (transfer_cards):
Added code to handle Move to and Copy to right click menu items.
* gui/widgets/e-addressbook-util.c,
gui/widgets/e-addressbook-util.h (e_addressbook_transfer_cards):
New function to pop up a dialog and transfer a set of cards to the
given folder.
* gui/widgets/e-addressbook-view.c,
gui/widgets/e-addressbook-view.h (display_view): Don't attach to
the view if it doesn't exist yet. We have to make this then
attach later.
(e_addressbook_view_copy_to_folder,
e_addressbook_view_move_to_folder): New functions utilizing
e_addressbook_transfer_cards.
(table_right_click): Add copy_to_folder and move_to_folder to the
right click menu for tables here.
(e_addressbook_view_discard_menus): Handle menu unmerging here.
* gui/widgets/e-minicard-view-widget.h (struct
_EMinicardViewWidget): Removed unused field.
svn path=/trunk/; revision=15711