gtkhtml r8874 - trunk/components/editor



Author: mbarnes
Date: Sat Jun 21 22:07:05 2008
New Revision: 8874
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8874&view=rev

Log:
2008-06-21  Matthew Barnes  <mbarnes redhat com>

	** Fixes bug #244888

	* components/editor/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+Backspace.  Note: Ctrl+E is
	consistent with AbiWord.



Modified:
   trunk/components/editor/ChangeLog
   trunk/components/editor/gtkhtml-editor-actions.c

Modified: trunk/components/editor/gtkhtml-editor-actions.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor-actions.c	(original)
+++ trunk/components/editor/gtkhtml-editor-actions.c	Sat Jun 21 22:07:05 2008
@@ -1531,7 +1531,7 @@
 	{ "wrap-lines",
 	  NULL,
 	  N_("_Wrap Lines"),
-	  "<Control>l",
+	  "<Control>backslash",
 	  NULL,
 	  G_CALLBACK (action_wrap_lines_cb) },
 
@@ -1617,21 +1617,21 @@
 	{ "justify-center",
 	  GTK_STOCK_JUSTIFY_CENTER,
 	  N_("_Center"),
-	  NULL,
+	  "<Control>e",
 	  NULL,
 	  GTK_HTML_PARAGRAPH_ALIGNMENT_CENTER },
 
 	{ "justify-left",
 	  GTK_STOCK_JUSTIFY_LEFT,
 	  N_("_Left"),
-	  NULL,
+	  "<Control>l",
 	  NULL,
 	  GTK_HTML_PARAGRAPH_ALIGNMENT_LEFT },
 
 	{ "justify-right",
 	  GTK_STOCK_JUSTIFY_RIGHT,
 	  N_("_Right"),
-	  NULL,
+	  "<Control>r",
 	  NULL,
 	  GTK_HTML_PARAGRAPH_ALIGNMENT_RIGHT }
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]