2009-01-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #566014

	* gtkhtml-color-combo.c:
	* gtkhtml-color-state.c:
	New 'default-transparent' boolean property indicates the default
	color should be treated as transparent.

	* gtkhtml-color-combo.c (color_combo_notify_current_color_cb):
	Set the color swatch color to NULL if the default color was chosen
	and the 'default-transparent' property is TRUE.

	* gtkhtml-color-swatch.c (gtkhtml_color_swatch_set_color):
	Allow color to be NULL.

	* gtkhtml-editor-signals.c (cell_properties_set_background_color_cb),
	gtkhtml_editor_table_properties_color_changed_cb):
	Treat the default color as transparent.

	* gtkhtml-editor-signals.c
	gtkhtml_editor_cell_properties_show_window_cb),
	gtkhtml_editor_table_properties_show_window_cb):
	Initialize the color combo.

2009-01-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #565493

	* gtkhtml-editor-actions.c (action_bold_cb), (action_italic_cb),
	(action_monospaced_cb), (action_style_cb), (action_size_cb),
	(action_strikethrough_cb), (action_underline_cb):
	Ignore the action activation if 'ignore_style_change' is set.
	Means we're moving the cursor around and updating the toolbar.

	* gtkhtml-editor.c (editor_font_style_changed_cb),
	(editor_paragraph_style_changed_cb):
	Set 'ignore_style_change' for the duration of the function.

	* gtkhtml-editor-private.h:
	Add 'ignore_style_change' counter to the private struct.

2009-01-12  Takao Fujiwara  <Takao.Fujiwara@Sun.COM>

	** Fix for bug #567130

	* gtkhtml-editor-private.c (gtkhtml_editor_private_init): Use the 
	localization domain when initializing the Glade UI. 

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-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-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.
