2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_sync): added 'expunge' parameter,
easier 'empty trash on exit' call.
2004-02-04 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): if we can't add the folder
to the summary {i.e. duplicate}, then ignore it. See #53836.
svn path=/trunk/; revision=24606
2004-02-04 Not Zed <NotZed@Ximian.com>
** See bug #53832.
* em-folder-browser.c (emfb_folder_properties): only show this if
we have a uri set. Strictly, the menu item shouldn't be
activated.
svn path=/trunk/; revision=24605
* gui/dialogs/alarm-page.glade: change the access key for adding a
reminder from Alt+a to Alt+d to avoid conflict with the menuitem.
svn path=/trunk/; revision=24604
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_delete_folder): changed order around,
first try to delete and only remove from the object bag if the
delete worked. If vjunk/vtrash enabled, don't allow those to be
deleted.
(cs_delete_cached_folder): helper to delete the folder if its in
the cache, remove it from trash/junk, etc.
(camel_store_unsubscribe_folder): changed similarly to
delete_folder.
* camel-vee-store.c (vee_delete_folder): dont do any trash/junk
processing anymore.
2004-02-03 Not Zed <NotZed@Ximian.com>
* camel-store.c: use the folders object bag to manage the trash
folder and junk folders. Remove the init_trash and init_junk
stuff, just use get_trash and get_junk to mean the same thing.
Get rid of the hacked up vjunk and vtrash "uri" stuff too.
* camel-object.c (camel_object_bag_add): null out the pair->func,
otherwise we get an uninitalised memory read during unhook event.
svn path=/trunk/; revision=24603
2004-02-04 Not Zed <NotZed@Ximian.com>
** See bug #53131.
* em-folder-browser.c (em_folder_browser_show_preview): copy the
message list's cursor_uid before calling set_message, since it can
get freed during setting the message.
svn path=/trunk/; revision=24601
2004-02-04 Yong Sun <Yong.Sun@sun.com>
* gui/print.c: Fix a bug in evolution/calendar/gui/print.c:
bound_text(). It does not break lines with the correct boundary of UTF-8
characters. So, for non-latin locales, it will cause printing issues.
svn path=/trunk/; revision=24600
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-vee-folder.c (vee_folder_build_folder): Use macro casts
from int to pointer.
* camel-folder.c (camel_folder_change_info_add_source): Same as below.
(camel_folder_change_info_add_source_list): Same.
* camel-folder-search.c (camel_folder_search_execute_expression):
Use GINT_TO_POINTER() to cast 1 to a pointer for
g_hash_table_insert().
* camel-vee-folder.c (vee_folder_remove_folder): 64bit fixes.
(folder_added_uid): Same.
(vee_folder_build_folder): Here too.
(folder_changed_add_uid): And here.
(folder_changed_remove_uid): Same.
svn path=/trunk/; revision=24597
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (tree_drag_data_received): Modified
slightly. The model now calls gtk_drag_finish() for us when it is
done.
* em-folder-tree-model.c
(em_folder_tree_model_drag_data_received): Make this perform camel
operations in another thread so we don't block.
(em_folder_tree_model_drag_data_get): Updated args to be
consistant with drag_data_received.
svn path=/trunk/; revision=24595
2004-02-03 Chris Toshok <toshok@ximian.com>
* e-msg-composer.c (e_msg_composer_guess_mime_type): use
FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file
contents before coming up with a mime type.
svn path=/trunk/; revision=24594
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* tests/misc/url-scan.c: New test suite for url scanning.
* camel-url-scanner.c: Added single/double quotes to url_braces[]
in case the user is quoting the url.
(camel_url_web_end): Add "-;:" to list of punctuation to strip off
the end of urls. Also fixed to handle user@domain's
(camel_url_addrspec_start): Strip open brace characters from the
beginning of the addr.
(camel_url_web_start): Make sure "www" wasn't part of something
not a url (like "Ewww.Gross") by check that pos[-1] is either an
open brace or whitespace.
(camel_url_addrspec_end): Don't allow toplevel domain addr-specs
(if we encounter something that looks like it is a toplevel domain
addr, it is more likely to be bogus than correct).
svn path=/trunk/; revision=24592
2004-02-03 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (on_url_requested): remove
some spew, and add an evo-icon: handler, for things in evolution's
imagedir.
(render_address): hack up the html.
(render_name_value): new function, just render a name/value/icon.
(render_attribute): split out most of this function into
render_name_value. this just checks to see if the EContact
attribute has something in it before passing it along.
(render_contact_list): split this out from
eab_contact_display_render_normal.
(start_block): new function, insert a row of height 20 with a
header.
(end_block): new function, insert a row of height 20.
(render_contact): split this out from
eab_contact_display_render_normal, and prettify the contact
display.
(eab_contact_display_render_normal): call render_contact and
render_contact_list.
(eab_contact_display_new): create a scrolled window and add the
GtkHTML to it so we actually have scrollbars.
svn path=/trunk/; revision=24591
* e-activity-handler.c:
* e-activity-handler.h:
* e-task-bar.c:
* e-task-bar.h:
* e-task-widget.c:
* e-task-widget.h: Moved to misc/widgets since they depend on
libemiscwidgets now, and aren't actually used by the shell itself.
* Makefile.am (eshell_HEADERS, libeshell_la_SOURCES): Update
svn path=/trunk/; revision=24590
* e-activity-handler.c:
* e-activity-handler.h:
* e-task-bar.c:
* e-task-bar.h:
* e-task-widget.c:
* e-task-widget.h: Moved here from shell/, since they are now used
only by the components, not the shell itself.
* Makefile.am (widgetsinclude_HEADERS,
libemiscwidgets_la_SOURCES): add new files
svn path=/trunk/; revision=24586
2004-02-03 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c (dialog_to_source)
(source_to_dialog) : use gtk_spin_button_* apis to get and set
values for download limit spin button instead of gtk_entry
Fixes#53432
svn path=/trunk/; revision=24582
2004-02-03 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_command): it's possible to get to
this function without the EText ever being realized. Since we
create the layout in realize(), let's just create it here too.
Fixes crash bug 46165 (aka "The Bug with a million dups").
svn path=/trunk/; revision=24579
2004-02-03 Radek Doulik <rodo@ximian.com>
* em-junk-filter.c: handle the sa prefs here, have own gconf
client with sa dir added
* mail-session.c: removed sa prefs
svn path=/trunk/; revision=24578
2004-02-02 Chris Toshok <toshok@ximian.com>
* e-image-chooser.c (set_image_from_data): set
image_buf/image_buf_size here instead of in all callers. also
emit the "changed" signal here.
(image_drag_data_received_cb): remove the copying to image_buf and
emitting of "changed" from here.
(e_image_chooser_set_from_file): only g_free (data) here if
set_image_from_data failed.
(e_image_chooser_set_image_data): copy the image data we're passed
before calling set_image_data. free it if rv == FALSE.
svn path=/trunk/; revision=24577
2004-02-02 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (eab_view_new): hook up
contact_changed/contact_removed signals.
(contact_changed): new function. if the changed contact is the
one we're displaying, re-render it.
(contact_removed): new function. if the removed contact is the
one we're displaying, clear the display.
(render_contact): set displayed_contact to the row.
(eab_view_init): init displayed_contact to -1.
(selection_changed): set displayed_contact to -1 when we clear the
display.
* gui/widgets/e-addressbook-view.h (struct _EABView): add
"displayed_contact" so we can update the contact preview when it
changes.
svn path=/trunk/; revision=24574
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #53091.
* providers/imap/camel-imap-store.c (create_folder): Set the new
folder's fi->flags to CAMEL_FOLDER_NOCHILDREN since we know it
doesn't have any (we just created it!).
(subscribe_folder): Same.
svn path=/trunk/; revision=24572
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes
the local folder case of bug #53091.
svn path=/trunk/; revision=24571
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #52941
* em-message-browser.c (em_message_browser_window_new): Set window
size based on previous size; load from gconf if necessary.
(window_size_allocate): Save window size changes.
svn path=/trunk/; revision=24569
2004-02-02 Not Zed <NotZed@Ximian.com>
** See bug #53549.
* em-folder-selector.c: Fix handling a parent path of "/".
* mail-ops.c (mark_junk_mark): removed the really innacurate cut and
paste comment. This has nothing to do with filter_folder.
svn path=/trunk/; revision=24565
2004-02-02 Not Zed <NotZed@Ximian.com>
** See bug #52994.
* em-folder-properties.c (em_folder_properties_show): redirect
vFolder uri's to the vFolder editor.
** See bug #53502.
* em-folder-browser.c (emfb_folder_properties): implement.
* em-folder-tree.c (emft_popup_properties): fixed for change
below.
* em-folder-properties.[ch]: Moved the folder properties window
from em-folder-tree.c to its own file.
svn path=/trunk/; revision=24564
2004-02-02 Not Zed <NotZed@Ximian.com>
** See bug #53559.
* em-folder-tree.c (folder_tree_new): set CAN_FOCUS flag on the
folder tree content widget.
* em-folder-selector.c (em_folder_selector_construct): Don't wrap
the folder tree in a scrolled window. Its already in one ????.
(em_folder_selector_construct): dont set can_focus on the folder
tree.
svn path=/trunk/; revision=24563
2004-02-02 Not Zed <NotZed@Ximian.com>
* evolution-composer.c (impl_Composer_set_body): use
g_ascii_strcasecmp rather than strcasecmp.
** See bug #53506, again.
* e-msg-composer.c (set_editor_text): Add an argument to make
adding the signature optional. Also fix a memleak with the sig
content.
(e_msg_composer_new_with_type, e_msg_composer_flush_pending_body)
(handle_mailto, e_msg_composer_set_body_text)
(e_msg_composer_set_body): Fixed callers for above change
appropriately.
svn path=/trunk/; revision=24562
2004-02-01 Bill Zhu <bill.zhu@sun.com>
Fixes for bug #53530
* em-utils.c (em_utils_redirect_message): Removed the duplicate
adding of attachments
svn path=/trunk/; revision=24561
2004-01-31 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Same
as below.
* providers/smtp/camel-smtp-transport.c (smtp_connect): Instead of
using the form %s@%s in the password prompt, use %s on host %s,
hopefully this will be less confusing to users who have usernames
of the form user@vhost.
svn path=/trunk/; revision=24558
2004-01-30 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c: enable d&d drop photos.
* gui/contact-editor/contact-editor.glade: use
eab_create_image_chooser_widget for the d&d'able image.
* gui/contact-list-editor/e-contact-list-editor.c: abstract out
all the d&d image support (it's now in
widgets/misc/e-image-chooser.[ch]).
* gui/contact-list-editor/contact-list-editor.glade: use
eab_create_image_chooser_widget for the d&d'able image.
* gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget):
new function.
* gui/widgets/eab-gui-util.h: add prototype for
eab_create_image_chooser_widget.
svn path=/trunk/; revision=24553
2004-01-30 Chris Toshok <toshok@ximian.com>
* e-image-chooser.c (e_image_chooser_init): add an alignment
around the image. This might not be enough. hrm.
(set_image_from_data): handle the case where there's no image
(image_height == image_width == 0).
(e_image_chooser_get_image_data): new function.
(e_image_chooser_set_image_data): new function.
svn path=/trunk/; revision=24552