dualpane settings wiring #65

Merged
sarah merged 1 commits from dualpane into trunk 2021-06-24 15:49:04 +00:00
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,8 @@ type GlobalSettings struct {
BlockUnknownConnections bool BlockUnknownConnections bool
StateRootPane int StateRootPane int
FirstTime bool FirstTime bool
UIColumnModePortrait string
UIColumnModeLandscape string
} }
var DefaultGlobalSettings = GlobalSettings{ var DefaultGlobalSettings = GlobalSettings{
@ -42,6 +44,8 @@ var DefaultGlobalSettings = GlobalSettings{
StateRootPane: 0, StateRootPane: 0,
FirstTime: true, FirstTime: true,
BlockUnknownConnections: false, BlockUnknownConnections: false,
UIColumnModePortrait: "DualpaneMode.Single",
UIColumnModeLandscape: "DualpaneMode.CopyPortrait",
} }
func InitGlobalSettingsFile(directory string, password string) error { func InitGlobalSettingsFile(directory string, password string) error {