2009-01-03  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	* gtkhtml-color-combo.c: (color_combo_class_init):
	Added translator comments for the "state" property and rewrote the blurb
	to be more descriptive. See bug #549231.

2008-12-16  Milan Crha  <mcrha@redhat.com>

	** Part of fix for bug #564248

	* gtkhtml-editor.h: (gtkhtml_editor_insert_image):
	* gtkhtml-editor.c: (gtkhtml_editor_insert_image):
	New API to insert images inline to the message body.
	* gtkhtml-editor-actions.c: (insert_image_response_cb):
	Use the above function.

2008-12-11  Matthew Barnes  <mbarnes@redhat.com>

	** Supplements bug #553995

	* gtkhtml-editor.c (gtkhtml_editor_set_changed):
	Add a comment explaining why.

2008-12-11  Paul Bolle  <pebolle@tiscali.nl>

	** Fixes bug #553995

	* gtkhtml-editor.c (gtkhtml_editor_set_changed):
	Check for NULL return from gtkhtml_editor_get_html().

2008-12-09  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes part of bug #563841

	* gtkhtml-editor.ui:
	Replace "insert-face-menu" with "insert-face" and also add
	it to the HTML toolbar.  "insert-face" is a GtkhtmlFaceAction,
	which appears as a GtkhtmlFaceChooserMenu or GtkhtmlFaceToolButton.

	* gtkhtml-editor-actions.c:
	Rewrite the insert face action callbacks.  Only a single
	callback is needed now.  Selected face is obtained through
	gtkhtml_face_chooser_get_current_face().

	* gtkhtml-face.c:
	* gtkhtml-face.h:
	New boxed type for dealing with face icons.

	* gtkhtml-face-chooser.c:
	* gtkhtml-face-chooser.h:
	New interface for choosing a smiley face from a list or table.
	Patterned after GtkRecentChooser.

	* gtkhtml-face-action.c:
	* gtkhtml-face-action.h:
	New GtkAction subclass for choosing from a predefined set of
	smiley faces.  Patterned after GtkRecentAction.  Implements
	the GtkhtmlFaceChooser interface.

	* gtkhtml-face-chooser-menu.c:
	* gtkhtml-face-chooser-menu.h:
	New GtkMenu subclass implements of a menu of smiley faces.
	Implements the GtkhtmlFaceChooser interface.

	* gtkhtml-face-tool-button.c:
	* gtkhtml-face-tool-button.h:
	New GtkToggleToolButton subclass implements a popup smiley face
	palette for use in toolbars.  Implements the GtkhtmlFaceChooser
	interface.

2008-11-27  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #330452

	* gtkhtml-editor-ui:
	Move spell check items to the top of the context menu.
	Add a "More Suggestions" menu after the "spell-suggest" placeholder.

	* gtkhtml-editor-actions.c (spell_context_entries):
	Define an action for the "More Suggestions" menu.

	* gtkhtml-editor-private.c:
	Display spelling suggestions in bold text.
	When only a single language is selected, display spelling suggestions
	directly in the context menu.  If the list of suggestions grows too
	long, put the rest under a "More Suggestions" menu.  "Too long" is
	defined by a constant: MAX_LEVEL1_SUGGESTIONS (currently 4).

2008-11-27  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #562323

	* gtkhtml-editor-signals.c
	(gtkhtml_editor_link_properties_show_window_cb):
	Initialize the GtkEntry _after_ we've calculated offsets, since
	changing the entry triggers signal handlers that use the offsets.

2008-11-21  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes Red Hat bug #472517

	* gtkhtml-editor.c (editor_button_press_event_cb):
	Always update the pop-up menu before showing it, whether we're
	clicking in a selection or not.

2008-11-08  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-spell-dialog (spell_dialog_init):
	Fix a packing issue with the "Add Word" button.

2008-11-04  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-editor.c (editor_method_check_word):
	If no spell checkers are active, assume the word is correct.

