list -> textbox in Iconstheme policy

This commit is contained in:
Valentin Sokolov 2023-11-28 15:33:14 +04:00
parent cb87a33d48
commit c6b8a4cb25
3 changed files with 17 additions and 47 deletions

View File

@ -306,33 +306,7 @@
<parentCategory ref="system:ALT_Appearance_KDE" />
<supportedOn ref="system:SUPPORTED_AltP10" />
<elements>
<enum id="kde-iconstheme_setter" valueName="Theme" required="true">
<item displayName="$(string.kde-icons-breeze)">
<value>
<string>breeze</string>
</value>
</item>
<item displayName="$(string.kde-icons-breeze-dark)">
<value>
<string>breeze-dark</string>
</value>
</item>
<item displayName="$(string.kde-icons-Adwaita)">
<value>
<string>Adwaita</string>
</value>
</item>
<item displayName="$(string.kde-icons-oxygen)">
<value>
<string>oxygen</string>
</value>
</item>
<item displayName="$(string.kde-icons-gnome)">
<value>
<string>gnome</string>
</value>
</item>
</enum>
<text id="kde-iconstheme_setter" valueName="Theme"/>
<boolean id="kde-iconstheme_blocker" key="Software\BaseALT\Policies\KDELocks" valueName="kdeglobals.Icons.Theme" >
<trueValue>
<decimal value="1" />

View File

@ -166,7 +166,9 @@ The "Block" option is necessary to prevent the user from changing this setting.
</string>
<string id="kde-iconstheme">Icons theme</string>
<string id="kde-iconstheme_help">This policy allows you to select an icon theme. Valid parameter values:
<string id="kde-iconstheme_help">This policy allows you to control the theme of the icons by specifying the name of the theme (for example, gnome). The application of an icon theme depends on its availability in the system. To add new themes, you must install packages that include those themes.
Possible parameter values:
- Adwaita
- Oxygen
@ -301,12 +303,6 @@ The "Block" option is necessary to prevent the user from changing this setting.
<string id="kde-desktopnumber-three">3</string>
<string id="kde-desktopnumber-four">4</string>
<string id="kde-icons-breeze">Breeze</string>
<string id="kde-icons-breeze-dark">Breeze-dark</string>
<string id="kde-icons-Adwaita">Adwaita</string>
<string id="kde-icons-oxygen">Oxygen</string>
<string id="kde-icons-gnome">Gnome</string>
<string id="kde-look-and-feel-breeze">Breeze</string>
<string id="kde-look-and-feel-breeze-dark">Breeze-dark</string>
<string id="kde-look-and-feel-oxygen">Oxygen</string>
@ -409,7 +405,9 @@ The "Block" option is necessary to prevent the user from changing this setting.
<checkBox refId="kde-showdelete_blocker">Block</checkBox>
</presentation>
<presentation id="kde-iconstheme-pr">
<dropdownList noSort="true" defaultItem="0" refId="kde-iconstheme_setter">Icons theme:</dropdownList>
<textBox refId="kde-iconstheme_setter">
<label>Icons theme:</label>
</textBox>
<checkBox refId="kde-iconstheme_blocker">Block</checkBox>
</presentation>
<presentation id="kde-look-and-feel-pr">

View File

@ -166,13 +166,15 @@
</string>
<string id="kde-iconstheme">Тема значков</string>
<string id="kde-iconstheme_help">Данная политика позволяет выбрать тему значков. Допустимые значения параметра:
<string id="kde-iconstheme_help">Данная политика позволяет управлять темой значков, указав название темы (например, gnome). Применение темы значков зависит от её наличия в системе. Для добавления новых тем необходимо установить пакеты, включающие в себя эти темы.
Возможные значения параметра:
- Adwaita
- Oxygen
- Breeze
- Breeze_dark
- Gnome
- oxygen
- breeze
- breeze-dark
- gnome
Опция «Блокировать» необходима для запрета изменений данной настройки пользователем.
@ -301,12 +303,6 @@
<string id="kde-desktopnumber-three">3</string>
<string id="kde-desktopnumber-four">4</string>
<string id="kde-icons-breeze">Breeze</string>
<string id="kde-icons-breeze-dark">Breeze-dark</string>
<string id="kde-icons-Adwaita">Adwaita</string>
<string id="kde-icons-oxygen">Oxygen</string>
<string id="kde-icons-gnome">Gnome</string>
<string id="kde-look-and-feel-breeze">Breeze</string>
<string id="kde-look-and-feel-breeze-dark">Breeze-dark</string>
<string id="kde-look-and-feel-oxygen">Oxygen</string>
@ -409,7 +405,9 @@
<checkBox refId="kde-showdelete_blocker">Блокировать</checkBox>
</presentation>
<presentation id="kde-iconstheme-pr">
<dropdownList noSort="true" defaultItem="0" refId="kde-iconstheme_setter">Тема значков:</dropdownList>
<textBox refId="kde-iconstheme_setter">
<label>Тема значков:</label>
</textBox>
<checkBox refId="kde-iconstheme_blocker">Блокировать</checkBox>
</presentation>
<presentation id="kde-look-and-feel-pr">