2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Use e_strftime_fix_am_pm
here which fixes locale issues as well as working around systems
that don't support %P (afaik).
* mail-ops.c (prep_offline_do): Cache important messages too.
svn path=/trunk/; revision=18095
* e-storage-set-view.c: New member sort_idle_id in
EStorageSetViewPrivate.
(init): Init to zero.
(impl_destroy): Remove the idle source if not zero.
(queue_resort): New.
(sort_idle_callback): Idle function to sort.
(setup_folder_changed_callback): New.
(new_folder_cb): Call it on the new folder so we get the callback
for new folders too.
(popup_folder_menu): Ref the folder before popping up the menu,
unref it after popping it down [the folder might be unreffed in
gnome_popup_menu_do_popup_modal() because of a folder action].
(new_storage_cb): Just queue_resort() instead of sorting.
(new_folder_cb): Likewise.
(insert_folders): Likewise.
(insert_storages): Likewise.
(folder_changed_cb): Queue a resort here too.
* e-folder.c (class_init): Set up "name_changed" signal.
(e_folder_set_name): Emit "name_changed".
* e-folder.h: New signal "name_changed".
svn path=/trunk/; revision=18093
2002-09-17 Mike Kestner <mkestner@ximian.com>
* gal/e-table/e-table-item.c (eti_event): exit editing on dblclick.
ungrab based on grabbed_count. unset grabbed_col and grabbed_row
on ungrab.
svn path=/trunk/; revision=18089
2002-09-17 Kjartan Maraas <kmaraas@gnome.org>
* e-folder-list.c (create_display_string): Mark a string for
translation.
svn path=/trunk/; revision=18086
2002-09-17 Rodrigo Moya <rodrigo@ximian.com>
Fixes#26362
* gui/e-itip-control.c (show current): add a default reminder if
default reminders are set in the configuration.
svn path=/trunk/; revision=18084
2002-09-13 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part.c (process_header): If header_msgid_decode fails
for the content-id field, just grab whatever is between the <>'s
(yes, this means that the content-id is invalid - but what can ya
do?). Addresses bug #21027.
svn path=/trunk/; revision=18071
2002-09-13 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part.c (process_header): If header_msgid_decode fails
for the content-id field, just grab whatever is between the <>'s
(yes, this means that the content-id is invalid - but what can ya
do?). Addresses bug #21027.
svn path=/trunk/; revision=18070
2002-09-13 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Add a Run Once action to run a command only
once rather than for each message that has that action applied.
svn path=/trunk/; revision=18068
* folder-browser.c (fb_resize_cb): If the vpaned isn't realized,
don't call mail_config_set_paned_size. Fixes a problem with the
saved pane size being repeatedly lost (#29933)
svn path=/trunk/; revision=18064
* Mailer.idl: rename this from "Mail.idl" so that the generated .h
file won't overwrite "mail.h" on Mac OS X. Remove some
never-implemented IDL and add MailConfig_removeAccount.
* Makefile.am: Update for IDL rename
* mail-config.c: #include Mailer.h, not Mail.h
(impl_GNOME_Evolution_MailConfig_removeAccount): Implement.
* folder-info.c: #include Mailer.h, not Mail.h
* message-list.c: Remove Mail.h include.
svn path=/trunk/; revision=18060
2002-09-13 Chris Toshok <toshok@ximian.com>
[ Fixes bug #30250 ]
* backend/ebook/e-destination.c (e_destination_get_name): handle
"Unnamed Lists" here by setting their name to _("Unnamed List').
* backend/ebook/e-card-simple.c (e_card_simple_get): same.
* gui/contact-list-editor/e-contact-list-editor.c (is_named): new
function, return TRUE if the name field is filled in.
(prompt_to_save_changes): return TRUE if the list isn't named
(meaning it's not saveable.)
(command_state_changed): saving requires a name.
(add_email_cb): always call command_state_changed.
(remove_entry_cb): same.
(list_name_changed_cb): same.
(visible_addrs_toggled_cb): same.
(table_drag_data_received_cb): same.
svn path=/trunk/; revision=18059
2002-09-12 Jeffrey Stedfast <fejj@ximian.com>
* upgrade-mailer.c (cache_upgrade_and_free): The new callback
function for the g_hash_table_foreach which both upgrades the
cache for that store and then free's the struct _storeinfo
afterwards.
(cache_upgrade): Upgrade a cached folder by moving the old cache
folder into the appropriate new location.
svn path=/trunk/; revision=18057
2002-09-11 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): institute an arbitrary
minimum limit on the number of characters before we actually try
to autocomplete. It's 3, btw.
svn path=/trunk/; revision=18053
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes the other half of #17336 ]
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
parse the name when we're asked to set it, so the full name
doesn't get stored as (potentially) "Last, First" in the card.
svn path=/trunk/; revision=18051
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes part of #17336 ]
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_init): get the window title from the
.glade file, and supply a suitable wm icon.
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_init): same.
svn path=/trunk/; revision=18050
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes#30208 ]
* gui/component/addressbook.c (load_uri_auth_cb): if the user
clicked cancel in the password dialog, let them off the hook and
bind anonymously. Otherwise (if they failed to auth), prompt them
for the password again.
(addressbook_authenticate): new function, split out 99% of the
auth machinery here so it can be called multiple times. Also,
call the callback with E_BOOK_STATUS_CANCELLED if the user clicked
the cancel button in the dialog.
(load_uri_cb): call addressbook_authenticate if the book has auth
enabled.
(addressbook_load_uri): use g_new0.
svn path=/trunk/; revision=18049
2002-09-11 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (folder_browser_query_changed): Only abort if
the user selected ADVANCED_SEARCH, not the other way around. Any
other menu item and we are supposed to perform an actual
search. Fixes bug #30183.
svn path=/trunk/; revision=18048
2002-09-11 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c (e_day_view_on_top_canvas_button_press): keep
the selection if we right click in it (but not on an appointment)
(e_day_view_on_main_canvas_button_press): ditto
* gui/e-week-view.c (e_week_view_on_button_press): sam
svn path=/trunk/; revision=18046
2002-09-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (pixbuf_for_mime_type): check the new gnome-vfs
icon_filename key. If that fails, fall back to checking
icon-filename. Also don't leak the fm_icon string and rearranged
some code.
svn path=/trunk/; revision=18044
2002-09-11 JP Rosevear <jpr@ximian.com>
* gui/e-week-view.c (e_week_view_new_appointment): create a new
appointment based on the selection
(e_week_view_on_button_press): use above
(e_week_view_on_new_appointment): ditto
(e_week_view_on_new_meeting): ditto
svn path=/trunk/; revision=18043
2002-09-11 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_encode_string): Revert a patch that I
had not meant to commit that was aimed at fixing bug #29234.
svn path=/trunk/; revision=18040
2002-09-11 Not Zed <NotZed@Ximian.com>
* component-factory.c (configure_folder_popup): Handle file uri's
too.
* mail-callbacks.c (configure_folder): clear message list before
calling configure folder.
(local_configure_done): completion callback to reset message list
when done.
* mail-local.c (mail_local_reconfigure_folder): changed args to
accept uri, and done callback.
(reconfigure_got_folder): moved code to callback which presents
the configure uri once we have the folder.
svn path=/trunk/; revision=18039
forgot to commit the po stuff from the release. also bumped the so number.
2002-09-10 Mike Kestner <mkestner@ximian.com>
* gal/e-table/e-table-item.c (eti_event): allow keypress handling
for cursor_col==-1 as long as cursor_row isn't -1 also so that e-tree
searching works without click focusing an item.
svn path=/trunk/; revision=18038
2002-09-10 Jeffrey Stedfast <fejj@ximian.com>
* camel-store-summary.c (camel_store_summary_load): Same as
below. Also save errno before closing the file so our caller can
figure out why we failed.
(camel_store_summary_save): Same here, but also flush the output
stream to disk.
* camel-folder-summary.c (camel_folder_summary_load): s/fclose(in)
== -1/fclose(in) != 0/ since fclose doesn't necessarily return -1
on fail, all we really know is that it returns 0 on success and
non-zero on fail.
* camel-certdb.c (camel_certdb_save): fsync() the stream after we
fflush it.
svn path=/trunk/; revision=18037