Separate the local account stuff a bit so when the enterprise stuff comes in it's still readable. https://bugzilla.gnome.org/show_bug.cgi?id=677548
151 lines
6.4 KiB
XML
151 lines
6.4 KiB
XML
<?xml version="1.0"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 2.12 -->
|
|
<!-- interface-naming-policy toplevel-contextual -->
|
|
<object class="GtkListStore" id="username-model">
|
|
<columns>
|
|
<!-- column-name gchararray -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkListStore" id="account-type-model">
|
|
<columns>
|
|
<!-- column-name gchararray -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name gint -->
|
|
<column type="gint"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes" context="Account type">Standard</col>
|
|
<col id="1">0</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes" context="Account type">Administrator</col>
|
|
<col id="1">1</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<object class="GtkVBox" id="account-dialog">
|
|
<property name="visible">True</property>
|
|
<property name="border_width">10</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Add account</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
<attribute name="scale" value="1.200000"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkGrid" id="local-area">
|
|
<property name="visible">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="column_spacing">10</property>
|
|
<property name="row_spacing">10</property>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="local-username">
|
|
<property name="visible">True</property>
|
|
<property name="has_entry">True</property>
|
|
<property name="entry_text_column">0</property>
|
|
<property name="model">username-model</property>
|
|
<property name="hexpand">True</property>
|
|
<child internal-child="entry">
|
|
<object class="GtkEntry" id="userlocal-name">
|
|
<property name="activates_default">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label6">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_Username</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">local-username</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="local-name">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="activates_default">True</property>
|
|
<property name="hexpand">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label5">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_Full name</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">local-name</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="local-account-type">
|
|
<property name="visible">True</property>
|
|
<property name="model">account-type-model</property>
|
|
<property name="hexpand">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="account-type-cell"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label7">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">Account _Type</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">local-account-type</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</interface>
|