* 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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user