2008-04-02 Matthew Barnes <mbarnes@redhat.com>
** Merge the mbarnes-composer branch
* configure.in:
Bump libgtkhtml requirement to 3.19.1.
Add gtkhtml-editor dependency for addressbook, calendar and mail.
Remove print-message plugin; new composer implements this natively.
* tools/Makefile.am:
Remove CORBA rules for the old composer.
* addressbook/gui/widgets/Makefile.am:
Remove CORBA rules for the old composer.
* addressbook/gui/widgets/eab-gui-util.c
(eab_send_to_contact_and_email_num_list),
(eab_send_contact_list_as_attachment):
Adapt to new Bonobo-less composer widget.
* calendar/gui/Makefile.am:
Remove CORBA rules for the old composer.
* calendar/gui/itip-utils.c (comp_from), (comp_to_list),
(comp_subject), (comp_content_type), (comp_filename),
(comp_description), (append_cal_attachments), (itip_send_comp),
(reply_to_calendar_comp):
Adapt to new Bonobo-less composer widget.
* composer/Makefile.am:
Remove CORBA rules for the old composer.
* composer/e-msg-composer.c:
* composer/e-msg-composer.h:
EMsgComposer is now a subclass of GtkhtmlEditor.
Extensive refactoring and cleanup, too much to list in detail.
* composer/e-composer-header.c:
* composer/e-composer-header.h:
Add "sensitive" property along with get/set functions.
* composer/e-composer-from-header.c:
* composer/e-composer-from-header.h:
Propagate "refreshed" signal from EAccountComboBox.
Add function e_composer_from_header_get_account_list().
* composer/e-composer-private.c:
* composer/e-composer-private.h:
New files manage composer's private data.
Allows other composer files to manipulate private data.
* composer/e-msg-composer-hdrs.c:
* composer/e-msg-composer-hdrs.h:
Remove these files; replaced by EComposerHeaderTable widget.
* composer/evolution-composer.c:
* composer/evolution-composer.h:
Remove these files; composer is now a subclass of GtkhtmlEditor.
* composer/e-msg-composer-select-file.c:
* composer/e-msg-composer-select-file.h:
Remove these files; logic moved to e-msg-composer.c.
* composer/listener.c:
* composer/listener.h:
Remove these files; event handlers moved to e-msg-composer.c.
* composer/Composer.idl:
* composer/Evolution-Composer.idl:
Remove these files; composer is no longer a Bonobo object.
* mail/em-composer-prefs (sig_edit_cb),
(em_composer_prefs_new_signature):
Adapt to new Bonobo-less signature editor.
* mail/mail-signature-editor.c:
* mail/mail-signature-editor.h:
Rewrite the signature editor as a subclass of GtkhtmlEditor.
Eliminates Bonobo from the equation.
* mail/em-composer-utils.c (composer_get_message),
(em_utils_composer_send_cb), (save_draft_done),
(em_utils_composer_save_draft_cb), (create_new_composer),
(em_utils_compose_new_message),
(em_utils_compose_new_message_with_mailto), (em_utils_post_to_folder),
(em_utils_post_to_url), (edit_message), (forward_attached),
(forward_non_attached), (reply_get_composer), (composer_set_body),
(em_utils_reply_to_message), (post_reply_to_message):
Adapt to new Bonobo-less composer.
* mail/mail-component-factory.c:
Composer is no longer needs a Bonobo factory.
* mail/mail-config.c:
Fix style pattern for EMsgComposer widgets.
* plugins/groupwise/mail-send-options.c
(org_gnome_composer_send_options):
Adapt to streamlined EMsgComposer API.
* plugins/exchange-operations/Makefile.am:
Add EVOLUTION_MAIL_CFLAGS and EVOLUTION_MAIL_LIBS.
* plugins/exchange-operations/exchange-mail-send-options.c
(append_to_header), (org_gnome_exchange_send_options):
Adapt to streamlined EMsgComposer API.
* plugins/mailing-list-actions/mailing-list-actions.c
(emla_list_action_do):
Adapt to streamlined EMsgComposer API.
* po/POTFILES.in: Update file list for new composer.
* ui/evolution-composer-entries.xml:
Remove this file; obsoleted by new composer.
* widgets/misc/Makefile.am:
Add EVOLUTION_MAIL_LIBS.
* widgets/misc/e-account-combo-box.c:
* widgets/misc/e-account-combo-box.h:
New function e_account_combo_box_get_account_list().
Emit a "refreshed" signal when the EAccountList changes.
Add an internal reverse-lookup index.
* widgets/misc/e-charset-picker.c (e_charser_add_radio_actions):
New function adds radio actions to an action group.
Will eventually replace e_charset_picker_bonobo_ui_populate().
* widgets/misc/e-signature-combo-box.c:
* widgets/misc/e-signature-combo-box.h:
New function e_signature_combo_box_get_signature_list().
... separate issue ...
* configure.in:
Bump eds_minimum_version to 2.23.1 for
CAMEL_FOLDER_JUNKED_NOT_DELETED symbol.
svn path=/trunk/; revision=35313
2008-03-14 Milan Crha <mcrha@redhat.com>
** Fix for bug #482148
* e-search-bar.c: (entry_activated_cb), (entry_changed_cb),
(search_now_verb_cb), (clear_verb_cb), (clear_button_clicked_cb):
Allow clear search when some search is active and text is empty.
svn path=/trunk/; revision=35191
2008-03-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #460204
* e-attachment.c: (attachment_guess_mime_type):
Check whether found mime type is valid before returning it.
My thanks come to Effenberg whom helped me to debug it.
svn path=/trunk/; revision=35184
2008-01-24 Tor Lillqvist <tml@novell.com>
* Makefile.am (libemiscwidgets_la_LIBADD): Fix typo:
s/EVOLUTON_MAIL_LIBS/EVOLUTION_MAIL_LIBS/. No need to use
CAMEL_LIBS as EVOLUTION_MAIL_LIBS already covers that.
svn path=/trunk/; revision=34886
2008-01-11 Jeffrey Stedfast <fejj@novell.com>
Patch by Jean-Christophe BEGUE to fix bug #329692.
* e-attachment.c (e_attachment_new_from_mime_part): Get the
content size of the MIME part by calling the new
camel_mime_part_get_content_size() function.
svn path=/trunk/; revision=34802
2008-01-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #488213
* e-util/e-icon-factory.h: (e_icon_factory_pixbuf_scale):
* e-util/e-icon-factory.c: (e_icon_factory_pixbuf_scale):
New global function for pixbuf scaling which speeds up scaling when
HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H.
* addressbook/gui/contact-editor/e-contact-editor.c: (extract_simple_field):
* mail/em-icon-stream.c: (emis_fit):
* mail/em-format-html-display.c: (efhd_attachment_button):
* e-util/e-icon-factory.c: (load_icon):
* widgets/misc/e-spinner.c: (scale_to_size):
* widgets/misc/e-image-chooser.c: (set_image_from_data):
* widgets/misc/e-attachment-bar.c: (e_attachment_bar_create_attachment_cache), (update):
Use global function e_icon_factory_pixbuf_scale for scaling pixbufs.
svn path=/trunk/; revision=34800
2008-01-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #339813
* addressbook/gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date):
Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE.
* widgets/misc/e-dateedit.h: (e_date_edit_get_twodigit_year_can_future),
(e_date_edit_set_twodigit_year_can_future):
Added new option for component.
* widgets/misc/e-dateedit.c: (e_date_edit_get_twodigit_year_can_future),
(e_date_edit_set_twodigit_year_can_future),
(struct _EDateEditPrivate::twodigit_year_can_future),
(e_date_edit_init), (e_date_edit_parse_date):
Implementing new option for component.
* widgets/misc/e-dateedit.c: (on_date_entry_focus_out):
Always repaint value on focus out.
* widgets/misc/e-dateedit.c: (e_date_edit_update_date_entry):
Forced to always show 4-digit year.
Note: Be sure you updated EDS too (revision 8343 and above)
svn path=/trunk/; revision=34774
2008-01-04 Milan Crha <mcrha@redhat.com>
* Part of bug #504480
* e-task-widget.c: (e_task_widget_construct):
Possible leak fix.
* e-task-widget.c: (e_task_widget_update_image):
Function prototype changed and using parameter stock now.
svn path=/trunk/; revision=34759
2008-01-04 Matthew Barnes <mbarnes@redhat.com>
** Fix for bug #504480
* e-task-bar.c: (e_task_bar_init): Increases the height
of the ETaskBar to eliminate the constant resizing.
svn path=/trunk/; revision=34758
2007-12-14 Milan Crha <mcrha@redhat.com>
** Fix for bug #211353
* message-list.etspec:
* message-list.h:
* message-list.c: Added new column to show labels.
* filtertypes.xml:
* vfoldertypes.xml:
Code for label filters/search folders has been changed.
* mail-config.glade:
* em-folder-view.c: (emfv_set_label), (emfv_unset_label),
(emfv_popup_label_clear), (emfv_popup_label_set),
(emfv_popup_labels_get_state_for_tag), (emfv_popup):
Labels popup submenu is now shown with checkboxes so one can set
more than one label to the message and unset only one label from
message. There has been added new function, because of this.
* mail-config.h:
* mail-config.c: New "interface" functions to work with labels.
* em-mailer-prefs.h:
* em-mailer-prefs.c: Editing labels in tree.
* em-folder-browser.c:
Labels in show menu reflect changes in preferences.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* filter-label.c: Use global label's setup, not its own copy.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* e-popup.h:
* e-popup.c: (ep_build_tree):
Toggles can be in inconsistent state now, and can also contain
an image, which is a pointer to GtkImage widget.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* e-search-bar.c: (e_search_bar_get_viewitem_id):
Return -1 if no viewmenu is setup yet.
svn path=/trunk/; revision=34715
2007-12-03 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #392747
* e-util/e-utils.c (e_get_month_name), (e_get_weekday_name):
New functions cache localized month and weekday names (respectively)
for easier retrieval than resorting to strftime().
* a11y/widgets/ea-calendar-item.c (ea_calendar_item_get_column_label):
Get the column label via e_get_weekday_name().
* calendar/gui/weekday-picker.c (get_day_text):
Convert the day_index to GDateWeekday and call e_get_weekday_name().
* widgets/misc/e-calendar-item.h (struct _ECalendarItem):
* widgets/misc/e-calendar-item.c (e_calendar_item_init),
(e_calendar_item_draw):
Lose the local weekday name cache and just call e_get_weekday_name().
svn path=/trunk/; revision=34627
2007-12-01 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #495123
* composer/e-msg-composer.c:
* composer/e-msg-composer-hdrs.h:
* composer/e-msg-composer-hdrs.c:
Move signature handling to e-msg-composer-hdrs.c.
Use an ESignatureComboBox.
* composer/e-composer-from-header.h:
* composer/e-composer-from-header.c:
Clean up the GtkHBox hack. The signature combo is now packed
directly into the GtkTable.
* composer/e-composer-name-header.c:
* composer/e-composer-text-header.c:
Code cleanup.
* widgets/misc/Makefile.am:
Add e-signature-combo-box.[ch].
* widget/misc/e-account-combo-box.c (account_combo_box_refresh_cb):
Make sure the EAccount isn't lost while swapping models.
* widget/misc/e-signature-combo-box.c:
* widget/misc/e-signature-combo-box.h:
New widget renders an ESignatureList as a combo box. Also listens
for changes to the ESignatureList and updates itself accordingly.
svn path=/trunk/; revision=34620
2007-11-27 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #495123
* composer/Makefile.am:
Add a bunch of files for managing composer headers.
* composer/e-msg-composer.c (build_message), (from_changed_cb),
(set_editor_signature), (e_msg_composer_set_body),
(e_msg_composer_get_preferred_account):
* plugins/exchange-operations/exchange-mail-send-options.c
(append_to_header):
Use e_msg_composer_hdrs_get_from_account() to obtain the EAccount.
* composer/e-msg-composer-hdrs.c:
* composer/e-msg-composer-hdrs.h:
Massive refactoring to use new EComposerHeader classes.
* composer/e-composer-header.c:
* composer/e-composer-header.h:
* composer/e-composer-from-header.c:
* composer/e-composer-from-header.h:
* composer/e-composer-name-header.c:
* composer/e-composer-name-header.h:
* composer/e-composer-post-header.c:
* composer/e-composer-post-header.h:
* composer/e-composer-text-header.c:
* composer/e-composer-text-header.h:
New GObject classes manage different types of composer headers.
See bug #495123 for a more detailed description of each class.
* mail/mail-session.c (mail_session_init):
Pass the CamelSession to the EAccountComboBox class (ugly hack).
* widgets/misc/Makefile.am:
Add e-account-combo-box.[ch].
* widgets/misc/e-account-combo-box.c:
* widgets/misc/e-account-combo-box.h:
New widget renders an EAccountList as a combo box. Also listens
for changes to the EAccountList and updates itself accordingly.
svn path=/trunk/; revision=34600
2007-11-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #351932
* widgets/misc/e-dateedit.h: (e_date_edit_have_time):
* widgets/misc/e-dateedit.c: (e_date_edit_have_time): Extend API to be able
to check if time is set independently of date part.
* calendar/gui/dialogs/task-page.c: (check_start_before_end), (times_updated),
(start_date_changed_cb), (due_date_changed_cb), (init_widgets):
Ensure due date is not before start date.
svn path=/trunk/; revision=34500
2007-10-31 Michael Monreal <mmonreal@svn.gnome.org>
** Fix for bug #483785
* e-url-entry.c: (init):
Use go-jump icon instead of stock_connect-to-url
to get rid of deprecated icons from gnome-icon-theme.
svn path=/trunk/; revision=34463
2007-10-26 Tobias Mueller <tobiasmue@svn.gnome.org>
** Workaround for bug #395272
* e-search-bar.c:
Minor code cleanups and value checking
svn path=/trunk/; revision=34437
2007-07-27 Matthew Barnes <mbarnes@redhat.com>
* configure.in:
Collect all the required package versions in one place and
explicitly require GTK+ 2.10 or higher. (#380354)
* Adapt various Makefile.am files.
svn path=/trunk/; revision=33863