Commit 1952dae8 authored by Jukka-Pekka Iivonen's avatar Jukka-Pekka Iivonen Committed by jpekka

Added ``Delete...'' entry to ``Edit'' menu.

1999-09-17  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/workbook.c: Added ``Delete...'' entry to ``Edit'' menu.
parent ce80e505
1999-09-17 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/workbook.c: Added ``Delete...'' entry to ``Edit'' menu.
1999-09-17 Miguel de Icaza <miguel@gnu.org>
* src/workbook-cmd.c: New file. Moved a bunch of commands here,
......
......@@ -7,6 +7,7 @@ Jody:
Jukka:
* Major clean up to the documentation of functions.
* Added tons of examples to functions.
* Added ``Delete'' entry to ``Edit'' menu.
Michael:
* Re-implemented sheet objects,
......
1999-09-17 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/workbook.c: Added ``Delete...'' entry to ``Edit'' menu.
1999-09-17 Miguel de Icaza <miguel@gnu.org>
* src/workbook-cmd.c: New file. Moved a bunch of commands here,
......
......@@ -714,6 +714,15 @@ paste_special_cmd (GtkWidget *widget, Workbook *wb)
}
static void
delete_cells_cmd (GtkWidget *widget, Workbook *wb)
{
Sheet *sheet;
sheet = workbook_get_current_sheet (wb);
dialog_delete_cells (wb, sheet);
}
static void
select_all_cmd (GtkWidget *widget, Workbook *wb)
{
......@@ -1048,7 +1057,10 @@ static GnomeUIInfo workbook_menu_edit [] = {
GNOMEUIINFO_MENU_CUT_ITEM(cut_cmd, NULL),
GNOMEUIINFO_MENU_COPY_ITEM(copy_cmd, NULL),
GNOMEUIINFO_MENU_PASTE_ITEM(paste_cmd, NULL),
{ GNOME_APP_UI_ITEM, N_("P_aste special..."), NULL, paste_special_cmd },
{ GNOME_APP_UI_ITEM, N_("P_aste special..."), NULL,
paste_special_cmd },
{ GNOME_APP_UI_ITEM, N_("_Delete..."), NULL,
delete_cells_cmd },
{ GNOME_APP_UI_SUBTREE, N_("C_lear"),
N_("Clear the selected cell(s)"), workbook_menu_edit_clear },
......
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