Commit a4a97170 authored by Committed by Jon Kåre Hellan
Define menu state enums for print setup, search/replace and define names
2001-05-15 Jon K Hellan <firstname.lastname@example.org> * src/workbook-control.h: Define menu state enums for print setup, search/replace and define names and a define for the lot. * src/workbook-control-gui-priv.h (struct _WorkbookControlGUI): Add menu_item_print_setup, menu_item_search_replace, menu_item_define_name members. * src/workbook-edit.c (workbook_edit_attach_guru, workbook_edit_detach_guru): Update Update print setup, search/replace and define names sensitivity according to whether or not we have guru. * src/workbook-control-gui.c (wbcg_menu_state_update): Ditto. This is where it's actually implemented. * src/dialogs/dialog-define-names.c (dialog_define_names): Ensure only one guru per workbook. * src/dialogs/dialog-search-replace.c (dialog_search_replace): Ditto. * src/dialogs/dialog-printer-setup.c (dialog_printer_setup): Ditto.
Showing with 144 additions and 4 deletions