2002-09-19 Rodrigo Moya <rodrigo@ximian.com>
* pcs/query.c: added a list of EComponentListener's to control the
lifetime of the listeners.
(query_init): initialize new member.
(query_destroy): free new member.
(start_cached_query_cb): create a EComponentListener for the new
listener being added.
svn path=/trunk/; revision=18122
* e-table.c (et_real_construct): Set the selection model's
selection_mode after setting the table model, or things will break
in the GTK_SELECTION_SINGLE case if the table doesn't start out
empty.
svn path=/trunk/; revision=18121
2002-09-19 Rodrigo Moya <rodrigo@ximian.com>
More fixes for #24210
* pcs/query.c: added list of cached queries and changed the Query
class to work with several listeners, not only one.
(query_init): initialize new members.
(query_destroy): free new members.
(add_component, remove_component, parse_sexp, match_component,
process_components_cb): notify all listeners.
(notify_uid_cb, start_cached_query_cb): implemented integration of
cached queries.
(query_new): search the query in the cache before creating a new
one. And if we create a new one, store it in the cache.
svn path=/trunk/; revision=18120
(resort): New.
(sort_idle_callback): Use it.
(insert_storages): Use resort() instead of queue_resort() so we
sort immediately.
svn path=/trunk/; revision=18116
2002-09-19 Not Zed <NotZed@Ximian.com>
* filtertypes.xml: Changed source account, use header-source
rather than (= (get-source) ...)
svn path=/trunk/; revision=18113
2002-09-19 Not Zed <NotZed@Ximian.com>
* camel-filter-search.c (camel_filter_search_match): Take new
session arg. Update callers.
(symbols[]): changed get-source to header-source
(header_source): Chagned from get_source. Now a boolean, returns
true if source matches one of the arguments. Uses the provider
url comparison directly for accurate checking. Makes 'filter on
source' work.
* camel-filter-driver.c (camel_filter_driver_new): Take new arg,
session.
(camel_filter_driver_finalise): Free session.
svn path=/trunk/; revision=18112
2002-09-19 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (parse_fetch_response): Don't
increment the response pointer when deciding what type of header
response we got, this screws up the string that we strdup into the
part_spec string later. Also, instead of using the entire blob of
HEADER.FIELDS that we get in the response, shorten it to just
HEADER.FIELDS to use as the part_spec key.
svn path=/trunk/; revision=18111
002-09-19 JP Rosevear <jpr@ximian.com>
* gui/dialogs/recurrence-page.c (simple_recur_to_comp): bump the
month_num by 1 because it indexs at 0
(recurrence_page_fill_widgets): lower the month_num by one as above
Fixes#30381
svn path=/trunk/; revision=18110
2002-09-18 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-command.c
(camel_imap_command_response): If we get an ALERT, pass it to the
user. An rfc2060 MUST, and bug #22496.
svn path=/trunk/; revision=18107
2002-09-18 Not Zed <NotZed@Ximian.com>
* evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
Allow 'back' to run if we're on the finish page. For #29293.
svn path=/trunk/; revision=18106
2002-09-18 Not Zed <NotZed@Ximian.com>
* mail-config-druid.c (wizard_back_cb): If going back from a page
past our end (i.e. the final page), jump to the last page we know
of. For #29293.
svn path=/trunk/; revision=18105
2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (parse_fetch_response):
Handle when the response is from a HEADER.FIELDS (if so, we don't
want to cache the result).
(imap_update_summary): Request specific headers when building the
CamelMessageInfo's rather than fetching the full headers.
svn path=/trunk/; revision=18102
2002-09-18 Not Zed <NotZed@Ximian.com>
* component-factory.c (notify_listener_exception): helper to map a
camel excpeiton to a listener result.
(storage_create_folder): Use above to return more meaningful error.
(storage_remove_folder): "
(storage_xfer_folder): ". For #28209.
svn path=/trunk/; revision=18101
2002-09-17 Mike Kestner <mkestner@ximian.com>
* gal/util/e-iconv.c : apply patch for 27447 from Matt Avery for
a bug in the solaris iconv implementation.
svn path=/trunk/; revision=18100
2002-09-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_attachments_from_multipart): Handle
multipart/signed and multipart/encrypted parts in a more expected
way. Fixes bug #28453.
svn path=/trunk/; revision=18099
2002-09-17 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c (add_creatable_item):
don't add the user creatable item for ldap-contact folders atm,
since it results in their being duplicate New Contact and New
Contact List menu items.
svn path=/trunk/; revision=18098
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