Add button-layout, wrap-style, show-tab-border

This commit is contained in:
Aleksey Saprunov 2021-11-09 17:13:30 +04:00
parent 328fe8ed4f
commit 13682a5d84
3 changed files with 219 additions and 0 deletions

View File

@ -1115,5 +1115,142 @@
</elements>
</policy>
<policy name="OrgMateMarcoGeneraButtonLayoutUser" class="User"
displayName="$(string.org-mate-marco-button-layout)"
explainText="$(string.org-mate-marco-button-layout_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneraButtonLayoutUser-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<text id="OrgMateMarcoGeneraButtonLayout_setter" valueName="org.mate.Marco.general.button-layout" />
</elements>
</policy>
<policy name="OrgMateMarcoGeneraButtonLayoutMachine" class="Machine"
displayName="$(string.org-mate-marco-button-layout)"
explainText="$(string.org-mate-marco-button-layout_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneraButtonLayoutMachine-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<text id="OrgMateMarcoGeneraButtonLayout_setter" valueName="org.mate.Marco.general.button-layout" />
<boolean id="OrgMateMarcoGeneraButtonLayout_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.button-layout">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralWrapStyleUser" class="User"
displayName="$(string.org-mate-marco-general-wrap-style)"
explainText="$(string.org-mate-marco-general-wrap-style_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralWrapStyleUser-pr)" >
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<enum id="OrgMateMarcoGeneralWrapStyle_setter" required="true" valueName="org.mate.Marco.general.wrap-style">
<item displayName="$(string.org-mate-Marco-general-wrap-style-no-wrap)">
<value>
<string>no wrap</string>
</value>
</item>
<item displayName="$(string.org-mate-Marco-general-wrap-style-classic)">
<value>
<string>classic</string>
</value>
</item>
<item displayName="$(string.org-mate-Marco-general-wrap-style-toroidal)">
<value>
<string>toroidal</string>
</value>
</item>
</enum>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralWrapStyleMachine" class="Machine"
displayName="$(string.org-mate-marco-general-wrap-style)"
explainText="$(string.org-mate-marco-general-wrap-style_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralWrapStyleMachine-pr)" >
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<enum id="OrgMateMarcoGeneralWrapStyle_setter" required="true" valueName="org.mate.Marco.general.wrap-style">
<item displayName="$(string.org-mate-Marco-general-wrap-style-no-wrap)">
<value>
<string>no wrap</string>
</value>
</item>
<item displayName="$(string.org-mate-Marco-general-wrap-style-classic)">
<value>
<string>classic</string>
</value>
</item>
<item displayName="$(string.org-mate-Marco-general-wrap-style-toroidal)">
<value>
<string>toroidal</string>
</value>
</item>
</enum>
<boolean id="OrgMateMarcoGeneralWrapStyle_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.wrap-style">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralShowTabBorderUser" class="User"
displayName="$(string.org-mate-marco-general-show-tab-border)"
explainText="$(string.org-mate-marco-general-show-tab-border_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.show-tab-border">
<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="OrgMateMarcoGeneralShowTabBorderMachine" class="Machine"
displayName="$(string.org-mate-marco-general-show-tab-border)"
explainText="$(string.org-mate-marco-general-show-tab-border_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.show-tab-border"
presentation="$(presentation.OrgMateMarcoGeneralShowTabBorderMachine-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="OrgMateMarcoGeneralShowTabBorder_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.show-tab-border">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
</policies>
</policyDefinitions>

View File

