|
|
@@ -36,18 +36,18 @@ type GrandCentralDispatcher struct { |
|
|
|
m_selectedProfile string |
|
|
|
m_selectedConversation string |
|
|
|
|
|
|
|
_ string `property:"os"` |
|
|
|
_ float32 `property:"themeScale,auto,changed"` |
|
|
|
_ string `property:"theme,auto,changed"` |
|
|
|
_ string `property:"locale,auto,changed"` |
|
|
|
_ string `property:"version"` |
|
|
|
_ string `property:"buildDate"` |
|
|
|
_ string `property:"assetPath"` |
|
|
|
_ string `property:"selectedProfile,auto"` |
|
|
|
_ string `property:"selectedConversation,auto"` |
|
|
|
|
|
|
|
_ int `property:"torStatus"` |
|
|
|
|
|
|
|
_ string `property:"os"` |
|
|
|
_ bool `property:"firstTime"` |
|
|
|
_ float32 `property:"themeScale,auto,changed"` |
|
|
|
_ string `property:"theme,auto,changed"` |
|
|
|
_ string `property:"locale,auto,changed"` |
|
|
|
_ string `property:"version"` |
|
|
|
_ string `property:"buildDate"` |
|
|
|
_ string `property:"assetPath"` |
|
|
|
_ string `property:"selectedProfile,auto"` |
|
|
|
_ string `property:"selectedConversation,auto"` |
|
|
|
_ bool `property:experimentsEnabled,auto,changed` |
|
|
|
_ map[string]bool `property:experiments,auto,changed` |
|
|
|
|
|
|
@@ -141,7 +141,9 @@ type GrandCentralDispatcher struct { |
|
|
|
|
|
|
|
func (this *GrandCentralDispatcher) init() { |
|
|
|
this.uIManagers = make(map[string]Manager) |
|
|
|
this.GlobalSettings = ReadGlobalSettings() |
|
|
|
firstTime := false |
|
|
|
this.GlobalSettings,firstTime = ReadGlobalSettings() |
|
|
|
this.SetFirstTime(firstTime) |
|
|
|
this.SetThemeScale(this.GlobalSettings.Zoom) |
|
|
|
this.SetTheme(this.GlobalSettings.Theme) |
|
|
|
this.SetExperimentsEnabled(this.GlobalSettings.ExperimentsEnabled) |
|
|
|