77bc971910
since:
commit 985b404f20
Date: Wed Nov 8 21:34:41 2023 +0100
tdf#158003 - UI: Part 22 - Unify lockdown behavior of Options dialog
for Language - Writing Aids Page.
Change-Id: Iff9ab545a5d212d004b55f5ceab11d4c9f6dee5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159341
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
530 lines
26 KiB
XML
530 lines
26 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.40.0 -->
|
|
<interface domain="cui">
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkTreeStore" id="liststore2">
|
|
<columns>
|
|
<!-- column-name check1 -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name text -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name checkvis1 -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name checktri1 -->
|
|
<column type="gboolean"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkTreeStore" id="liststore3">
|
|
<columns>
|
|
<!-- column-name check1 -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name text -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name checkvis1 -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name checktri1 -->
|
|
<column type="gboolean"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkTreeStore" id="liststore4">
|
|
<columns>
|
|
<!-- column-name check1 -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name text -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name checkvis1 -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name checktri1 -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name weight1 -->
|
|
<column type="gint"/>
|
|
<!-- column-name sensitive1 -->
|
|
<column type="gboolean"/>
|
|
</columns>
|
|
</object>
|
|
<!-- n-columns=1 n-rows=3 -->
|
|
<object class="GtkGrid" id="OptLinguPage">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="border-width">6</property>
|
|
<property name="row-spacing">12</property>
|
|
<child>
|
|
<object class="GtkFrame" id="frame1">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="label-xalign">0</property>
|
|
<property name="shadow-type">none</property>
|
|
<child>
|
|
<!-- n-columns=1 n-rows=1 -->
|
|
<object class="GtkGrid" id="grid2">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<!-- n-columns=2 n-rows=1 -->
|
|
<object class="GtkGrid" id="grid1">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="shadow-type">in</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="lingumodules">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="model">liststore2</property>
|
|
<property name="headers-visible">False</property>
|
|
<property name="search-column">1</property>
|
|
<property name="show-expanders">False</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection" id="Macro Library List-selection2"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn4">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<property name="alignment">0.5</property>
|
|
<child>
|
|
<object class="GtkCellRendererToggle" id="cellrenderer5"/>
|
|
<attributes>
|
|
<attribute name="visible">3</attribute>
|
|
<attribute name="active">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn5">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer4"/>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="lingumodules-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="lingumodules">Contains the installed language modules.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="lingumodulesedit">
|
|
<property name="label" translatable="yes" context="optlingupage|lingumodulesedit">_Edit...</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="valign">start</property>
|
|
<property name="use-underline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="lingumodulesedit-atkobject">
|
|
<property name="AtkObject::accessible-name" translatable="yes" context="optlingupage|lingumodulesedit-atkobject">Edit Available language modules</property>
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="lingumodulesedit">To edit a language module, select it and click Edit.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="lingumodulesft">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes" context="optlingupage|lingumodulesft">_Available Language Modules</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="mnemonic-widget">lingumodules</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFrame" id="dictsframe">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label-xalign">0</property>
|
|
<property name="shadow-type">none</property>
|
|
<child>
|
|
<!-- n-columns=2 n-rows=1 -->
|
|
<object class="GtkGrid" id="grid3">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="shadow-type">in</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="lingudicts">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="model">liststore3</property>
|
|
<property name="headers-visible">False</property>
|
|
<property name="search-column">1</property>
|
|
<property name="show-expanders">False</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection" id="Macro Library List-selection1"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn44">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<property name="alignment">0.5</property>
|
|
<child>
|
|
<object class="GtkCellRendererToggle" id="cellrenderer55"/>
|
|
<attributes>
|
|
<attribute name="visible">3</attribute>
|
|
<attribute name="active">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn55">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer44"/>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="lingudicts-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="lingudicts">Lists the available user dictionaries.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButtonBox" id="buttonbox1">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<property name="layout-style">start</property>
|
|
<child>
|
|
<object class="GtkButton" id="lingudictsnew">
|
|
<property name="label" translatable="yes" context="optlingupage|lingudictsnew">_New...</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="use-underline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="lingudictsnew-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="lingudictsnew">Opens the New Dictionary dialog, in which you can name a new user-defined dictionary or dictionary of exceptions and specify the language.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="lingudictsedit">
|
|
<property name="label" translatable="yes" context="optlingupage|lingudictsedit">Ed_it...</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="use-underline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="lingudictsedit-atkobject">
|
|
<property name="AtkObject::accessible-name" translatable="yes" context="optlingupage|lingudictsedit-atkobject">Edit User-defined dictionaries</property>
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="lingudictsedit">Opens the Edit custom dictionary dialog, in which you can add to your custom dictionary or edit existing entries.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="lingudictsdelete">
|
|
<property name="label" translatable="yes" context="optlingupage|lingudictsdelete">_Delete</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="use-underline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="lingudictsdelete-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="lingudictsdelete">Deletes the selected dictionary after a confirmation, provided it is not write-protected.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="lingudictsft">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes" context="optlingupage|lingudictsft">_User-defined Dictionaries</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="mnemonic-widget">lingudicts</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFrame">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label-xalign">0</property>
|
|
<property name="shadow-type">none</property>
|
|
<child>
|
|
<!-- n-columns=2 n-rows=2 -->
|
|
<object class="GtkGrid" id="grid4">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="row-spacing">3</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="shadow-type">in</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="linguoptions">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="model">liststore4</property>
|
|
<property name="headers-visible">False</property>
|
|
<property name="search-column">1</property>
|
|
<property name="show-expanders">False</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection" id="Macro Library List-selection3"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn444">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<property name="alignment">0.5</property>
|
|
<child>
|
|
<object class="GtkCellRendererToggle" id="cellrenderer555"/>
|
|
<attributes>
|
|
<attribute name="sensitive">6</attribute>
|
|
<attribute name="visible">3</attribute>
|
|
<attribute name="active">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn555">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer444"/>
|
|
<attributes>
|
|
<attribute name="sensitive">6</attribute>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="linguoptions-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="linguoptions">Defines the options for the spellcheck and hyphenation.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="linguoptionsedit">
|
|
<property name="label" translatable="yes" context="optlingupage|linguoptionsedit">Edi_t...</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="valign">start</property>
|
|
<property name="use-underline">True</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="linguoptionsedit-atkobject">
|
|
<property name="AtkObject::accessible-name" translatable="yes" context="optlingupage|linguoptionsedit-atkobject">Edit Options</property>
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="linguoptionsedit">If you want to change a value, select the entry and then click Edit.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="moredictsbox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">cmd/sc_additionsdialog.png</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLinkButton" id="moredictslink">
|
|
<property name="label" translatable="yes" context="optlingupage|moredictslink">Get more dictionaries online...</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="relief">none</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">1</property>
|
|
<property name="width">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="label4">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes" context="optlingupage|label4">_Options</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="mnemonic-widget">linguoptions</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="OptLinguPage-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="OptLinguPage">Specifies the properties of the spelling, thesaurus and hyphenation.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="sizegroup1">
|
|
<widgets>
|
|
<widget name="lingumodulesedit"/>
|
|
<widget name="buttonbox1"/>
|
|
<widget name="linguoptionsedit"/>
|
|
</widgets>
|
|
</object>
|
|
</interface>
|