@ -99,6 +99,18 @@
<string id="org-gnome-vino-vnc-password">Password for remote access</string>
<string id="org-gnome-vino-vnc-password_help">The password which the remote user will be prompted for if the "vnc" authentication method is used. The password specified by the key is base64 encoded. The special value of 'keyring' (which is not valid base64) means that the password is stored in the GNOME keyring.</string>
<string id="org-mate-marco-button-layout">Window title Icons</string>
<string id="org-mate-marco-button-layout_help">Settings for the location of icons in the window title. The separator of the right and left halves is a colon. For example, the line 'menu:minimize,maximize,spacer,close' has the window menu icon on the left, and on the right the icons collapse, open, close the window.</string>
<string id="org-mate-marco-general-wrap-style">Switch workspaces</string>
<string id="org-mate-marco-general-wrap-style_help">The wrap style is used to determine how to switch from one workspace to another at the border of the workspace switcher. When set to "no wrap", nothing will happen if you try to switch to a workspace past the border of the workspace switcher. If set to "classic", the old marco behavior is used: the end of one row leads to the beginning of the next and the end of a column leads to the beginning of the next. If set to "toroidal", workspaces are connected like a doughnut: the end of each row leads to its own beginning and the end of each column leads to its own beginning.</string>
<string id="org-mate-Marco-general-wrap-style-no-wrap">no wrap</string>
<string id="org-mate-Marco-general-wrap-style-classic">classic</string>
<string id="org-mate-Marco-general-wrap-style-toroidal">toroidal</string>
<string id="org-mate-marco-general-show-tab-border">Show window border</string>
<string id="org-mate-marco-general-show-tab-border_help">Set this to false to disable border of preselected window while performing tab switching.</string>
</stringTable>
<presentationTable>
@ -314,6 +326,35 @@
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneraButtonLayoutUser-pr">
<textBox refId="OrgMateMarcoGeneraButtonLayout_setter">
<label></label>
</textBox>
</presentation>
<presentation id="OrgMateMarcoGeneraButtonLayoutMachine-pr">
<textBox refId="OrgMateMarcoGeneraButtonLayout_setter">
<label></label>
</textBox>
<checkBox refId="OrgMateMarcoGeneraButtonLayout_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralWrapStyleUser-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralWrapStyle_setter">Method:</dropdownList>
</presentation>
<presentation id="OrgMateMarcoGeneralWrapStyleMachine-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralWrapStyle_setter">Method:</dropdownList>
<checkBox refId="OrgMateMarcoGeneralWrapStyle_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralShowTabBorderMachine-pr">
<checkBox refId="OrgMateMarcoGeneralShowTabBorder_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

@ -99,6 +99,18 @@
<string id="org-gnome-vino-vnc-password">Пароль для подключения</string>
<string id="org-gnome-vino-vnc-password_help">Пароль, который удаленному пользователю будет предложено ввести, если используется метод аутентификации "vnc". Пароль, указанный ключом, закодирован в кодировке base64.</string>
<string id="org-mate-marco-button-layout">Иконки заголовка окна</string>
<string id="org-mate-marco-button-layout_help">Настройки расположения иконок в заголовке окна. Разделителем правой и левой половин является двоеточие. Например, строка 'menu:minimize,maximize,spacer,close' располагаем иконку меню окна слева, а справа иконки свернуть, распахнуть, закрыть окно.</string>
<string id="org-mate-marco-general-wrap-style">Переключение рабочих областей</string>
<string id="org-mate-marco-general-wrap-style_help">Настройки окна переключения рабочих областей</string>
<string id="org-mate-Marco-general-wrap-style-no-wrap">no wrap</string>
<string id="org-mate-Marco-general-wrap-style-classic">classic</string>
<string id="org-mate-Marco-general-wrap-style-toroidal">toroidal</string>
<string id="org-mate-marco-general-show-tab-border">Граница окна при переключении</string>
<string id="org-mate-marco-general-show-tab-border_help">Показывать ли границу окна при переключении с помощью Alt+Tab.</string>
</stringTable>
<presentationTable>
@ -314,6 +326,35 @@
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneraButtonLayoutUser-pr">
<textBox refId="OrgMateMarcoGeneraButtonLayout_setter">
<label></label>
</textBox>
</presentation>
<presentation id="OrgMateMarcoGeneraButtonLayoutMachine-pr">
<textBox refId="OrgMateMarcoGeneraButtonLayout_setter">
<label></label>
</textBox>
<checkBox refId="OrgMateMarcoGeneraButtonLayout_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralWrapStyleUser-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralWrapStyle_setter">Метод:</dropdownList>
</presentation>
<presentation id="OrgMateMarcoGeneralWrapStyleMachine-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralWrapStyle_setter">Метод:</dropdownList>
<checkBox refId="OrgMateMarcoGeneralWrapStyle_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralShowTabBorderMachine-pr">
<checkBox refId="OrgMateMarcoGeneralShowTabBorder_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>