Commit b98ff84e authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Use workbook_sheet_rename to ensure that the otherviews are updated.

2001-09-21  Jody Goldberg <jgoldberg@home.com>

	* excel-gb-worksheet.c (excel_gb_worksheet_set_arg) : Use
	  workbook_sheet_rename to ensure that the otherviews are updated.
parent f70949b6
2001-09-21 Jody Goldberg <jgoldberg@home.com>
* excel-gb-worksheet.c (excel_gb_worksheet_set_arg) : Use
workbook_sheet_rename to ensure that the otherviews are updated.
2001-08-21 Zbigniew Chyla <cyba@gnome.pl>
* plugin.xml: Removed
......
......@@ -75,12 +75,18 @@ excel_gb_worksheet_set_arg (GBRunEvalContext *ec,
GBValue *val)
{
ExcelGBWorksheet *worksheet = EXCEL_GB_WORKSHEET (object);
ExcelGBContext *context = EXCEL_GB_CONTEXT (ec);
switch (property) {
case NAME:
sheet_rename (worksheet->sheet, val->v.s->str);
case NAME: {
Sheet *sheet = worksheet->sheet;
workbook_sheet_rename (context->control,
sheet->workbook,
sheet->name_unquoted,
val->v.s->str);
return TRUE;
}
default:
g_warning ("Unhandled property '%d'", property);
......
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