2008-10-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #554418
* e-util/e-util.h: (e_util_guess_mime_type):
* e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on
the file content only when permitted by the caller, otherwise
check based on the filename only, where it fallbacks if file
content guess fails.
* mail/em-utils.c: (em_utils_snoop_type):
* mail/em-popup.c: (emp_standard_menu_factory):
Guess mime_type based on the filename only.
* composer/e-msg-composer.c: (handle_uri),
(e_msg_composer_add_inline_image_from_file): Guess mime_type based
on the file content, if failed, then on the filename.
* widgets/misc/e-attachment.c: (attachment_guess_mime_type):
Allow guessing mime_type based on the file content.
* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
Allow/disallow guessing of the mime_type based on the file content.
svn path=/trunk/; revision=36529
2008-09-29 Milan Crha <mcrha@redhat.com>
** Fix for bug #530716
* mail/mail-session.c: (user_message_response), (user_message_exec),
(user_message_response_free): Differentiate between response
with valid message pointer and with one already freed.
* widgets/misc/e-activity-handler.c: (error_cleanup): GtkDialog errors close
by the response message, not as other widgets, because creator
of the dialog waits for that signal and takes care of the widget.
svn path=/trunk/; revision=36473
2008-09-06 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #549968
* calendar/gui/dialogs/comp-editor.c (comp_editor_init):
Use the same mnemonic for "Recent Documents" as composer.
* widgets/misc/e-attachment-bar.c
(e_attachment_bar_bonobo_ui_populate_with):
Use the same mnemonic for "Recent Documents" as composer.
svn path=/trunk/; revision=36266
2008-09-01 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #550334
* widgets/misc/e-activity-handler.c:
Use standard icon names for warning and information.
svn path=/trunk/; revision=36246
2008-08-14 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #547411
* data/icons/hicolor_status_32x32_online.png:
* data/icons/hicolor_status_32x32_online.svg:
* data/icons/hicolor_status_32x32_offline.png:
* data/icons/hicolor_status_32x32_offline.svg:
New, Tangoized versions of the old "art" images.
* art/online.png:
* art/offline.png:
These are now obsolete. Remove them.
* widgets/misc/e-online-button.c (e_online_button_set_online):
The button icons are themed now but still oblong.
Load the icons by filename so GTK+ doesn't scale them.
svn path=/trunk/; revision=35995
2008-08-14 Matthew Barnes <mbarnes@redhat.com>
* e-util/e-util.c (e_display_help):
New convenience function for launching help from Evolution.
Displays an error dialog over the given parent window if an
error occurs.
* addressbook/gui/contact-editor/e-contact-editor.c:
* calendar/gui/dialogs/comp-editor.c:
* plugins/email-custom-header/gui/contact-editor/e-contact-editor.c:
* plugins/exchange-operations/exchange-send-options.c:
* widgets/misc/e-multi-config-dialog.c:
* widgets/misc/e-send-options.c:
Use e_display_help() for displaying help.
svn path=/trunk/; revision=35991
2008-08-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #352695
* e-tree-table-adapter.c: (e_tree_table_adapter_load_expanded_state),
(e_tree_table_adapter_load_expanded_state_xml):
Call the e_table_model_changed in the proper function, to prevent
lock of the model caused by previous commit to this bug.
svn path=/trunk/; revision=35955
2008-08-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #519292
* mail/message-list.c: (load_tree_expand_all): Drop function.
* mail/message-list.c: (regen_list_done): Rather use desired expanded state
value when creating the tree instead of the default model's value for
this to have 'expand/collapse all' commands work better and quicker.
* widgets/tablee-tree.h: (e_tree_load_all_expanded_state):
* widgets/tablee-tree.c: (e_tree_load_all_expanded_state):
* widgets/tablee-tree-table-adapter.h:
(e_tree_table_adapter_load_all_expanded_state):
* widgets/tablee-tree-table-adapter.c:
(e_tree_table_adapter_load_all_expanded_state),
(set_expanded_state_func), (set_collapsed_state_func):
Drop functions in favor of new functions.
* widgets/tablee-tree.h: (e_tree_force_expanded_state):
* widgets/tablee-tree.c: (e_tree_force_expanded_state):
* widgets/tablee-tree-table-adapter.h: (e_tree_table_adapter_force_expanded_state):
* widgets/tablee-tree-table-adapter.c: (e_tree_table_adapter_force_expanded_state),
(struct ETreeTableAdapterPriv), (create_gnode), (etta_init):
Use either default value of the model to expanded state of new node or
use the one which has been set (forced) by new functions.
svn path=/trunk/; revision=35954
2008-08-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #352695
* widgets/table/e-tree-table-adapter.h:
(e_tree_table_adapter_save_expanded_state_xml),
(e_tree_table_adapter_load_expanded_state_xml):
* widgets/table/e-tree-table-adapter.c:
(e_tree_table_adapter_save_expanded_state_xml),
(e_tree_table_adapter_save_expanded_state),
(e_tree_table_adapter_load_expanded_state_xml),
(e_tree_table_adapter_load_expanded_state):
* widgets/table/e-tree.h: (e_tree_save_expanded_state_xml),
(e_tree_load_expanded_state_xml):
* widgets/table/e-tree.c: (e_tree_save_expanded_state_xml),
(e_tree_load_expanded_state_xml):
Be able to store expanded state also in memory, not only on the disk.
* mail/message-list.c: (struct _MessageListPrivate), (save_tree_state),
(load_tree_state), (on_model_row_changed), (message_list_init),
(message_list_construct), (struct _regen_list_msg), (regen_list_done),
(regen_list_free), (mail_regen_list): Be able to recognize whether
there has been any change on any row in a list and save expanded
state only in case there was any change. Also use in-memory storing
of the expanded state in case we do not want to rewrite full view
It's for searches only, and it's not stored between sessions.
svn path=/trunk/; revision=35953
2008-07-15 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #329821
* e-table-item.c: (find_cell): Do not consider last row's height
till the bottom.
* e-table-item.h: (e_table_item_compute_mouse_over):
* e-table-item.c: (e_table_item_compute_mouse_over):
* e-table-group-container.c: (etgc_compute_mouse_over),
(etgc_class_init):
* e-table-group-leaf.c: (etgl_compute_mouse_over),
(etgl_class_init):
* e-table.h: (e_table_get_mouse_over_cell):
* e-table.c: (e_table_get_mouse_over_cell):
* e-table-group.h: (struct ETableGroupClass),
(e_table_group_compute_mouse_over):
* e-table-group.c: (e_table_group_compute_mouse_over),
(etg_class_init): Be able to calculate mouse-over position
correctly,
relatively to the ETableItem.
svn path=/trunk/; revision=35778
2008-07-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #542587
* shell/e-shell-window.c: Use new EOnlineButton widget.
* widgets/misc/e-online-button.c:
* widgets/misc/e-online-button.h:
New widget implements the online/offline button used in the main
window. The button just maintains an "online" flag and displays
the appropriate button image for the flag.
svn path=/trunk/; revision=35777
2008-07-12 Paolo Borelli <pborelli@katamail.com>
** Fix for bug #542631
* e-attachment-bar.c: use g_format_size_for_display instead of cut and
pasted code.
svn path=/trunk/; revision=35740
2008-06-18 Milan Crha <mcrha@redhat.com>
** Fix for bug #532597
* e-selection-model-array.c: (e_selection_model_array_delete_rows):
Do not leave selected more than one item if somebody else took care
or reposition of the cursor row before the delete.
svn path=/trunk/; revision=35647
2008-06-06 Matthew Barnes <mbarnes@redhat.com>
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
GTK_DISABLE_SINGLE_INCLUDES defined. (#536637)
svn path=/trunk/; revision=35606