Commit 95a7f3d0 authored by Committed by Morten Welinder
Destroy visibility_widgets. (wbcg_toggle_visibility): New function.
2004-08-30 Morten Welinder <firstname.lastname@example.org> * src/workbook-control-gui.c (wbcg_finalize): Destroy visibility_widgets. (wbcg_toggle_visibility): New function. (wbcg_copy_toolbar_visibility): Reinstate. (workbook_control_gui_init): Initialize visibility_widgets. * src/wbcg-actions.c (GNM_ACTION_DEF): Use new wbcg_toggle_visibility. * src/wbc-gtk.c (wbc_gtk_create_status_area): Add status bar to visibility widgets. (cb_toolbar_activate): Simplify. (cb_add_menus_toolbars): Add toolbars to visibility widgets. (wbc_gtk_set_toggle_action_state): Also look in toolbar actions. Ick -- this gets uglier by the day. * src/workbook-control-gui-priv.h (struct WorkbookControlGUI): Replace statusbar member by visibility_widgets.
Showing with 114 additions and 36 deletions