Boy this was hard. To ease the pain of porting wireless-security to GTK4, add a new WsFileChooserButton class that mimics the behavior of a button that triggers a filechooser, as per the migration guide suggests. There were lots of GtkGrids, so the diff is particularly horrendous. Sorry. This needs serious testing before landing.
167 lines
5.4 KiB
XML
167 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk+" version="3.4"/>
|
|
<object class="GtkListStore" id="inner_auth_model">
|
|
<columns>
|
|
<!-- column-name label -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes">MSCHAPv2</col>
|
|
<col id="1">mschapv2</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">MD5</col>
|
|
<col id="1">md5</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">GTC</col>
|
|
<col id="1">gtc</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<object class="GtkListStore" id="version_model">
|
|
<columns>
|
|
<!-- column-name gchararray -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes">Automatic</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Version 0</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Version 1</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<template class="EAPMethodPEAP" parent="GtkGrid">
|
|
<property name="column_spacing">6</property>
|
|
<property name="row_spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="anon_identity_label">
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">Anony_mous identity</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">anon_identity_entry</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="anon_identity_entry">
|
|
<property name="hexpand">True</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="ca_cert_label">
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">C_A certificate</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">ca_cert_button</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="WsFileChooserButton" id="ca_cert_button">
|
|
<property name="hexpand">True</property>
|
|
<property name="title" translatable="yes">Choose a Certificate Authority certificate</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="ca_cert_not_required_check">
|
|
<property name="label" translatable="yes">No CA certificate is _required</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="use_underline">True</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="version_label">
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">PEAP _version</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">version_combo</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">3</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="version_combo">
|
|
<property name="hexpand">True</property>
|
|
<property name="model">version_model</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">3</property>
|
|
</layout>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="inner_auth_label">
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_Inner authentication</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">inner_auth_combo</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">4</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="inner_auth_combo">
|
|
<property name="hexpand">True</property>
|
|
<property name="model">inner_auth_model</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">4</property>
|
|
</layout>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="inner_auth_box">
|
|
<property name="orientation">vertical</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">5</property>
|
|
<property name="column-span">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|