* src/data/gramps.schemas: Add /apps/gramps/interface/size-checked key.

* src/GrampsCfg.py (get_screen_size_checked,
save_screen_size_checked): Add functions.
* src/gramps_main.py: Enable sidebar depending on the screen
if the screen size has not been checked yet.


svn: r3458
This commit is contained in:
Alex Roitman
2004-08-21 04:05:51 +00:00
parent b14596a0a6
commit e818e09ac0
3 changed files with 26 additions and 0 deletions

View File

@@ -434,6 +434,21 @@
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/size-checked</key>
<applyto>/apps/gramps/interface/size-checked</applyto>
<owner>gramps</owner>
<type>bool</type>
<default>0</default>
<locale name="C">
<short>Screen size has been checked</short>
<long>If set to 1, this key indicates that the screen size
has already been checked and the initial interface decision
made. No action will be taken if the screen is too smal,
since the user may have overridden our settings.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/gramps/interface/statusbar</key>
<applyto>/apps/gramps/interface/statusbar</applyto>