diff options
author | JP Rosevear <jpr@novell.com> | 2005-01-05 03:58:45 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2005-01-05 03:58:45 +0800 |
commit | 8541e321f0d39295b315f057516f12a1fb4289f6 (patch) | |
tree | 051d0a87ec08bf575513879e014a43546b89ddb2 /shell/apps_evolution_shell.schemas.in.in | |
parent | 097c33e75eb2e2d06d643e467285310676d1fe62 (diff) | |
download | gsoc2013-evolution-8541e321f0d39295b315f057516f12a1fb4289f6.tar.gz gsoc2013-evolution-8541e321f0d39295b315f057516f12a1fb4289f6.tar.zst gsoc2013-evolution-8541e321f0d39295b315f057516f12a1fb4289f6.zip |
new protos, modes
2005-01-04 JP Rosevear <jpr@novell.com>
* e-sidebar.h: new protos, modes
* e-sidebar.c: handle 2 more modes, text only and toolbar style;
allow visibility to be set for the buttons
* e-shell-window.h: new proto
* e-shell-window.c (setup_widgets): set the sidebar setting and
visibility based on stored gconf settings
(e_shell_window_save_defaults): save the current sidebar setting
visibility
(e_shell_window_peek_sidebar): return the sidebar
* e-shell-window-commands.c (e_shell_window_commands_setup): add
listeners for each of the component button radio items and for the
hide toggle
(view_buttons_icontext_item_toggled_handler): listener callback,
set mode
(view_buttons_icon_item_toggled_handler): ditto
(view_buttons_text_item_toggled_handler): ditto
(view_buttons_toolbar_item_toggled_handler): ditto
(view_buttons_hide_item_toggled_handler): listener callback, set
visibility
* apps_evolution_shell.schemas.in.in: add component button style
and visibility defaults
svn path=/trunk/; revision=28239
Diffstat (limited to 'shell/apps_evolution_shell.schemas.in.in')
-rw-r--r-- | shell/apps_evolution_shell.schemas.in.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/shell/apps_evolution_shell.schemas.in.in b/shell/apps_evolution_shell.schemas.in.in index fddf73e7f3..0180694241 100644 --- a/shell/apps_evolution_shell.schemas.in.in +++ b/shell/apps_evolution_shell.schemas.in.in @@ -96,6 +96,30 @@ </schema> <schema> + <key>/schemas/apps/evolution/shell/view_defaults/buttons_visible</key> + <applyto>/apps/evolution/shell/view_defaults/buttons_visible</applyto> + <owner>evolution</owner> + <type>bool</type> + <default>TRUE</default> + <locale name="C"> + <short>Buttons are visible</short> + <long>Whether the buttons should be visible.</long> + </locale> + </schema> + + <schema> + <key>/schemas/apps/evolution/shell/view_defaults/buttons_style</key> + <applyto>/apps/evolution/shell/view_defaults/buttons_style</applyto> + <owner>evolution</owner> + <type>string</type> + <default>toolbar</default> + <locale name="C"> + <short>Button style</short> + <long>The style of the displayed buttons. Can be text, icons, both, toolbar. If toolbar is set, the style of the toolbar is followed as determined by the GNOME setting.</long> + </locale> + </schema> + + <schema> <key>/schemas/apps/evolution/shell/view_defaults/toolbar_visible</key> <applyto>/apps/evolution/shell/view_defaults/toolbar_visible</applyto> <owner>evolution</owner> |