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.
93 lines
2.8 KiB
XML
93 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk+" version="3.4"/>
|
|
<object class="GtkListStore" id="auth_model">
|
|
<columns>
|
|
<!-- column-name label -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name visible -->
|
|
<column type="gboolean"/>
|
|
</columns>
|
|
<data>
|
|
<row>
|
|
<col id="0" translatable="yes">MD5</col>
|
|
<col id="1">md5</col>
|
|
<col id="2">True</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">TLS</col>
|
|
<col id="1">tls</col>
|
|
<col id="2">True</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">LEAP</col>
|
|
<col id="1">leap</col>
|
|
<col id="2">True</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">PWD</col>
|
|
<col id="1">pwd</col>
|
|
<col id="2">True</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">FAST</col>
|
|
<col id="1">fast</col>
|
|
<col id="2">True</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Tunneled TLS</col>
|
|
<col id="1">ttls</col>
|
|
<col id="2">True</col>
|
|
</row>
|
|
<row>
|
|
<col id="0" translatable="yes">Protected EAP (PEAP)</col>
|
|
<col id="1">peap</col>
|
|
<col id="2">True</col>
|
|
</row>
|
|
</data>
|
|
</object>
|
|
<template class="WirelessSecurityWPAEAP" parent="GtkGrid">
|
|
<property name="column_spacing">6</property>
|
|
<property name="row_spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="auth_label">
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">Au_thentication</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">auth_combo</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="auth_combo">
|
|
<property name="hexpand">True</property>
|
|
<property name="model">auth_model</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="method_box">
|
|
<property name="orientation">vertical</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="column-span">2</property>
|
|
<property name="row">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|