gnumeric r16385 - in branches/gnumeric-1-8: . src



Author: mortenw
Date: Tue Feb 19 16:09:58 2008
New Revision: 16385
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16385&view=rev

Log:
2008-02-19  Morten Welinder  <terra gnome org>

	* src/wbc-gtk-actions.c: Handle <control>KP_Subtract as
	<control>minus.  Fixes #516358.



Modified:
   branches/gnumeric-1-8/ChangeLog
   branches/gnumeric-1-8/NEWS
   branches/gnumeric-1-8/src/GNOME_Gnumeric-gtk.xml.in
   branches/gnumeric-1-8/src/wbc-gtk-actions.c

Modified: branches/gnumeric-1-8/NEWS
==============================================================================
--- branches/gnumeric-1-8/NEWS	(original)
+++ branches/gnumeric-1-8/NEWS	Tue Feb 19 16:09:58 2008
@@ -22,6 +22,7 @@
 	* Fix paste-as-text bug.  [#514438]
 	* Fix corrupted-mps-bug.  [#517141]
 	* Fix corrupted-qpro-bugs.  [#517144] [#517376]
+	* Make <control>KP_Subtract work as <control>minus.  [#516358]
 
 --------------------------------------------------------------------------
 Gnumeric 1.8.1

Modified: branches/gnumeric-1-8/src/GNOME_Gnumeric-gtk.xml.in
==============================================================================
--- branches/gnumeric-1-8/src/GNOME_Gnumeric-gtk.xml.in	(original)
+++ branches/gnumeric-1-8/src/GNOME_Gnumeric-gtk.xml.in	Tue Feb 19 16:09:58 2008
@@ -314,4 +314,5 @@
   <accelerator name="FormatClearBorders" action="FormatClearBorders"/>
   <accelerator name="Repeat"		 action="Repeat"/>
   <accelerator name="EditSelectAllXL"	 action="EditSelectAllXL"/>
+  <accelerator name="EditDeleteCellsXL"	 action="EditDeleteCellsXL"/>
 </ui>

Modified: branches/gnumeric-1-8/src/wbc-gtk-actions.c
==============================================================================
--- branches/gnumeric-1-8/src/wbc-gtk-actions.c	(original)
+++ branches/gnumeric-1-8/src/wbc-gtk-actions.c	Tue Feb 19 16:09:58 2008
@@ -1593,7 +1593,10 @@
 	{ "EditDeleteCells", NULL, N_("C_ells..."),
 		  "<control>minus", N_("Delete the selected cells, shifting others into their place"),
 		  G_CALLBACK (cb_edit_delete_cells) },
-
+	/* A duplicate that should not go into the menus, used only for the accelerator */
+	{ "EditDeleteCellsXL", NULL, N_("C_ells..."),
+		  "<control>KP_Subtract", N_("Delete the selected cells, shifting others into their place"),
+		  G_CALLBACK (cb_edit_delete_cells) },
 
 /* Edit -> Select */
 



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