Commit fe9265b1 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

Use ctrl-a only to select the whole sheet, if the sheet has focus. [#699746]

2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
	* src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
	* src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
	* src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
parent 78bf50e3
2013-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* component/Gnumeric-embed.xml.in: ctrl-a will be handled in gnm-pane.c
* src/GNOME_Gnumeric-gtk.xml.in: ctrl-a will be handled in gnm-pane.c
* src/wbc-gtk-actions.c: ctrl-a will be handled in gnm-pane.c
* src/gnm-pane.c (gnm_pane_key_mode_sheet): recognize and handle ctrl-a
2013-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/item-grid.c (item_grid_button_pressed): make buttons 1 and 2
......
......@@ -9,6 +9,7 @@ Andreas:
* Do not include hidden cells in automatic print range. [#700994]
* Make buttons 1 and 2 behave similarly when selecting cells. [#700792]
* Warn when encountering extLst in xlsx import. [#700018]
* Use ctrl-a only to select the whole sheet, if the sheet has focus. [#699746]
Darrell Tangman:
* Update documentation for Edit and Insert menus. [#700596]
......
......@@ -416,7 +416,6 @@
<accelerator name="FormatAddBorders" action="FormatAddBorders"/>
<accelerator name="FormatClearBorders" action="FormatClearBorders"/>
<accelerator name="Repeat" action="Repeat"/>
<accelerator name="EditSelectAllXL" action="EditSelectAllXL"/>
<accelerator name="EditDeleteCellsXL" action="EditDeleteCellsXL"/>
<accelerator name="InsertCellsXL" action="InsertCellsXL"/>
</ui>
......@@ -422,7 +422,6 @@
<accelerator name="FormatAddBorders" action="FormatAddBorders"/>
<accelerator name="FormatClearBorders" action="FormatClearBorders"/>
<accelerator name="Repeat" action="Repeat"/>
<accelerator name="EditSelectAllXL" action="EditSelectAllXL"/>
<accelerator name="EditDeleteCellsXL" action="EditDeleteCellsXL"/>
<accelerator name="InsertCellsXL" action="InsertCellsXL"/>
</ui>
......@@ -175,6 +175,9 @@ gnm_pane_key_mode_sheet (GnmPane *pane, GdkEventKey *event,
: scg_cursor_move;
switch (event->keyval) {
case GDK_KEY_a:
scg_select_all (scg);
break;
case GDK_KEY_KP_Left:
case GDK_KEY_Left:
if (event->state & GDK_MOD1_MASK)
......
......@@ -2223,10 +2223,6 @@ static GtkActionEntry const actions[] = {
{ "EditSelectAll", NULL, N_("_All"),
"<control><shift>space", N_("Select all cells in the spreadsheet"),
G_CALLBACK (cb_edit_select_all) },
/* A duplicate that should not go into the menus, used only for the accelerator */
{ "EditSelectAllXL", NULL, N_("_All"),
"<control>a", N_("Select all cells in the spreadsheet"),
G_CALLBACK (cb_edit_select_all) },
{ "EditSelectColumn", NULL, N_("_Column"),
"<control>space", N_("Select an entire column"),
G_CALLBACK (cb_edit_select_col) },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment