Added theme, titlebar-font, focus-mode, system-font

This commit is contained in:
Aleksey Saprunov 2021-11-11 17:48:22 +04:00
parent 2b49170b26
commit 1fd6570ba6
3 changed files with 285 additions and 0 deletions

View File

@ -1897,5 +1897,174 @@
</elements>
</policy>
<policy name="OrgMateMarcoGeneralThemeUser" class="User"
displayName="$(string.org-mate-marco-general-theme)"
explainText="$(string.org-mate-marco-general-theme_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralThemeUser-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<text id="OrgMateMarcoGeneralTheme_setter" valueName="org.mate.Marco.general.theme" />
</elements>
</policy>
<policy name="OrgMateMarcoGeneralThemeMachine" class="Machine"
displayName="$(string.org-mate-marco-general-theme)"
explainText="$(string.org-mate-marco-general-theme_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralThemeMachine-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<text id="OrgMateMarcoGeneralTheme_setter" valueName="org.mate.Marco.general.theme" />
<boolean id="OrgMateMarcoGeneralTheme_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.theme">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralTitlebarFontUser" class="User"
displayName="$(string.org-mate-marco-general-titlebar-font)"
explainText="$(string.org-mate-marco-general-titlebar-font_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralTitlebarFont-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<text id="OrgMateMarcoGeneralTheme_setter" valueName="org.mate.Marco.general.titlebar-font" />
</elements>
</policy>
<policy name="OrgMateMarcoGeneralTitlebarFontMachine" class="Machine"
displayName="$(string.org-mate-marco-general-titlebar-font)"
explainText="$(string.org-mate-marco-general-titlebar-font_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralTitlebarFontMachine-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<text id="OrgMateMarcoGeneralTitlebarFont_setter" valueName="org.mate.Marco.general.titlebar-font" />
<boolean id="OrgMateMarcoGeneralTitlebarFont_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.titlebar-font">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralFocusModeUser" class="User"
displayName="$(string.org-mate-marco-general-focus-mode)"
explainText="$(string.org-mate-marco-general-focus-mode_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralFocusModeUser-pr)" >
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<enum id="OrgMateMarcoGeneralFocusMode_setter" required="true" valueName="org.mate.Marco.general.focus-mode">
<item displayName="$(string.org-mate-marco-general-focus-mode-click)">
<value>
<string>click</string>
</value>
</item>
<item displayName="$(string.org-mate-marco-general-focus-mode-sloppy)">
<value>
<string>sloppy</string>
</value>
</item>
<item displayName="$(string.org-mate-marco-general-focus-mode-mouse)">
<value>
<string>mouse</string>
</value>
</item>
</enum>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralFocusModeMachine" class="Machine"
displayName="$(string.org-mate-marco-general-focus-mode)"
explainText="$(string.org-mate-marco-general-focus-mode_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralFocusModeMachine-pr)" >
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<enum id="OrgMateMarcoGeneralFocusMode_setter" required="true" valueName="org.mate.Marco.general.focus-mode">
<item displayName="$(string.org-mate-marco-general-focus-mode-click)">
<value>
<string>click</string>
</value>
</item>
<item displayName="$(string.org-mate-marco-general-focus-mode-sloppy)">
<value>
<string>sloppy</string>
</value>
</item>
<item displayName="$(string.org-mate-marco-general-focus-mode-mouse)">
<value>
<string>mouse</string>
</value>
</item>
</enum>
<boolean id="OrgMateMarcoGeneralFocusMode_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.focus-mode">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralTitlebarUsesSystemFontUser" class="User"
displayName="$(string.org-mate-marco-general-titlebar-uses-system-font)"
explainText="$(string.org-mate-marco-general-titlebar-uses-system-font_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.titlebar-uses-system-font">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<decimal value="0" />
</disabledValue>
</policy>
<policy name="OrgMateMarcoGeneralTitlebarUsesSystemFontMachine" class="Machine"
displayName="$(string.org-mate-marco-general-titlebar-uses-system-font)"
explainText="$(string.org-mate-marco-general-titlebar-uses-system-font_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.titlebar-uses-system-font"
presentation="$(presentation.OrgMateMarcoGeneralTitlebarUsesSystemFontMachine-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<decimal value="0" />
</disabledValue>
<elements>
<boolean id="OrgMateMarcoGeneralTitlebarUsesSystemFont_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.titlebar-uses-system-font">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
</policies>
</policyDefinitions>

View File

@ -169,6 +169,21 @@
<string id="org-mate-marco-general-action-double-click-titlebar-lower">lower</string>
<string id="org-mate-marco-general-action-double-click-titlebar-menu">menu</string>
<string id="org-mate-marco-general-action-double-click-titlebar-last">last</string>
<string id="org-mate-marco-general-theme">Theme</string>
<string id="org-mate-marco-general-theme_help">The theme determines the appearance of window borders, titlebar, and so forth.</string>
<string id="org-mate-marco-general-titlebar-font">Titlebar font</string>
<string id="org-mate-marco-general-titlebar-font_help">Sets the font of titlebar.</string>
<string id="org-mate-marco-general-focus-mode">Window focus switch mode</string>
<string id="org-mate-marco-general-focus-mode_help">Set the window focus switching mode.</string>
<string id="org-mate-marco-general-focus-mode-click">click</string>
<string id="org-mate-marco-general-focus-mode-sloppy">sloppy</string>
<string id="org-mate-marco-general-focus-mode-mouse">mouse</string>
<string id="org-mate-marco-general-titlebar-uses-system-font">System font in the titlebar</string>
<string id="org-mate-marco-general-titlebar-uses-system-font_help">When enabled, the system font will be used in the window titlebar.</string>
</stringTable>
<presentationTable>
@ -536,6 +551,49 @@ last - repeat last action</text>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralThemeUser-pr">
<textBox refId="OrgMateMarcoGeneralTheme_setter">
<label>Theme:</label>
</textBox>
</presentation>
<presentation id="OrgMateMarcoGeneralThemeMachine-pr">
<textBox refId="OrgMateMarcoGeneralTheme_setter">
<label>Theme:</label>
</textBox>
<checkBox refId="OrgMateMarcoGeneralTheme_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralTitlebarFont-pr">
<textBox refId="OrgMateMarcoGeneralTheme_setter">
<label>Тема:</label>
</textBox>
</presentation>
<presentation id="OrgMateMarcoGeneralTitlebarFontMachine-pr">
<textBox refId="OrgMateMarcoGeneralTitlebarFont_setter">
<label>Тема:</label>
</textBox>
<checkBox refId="OrgMateMarcoGeneralTitlebarFont_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusModeUser-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusMode_setter">Window focus switching mode:</dropdownList>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusModeMachine-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusMode_setter">Window focus switching mode:</dropdownList>
<checkBox refId="OrgMateMarcoGeneralFocusMode_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralTitlebarUsesSystemFontMachine-pr">
<checkBox refId="OrgMateMarcoGeneralTitlebarUsesSystemFont_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>

View File

@ -170,6 +170,21 @@
<string id="org-mate-marco-general-action-double-click-titlebar-menu">menu</string>
<string id="org-mate-marco-general-action-double-click-titlebar-last">last</string>
<string id="org-mate-marco-general-theme">Тема оформления</string>
<string id="org-mate-marco-general-theme_help">Устанавливает тему, отвечающущю за отображение границ окон, заголовка и т.д.</string>
<string id="org-mate-marco-general-titlebar-font">Шрифт заголовков</string>
<string id="org-mate-marco-general-titlebar-font_help">Устанавливает шрифт заголовков окон</string>
<string id="org-mate-marco-general-focus-mode">Переключение фокуса окон</string>
<string id="org-mate-marco-general-focus-mode_help">Установка режима переключения фокуса окон.</string>
<string id="org-mate-marco-general-focus-mode-click">click</string>
<string id="org-mate-marco-general-focus-mode-sloppy">sloppy</string>
<string id="org-mate-marco-general-focus-mode-mouse">mouse</string>
<string id="org-mate-marco-general-titlebar-uses-system-font">Системный шрифт в заголовке окон</string>
<string id="org-mate-marco-general-titlebar-uses-system-font_help">При включении в заголовках окон будет использоваться системный шрифт.</string>
</stringTable>
<presentationTable>
@ -537,6 +552,49 @@ last - повторить последнее действие</text>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralThemeUser-pr">
<textBox refId="OrgMateMarcoGeneralTheme_setter">
<label>Тема:</label>
</textBox>
</presentation>
<presentation id="OrgMateMarcoGeneralThemeMachine-pr">
<textBox refId="OrgMateMarcoGeneralTheme_setter">
<label>Тема:</label>
</textBox>
<checkBox refId="OrgMateMarcoGeneralTheme_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralTitlebarFont-pr">
<textBox refId="OrgMateMarcoGeneralTheme_setter">
<label>Тема:</label>
</textBox>
</presentation>
<presentation id="OrgMateMarcoGeneralTitlebarFontMachine-pr">
<textBox refId="OrgMateMarcoGeneralTitlebarFont_setter">
<label>Тема:</label>
</textBox>
<checkBox refId="OrgMateMarcoGeneralTitlebarFont_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusModeUser-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusMode_setter">Режим переключения фокуса окон:</dropdownList>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusModeMachine-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusMode_setter">Режим переключения фокуса окон:</dropdownList>
<checkBox refId="OrgMateMarcoGeneralFocusMode_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralTitlebarUsesSystemFontMachine-pr">
<checkBox refId="OrgMateMarcoGeneralTitlebarUsesSystemFont_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>