* src/gramps.glade: Reorder toolbar style options.

* src/GrampsCfg.py (get_toolbar_style): Remove function;
(GrampsPreferences.build): Use correct values.
* src/GrampsGconfKeys.py (get_toolbar, save_toolbar):
Correct tuple of valid values.
* src/gramps_main.py (init_interface, toolbar_key_update):
Use function from GrampsKeys.
* src/data/gramps.schemas: Correct the default and the
description of the toolbar key.


svn: r3887
This commit is contained in:
Alex Roitman
2005-01-08 22:35:04 +00:00
parent f797f398b2
commit 65b6bb34af
6 changed files with 135 additions and 130 deletions

View File

@@ -506,12 +506,12 @@
<applyto>/apps/gramps/interface/toolbar</applyto>
<owner>gramps</owner>
<type>int</type>
<default>5</default>
<default>-1</default>
<locale name="C">
<short>Default toolbar style</short>
<long>This key determines the style of the toolbar.
Use 0 for icons only, 1 for text only, 2 for text below images,
3 for text beside images, and 5 for the current GNOME style.</long>
3 for text beside images, and -1 for the current GNOME style.</long>
</locale>
</schema>