2008-10-22  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-editor.glade:
	Zero the page size on GtkSpinButton adjustments to avoid runtime
	warnings ("setting an adjustment with non-zero page size is
	deprecated").

2008-10-17  Takao Fujiwara  <takao.fujiwara@sun.com>

	reviewed by: Srinivasa Ragavan

	** Fixes bug #554849

	* gtkhtml-editor.c (editor_init):
	Add bindtextdomain to set LOCALEDIR.

2008-10-14  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #556239

	* gtkhtml-editor-actions.c (action_language_cb):
	Recheck spelling when the language selection changes.

2008-10-09  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #548540 and #554424

	* gtkhtml-editor.c (editor_method_check_word):
	A word is correct if it's found in ANY dictionary, not ALL.

	* gtkhtml-spell-checker.c (gtkhtml_spell_checker_check_word):
	Exclude apostrophies from the end of words before passing them
	to the dictionary.

2008-09-10  Matthew Barnes  <mbarnes@redhat.com>

	** Re-fixes bug #549232

	* gtkhtml-color-combo.c (color_combo_class_init):
	Revise the translator comments to reference GtkComboBox, from
	which the "popup-shown" property and associated descriptions
	are taken.

2008-09-10  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #549232

	* gtkhtml-color-combo.c (color_combo_class_init):
	Add a translator comment for the "popup-shown" property nickname.

2008-09-01  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	** Fix for bug #549235

	* gtkhtml-spell-language.c (spell_language_dict_describe_cb),
	(gtkhtml_spell_language_get_name): Fix translator comments. 

2008-08-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #543318  (patch by Pascal Terjan)

	* gtkhtml-editor.c (editor_init):
	Force the codeset to UTF-8.  Not entirely sure if this is the
	best place for a bind_textdomain_codeset() call, but it works.

2008-07-14  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-editor.c (gtkhtml_editor_get_action),
	(gtkhtml_editor_get_action_group), (gtkhtml_editor_get_widget),
	(gtkhtml_editor_get_managed_widget):
	Use gtkhtml_editor_get_ui_manager() to get the UI manager.
	Replace assertions with g_return_val_if_fail().

2008-07-13  B S Srinidhi  <srinidhi.bs@gmail.com>

	** Fixes bug #542567

	* gtkhtml-editor-actions.c: 
	Correct the shortcuts for increasing and decreasing indents.

2008-07-05  Matthew Barnes  <mbarnes@redhat.com>

	* Implements the first of several suggested UI improvements in
	  bug #408707.

	* gtkhtml-editor.ui:
	* gtkhtml-editor-actions.c:
	* gtkhtml-editor-private.c:
	* gtkhtml-editor-private.h:
	Split HTML-only actions into a second editing toolbar.
	This new toolbar is only visible in HTML editing mode.

	* gtkhtml-combo-box.c:
	Use enums when referencing tree model columns.
	Other miscellaneous code cleanups.

	* gtkhtml-editor.c (gtkhtml_editor_get_html_mode),
	(gtkhtml_editor_set_html_mode):
	* gtkhtml-editor-actions.c (action_mode_cb):
	* gtkhtml-editor-actions.h:
	Editing mode is now stored as radio actions instead of a toggle
	actions.  Adapt.

2008-06-22  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-editor-actions.c:
	* gtkhtml-editor-private.c (gtkhtml_editor_private_init):
	Add tooltips for many of the toolbar items.

2008-06-21  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #244888

	* gtkhtml-editor-actions.c:
	Add accelerators for "justify-left" (Ctrl+L), "justify-center"
	(Ctrl+E) and "justify-right" (Ctrl+R).  Change the "word-wrap"
	accelerator from Ctrl+L to Ctrl+Backslash.  Note: Ctrl+E is
	consistent with AbiWord.

2008-06-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #538703

	* gtkhtml-spell-checker.c:
	Delay calling enchant_broker_request_dict() for as long as possible
	to avoid loading all dictionaries when creating a new composer window,
	which is very time consuming.  Derived from a patch by Wang Xin.

2008-06-12  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Use -no-undefined here, too.

2008-06-09  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-editor-actions.c:
	Fix a duplicate mnemonic. (#537397)

2008-05-06  Kjartan Maraas  <kmaraas@gnome.org>

	* gtkhtml-editor.glade: Don't translate a bunch of useless widget
	labels.

2008-04-24  Matthew Barnes  <mbarnes@redhat.com>

	** Related to bug #525996

	* gtkhtml-editor-private.c (gtkhtml_editor_find_data_file):
	Look for data files in our own installation prefix, to make
	running local builds easier.

2008-04-21  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-editor.c (gtkhtml_editor_get_action_group):
	New function provides access to GtkActionGroups by name.

2008-04-17  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #528401

	* gtkhtml-spell-language.c (spell_language_lookup):
	Split gtkhtml_spell_language_lookup() into a public and private
	function to eliminate the chance of any more infinite loops.  Now
	spell_language_pick_default() calls the private function, but the
	private function does not call spell_language_pick_default() as a
	fallback.

2008-04-17  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #245246

	* gtkhtml-editor.ui:
	* gtkhtml-editor-actions.c:
	Drop the 'properties-text' and 'properties-paragraph' actions.
	Too much redundancy in the main menu.

2008-04-16  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #238255

	* gtkhtml-editor.ui:
	* gtkhtml-editor-actions.c:
	Rename "Headers" menu to "Paragraph Style" and "Style" menu to
	"Font Style".  Also fix up the mnemonics again.

2008-04-14  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-editor-actions.c (action_html_mode_cb):
	Disable the color combo on the style toolbar in text mode.

2008-04-08  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525966

	* gtkhtml-editor.c (gtkhtml_editor_get_changed):
	Fix a boolean error in detecting unsaved changes.

2008-04-08  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #526877, patch by Sankar P

	* gtkhtml-spell-language.c (gtkhtml_spell_language_lookup):
	Return NULL if there are no dictionaries available to avoid
	an infinite loop.

	* gtkhtml-editor.c (gtkhtml_editor_get_spell_languages):
	Make sure we don't insert NULL into the returned list of
	GtkhtmlSpellLanguages.

2008-04-07  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #328146

	* gtkhtml-editor-actions.c:
	Fix missing and conflicting mnemonics.

2008-04-07  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525996

	* gtkhtml-editor-private.c (gtkhtml_editor_find_data_file):
	If we can't find a required data file, emit a helpful message about
	XDG_DATA_DIRS, show where we looked, and then abort immediately.

2008-04-06  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #321519

	* gtkhtml-spell-dialog.c (spell_dialog_init):
	Activating a spelling suggestion now triggers the replace action.

2008-04-05  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes part of bug #526152

	* gtkhtml-spell-language.c (spell_language_compare):
	Remove this function; use gtkhtml_spell_language_compare().

	* gtkhtml-editor.c (gtkhtml_editor_get_spell_language),
	(gtkhtml_editor_set_spell_language):
	New functions provide a way to programmatically get and set the
	active spell checking languages.

2008-04-04  Matthew Barnes  <mbarnes@redhat.com>

	* gtkhtml-spell-checker.c:
	* gtkhtml-spell-language.c:
	#include <enchant.h>, not <enchant/enchant.h>

2008-04-01  Matthew Barnes  <mbarnes@redhat.com>

	** Initial revision of the new HTML editor component developed
	   on the mbarnes-composer branch.  This new editor looks and acts
	   like the old HTML editor, but does not use Bonobo or GnomeSpell.
	   It is a subclass of GtkWindow, and the menus and toolbars are
	   extensible via GtkUIManager.
