2003-07-07 Jeffrey Stedfast <fejj@ximian.com>
* upgrade-mailer.c: Updated to use the camel-file-utils version of
mkdir.
svn path=/trunk/; revision=21754
2003-07-07 Jeffrey Stedfast <fejj@ximian.com>
* providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): Use
camel_mkdir().
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Use
camel_mkdir().
* camel-session.c (get_storage_path): Use camel_mkdir().
* camel-store.c (camel_mkdir_hier): Removed.
* camel-data-cache.c (camel_data_cache_new): Updated to use
camel_mkdir().
(data_cache_path): Same.
* camel-file-utils.c (camel_mkdir): Renamed and documented.
(camel_file_util_safe_filename): Documented.
(camel_read): Moved here from camel-io.c
(camel_write): Same.
* camel-io.[c,h]: Removed.
* camel-uid-cache.c (camel_uid_cache_new): Use the
camel-file-utils.c version of mkdir.
svn path=/trunk/; revision=21753
2003-07-02 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (message_list_drag_data_get): Apply a
From-filter when dragging as a test/uri-list and
message/rfc822. Fixes bug #45617. Also free the uids ptrarray for
the text/uri-list case.
svn path=/trunk/; revision=21749
2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
svn path=/trunk/; revision=21745
2003-07-07 Rodrigo Moya <rodrigo@ximian.com>
Fixes#45910
* gui/dialogs/task-editor.c (task_editor_class_init): set up the
handler for the set_cal_client virtual method.
(task_editor_set_cal_client): added missing virtual method.
2003-07-07 Jack Jia <jack.jia@sun.com>
* cal-client/cal-client.c (cal_client_get_static_capability): add
g_return_val_if_fail to check the input param.
svn path=/trunk/; revision=21743
2003-07-04 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_dispose): make sure we don't
unref the sorter more than once.
svn path=/trunk/; revision=21741
2003-07-03 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-tasks.c (setup_widgets): added a paned widget to contain
the task list and a HTML widget for displaying the task's details.
Connect to "cursor_change" signal on the ETable.
(table_cursor_change_cb): update the HTML view every time the selected
task changes.
(timet_to_str_with_zone): new function copied from alarm daemon.
(url_requested_cb): callback for "url_requested" signal on the
GtkHTML widget.
(on_link_clicked_cb): respond to clicks linked on the HTML widget.
(vpaned_resized_cb): set the configuration entry for the task vpane
position.
(e_tasks_destroy): free new member.
(e_tasks_construct): connect to "obj_removed" signal on the CalClient.
(client_obj_removed_cb): if the updated object is the one being
displayed in the HTML widget, update it.
* gui/calendar-config.[ch] (calendar_config_get_task_vpane_pos):
(calendar_config_gset_task_vpane_pos): new functions.
* gui/apps_evolution_calendar.schemas: added task vpane position.
svn path=/trunk/; revision=21740
2003-07-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_forward_message): Strip the signature
from the body text. Fixes bug #45523. While we're here, also fix
the code to quote exactly the same way as the
mail_tool_quote_message() function.
(mail_tool_quote_message): The last arg should not be
'want_plain', because that arg is for whether or not the body
should be quoted.
* folder-browser.c (message_list_drag_data_get): Apply a
From-filter when dragging as a test/uri-list and
message/rfc822. Fixes bug #45617. Also free the uids ptrarray for
the text/uri-list case.
svn path=/trunk/; revision=21739
* e-gui-utils.c (e_icon_for_mime_type): New function to return an
icon for a MIME type, using GnomeIconTheme if available or
gnome-vfs and gnome-mime-data if not.
svn path=/trunk/; revision=21733
2003-07-02 Harry Lu <harry.lu@sun.com>
Fixes#44485
* gui/e-timezone-entry.c (e_timezone_entry_set_entry): pass a
new allocated string to gtk_entry_set_text instead of the one
that might come from gettext.
svn path=/trunk/; revision=21728
2003-07-01 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_format_date): Use gmtime_r() instead
of using gmtime() and memcpy() to try and be "atomic".
svn path=/trunk/; revision=21725
* cal-client/cal-client.c (real_open_calendar): Don't leak
exceptions
(load_static_capabilities): free the capability string
* gui/dialogs/task-page.c (task_page_fill_component): Free the
description text if it *was* set, rather than if it wasn't.
* gui/dialogs/task-editor.c (task_editor_finalize): Free the priv
struct.
svn path=/trunk/; revision=21722
2003-06-30 Bolian Yin <bolian.yin@sun.com>
Fixes#45328, #45329
* gui/e-day-view.c (e_day_view_do_key_press): Do not process
PageUp/PageDown, .. when the Alt key is pressed (give key binding
set the chance).
* gui/gnome-cal.h : define new enum type, GNOME_CAL_GOTO_DATE_TYPE.
* gui/gnome-cal.c (gnome_calendar_class_init): define new signal
"goto_date". Add key bindings for "Alt+PageUp/PageDown",
"Alt+Home/End".
(gnome_calendar_goto_date): Impl. signal handler for "goto_date".
svn path=/trunk/; revision=21717
2003-07-01 Rodrigo Moya <rodrigo@ximian.com>
Fixes#45524
* gui/calendar-commands.c: use stock icons where approppriate.
* gui/tasks-control.c: removed EPixmaps structure, since we only use
stock icons now.
(tasks_control_activate): no need to call e_pixmaps_update.
svn path=/trunk/; revision=21715
2003-06-27 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (filter_date): Use the newer utf8 versions of the
e_strftime*() functions since our format strings are all now in
UTF-8.
* mail-display.c (mail_display_render): Use the newer
e_utf8_strftime_fix_am_pm().
* mail-callbacks.c (mail_generate_reply): Use e_utf8_strftime(),
otherwise we can end up with invalid utf-8.
svn path=/trunk/; revision=21712
2003-06-24 David Woodhouse <dwmw2@infradead.org>
* camel-mime-utils.c (header_format_date): Put day of week into
outgoing email.
svn path=/trunk/; revision=21710
* e-tree.c (e_tree_init): Initialize some missing fields. Fixes
"no handler with id" warnings at evo shutdown
(ETreePriv): remove unused table_rows_{inserted,deleted}_id
(et_disconnect_from_etta): remove refs to them
* e-table.c (e_table_drag_source_unset): free site->target_list if
it's set.
svn path=/trunk/; revision=21705
2003-06-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Set the rawtext bits for the
'plain' and 'html' data wrappers to FALSE.
svn path=/trunk/; revision=21695
2003-06-26 Bolian Yin <bolian.yin@sun.com>
Fixes#45276
* gui/e-day-view.c (e_day_view_on_text_item_event): set focus to dayview
when editing is canceled.
* gui/e-week-view.c (e_week_view_on_text_item_event): set focus to weekview
when editing is canceled
svn path=/trunk/; revision=21682
2003-06-25 Rodrigo Moya <rodrigo@ximian.com>
Fixes#44723
* gui/dialogs/alarm-page.c: added a new field to the private structure
to keep track of the old summary.
(alarm_page_init): initialize new field.
(alarm_page_finalize): free new field.
(alarm_page_set_summary): iterate over the list of alarms to change
their description if it was the same as the event's summary.
svn path=/trunk/; revision=21561
2003-06-25 Rodrigo Moya <rodrigo@ximian.com>
Fixes#44719
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use
gtk_window_set_icon_from_file to set the window's icon and implemented
the code to make the window sticky with GTK 2.x API.
svn path=/trunk/; revision=21559
2003-06-25 Rodrigo Moya <rodrigo@ximian.com>
Fixes#44719
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use
gtk_window_set_icon_from_file to set the window's icon and implemented
the code to make the window sticky with GTK 2.x API.
svn path=/trunk/; revision=21557