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.
72 lines
2.4 KiB
XML
72 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk+" version="3.4"/>
|
|
<template class="WirelessSecurityWPAPSK" parent="GtkGrid">
|
|
<property name="column_spacing">6</property>
|
|
<property name="row_spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="password_label">
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_Password</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">password_entry</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEntry" id="password_entry">
|
|
<property name="hexpand">True</property>
|
|
<property name="max_length">64</property>
|
|
<property name="visibility">False</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="type_label">
|
|
<property name="xalign">1</property>
|
|
<property name="label" translatable="yes">_Type</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="mnemonic_widget">type_combo</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="xalign">0</property>
|
|
<layout>
|
|
<property name="column">0</property>
|
|
<property name="row">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="show_password_check">
|
|
<property name="label" translatable="yes">Sho_w password</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="use_underline">True</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">1</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="type_combo">
|
|
<property name="hexpand">True</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">2</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|