From 846953d493d286b63b3345442834591551c6d338 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 2 Jun 2004 20:37:14 +0000 Subject: Add listener for the ViewToolbar command. 2004-06-01 William Jon McCann * e-shell-window-commands.c (e_shell_window_commands_setup): Add listener for the ViewToolbar command. (view_toolbar_item_toggled_handler): New function to handle toggling toolbar visibility and saving state. * e-shell-window.c (e_shell_window_save_defaults): Save the status of the toolbar visibility. (setup_widgets): Set initial state of toolbar visibility. * apps_evolution_shell.schemas.in.in: Added schema for toolbar_visible. svn path=/trunk/; revision=26157 --- shell/apps_evolution_shell.schemas.in.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'shell/apps_evolution_shell.schemas.in.in') diff --git a/shell/apps_evolution_shell.schemas.in.in b/shell/apps_evolution_shell.schemas.in.in index e71bbb4537..e26cb28717 100644 --- a/shell/apps_evolution_shell.schemas.in.in +++ b/shell/apps_evolution_shell.schemas.in.in @@ -83,6 +83,18 @@ + + /schemas/apps/evolution/shell/view_defaults/toolbar_visible + /apps/evolution/shell/view_defaults/toolbar_visible + evolution + bool + TRUE + + Toolbar is visible + Whether the toolbar should be visible. + + + /schemas/apps/evolution/shell/view_defaults/component_id /apps/evolution/shell/view_defaults/component_id -- cgit v1.2.3