2012-12-09 19:38:32 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2018-11-30 09:02:57 +01:00
|
|
|
<template class="NetConnectionEditor" parent="GtkDialog">
|
2012-12-09 19:38:32 -05:00
|
|
|
<property name="can_focus">False</property>
|
2017-05-21 13:13:06 -03:00
|
|
|
<property name="border_width">0</property>
|
2013-06-18 17:03:44 +01:00
|
|
|
<property name="resizable">False</property>
|
2012-12-09 19:38:32 -05:00
|
|
|
<property name="modal">True</property>
|
2017-05-21 13:46:10 -03:00
|
|
|
<property name="default_width">500</property>
|
2012-12-09 19:38:32 -05:00
|
|
|
<property name="default_height">300</property>
|
|
|
|
<property name="type_hint">dialog</property>
|
2018-11-30 09:02:57 +01:00
|
|
|
<!-- This doesn't seem to work for a template, so it is also hardcoded. -->
|
2017-03-03 20:55:49 -03:00
|
|
|
<property name="use_header_bar">1</property>
|
2018-11-30 09:02:57 +01:00
|
|
|
<signal name="delete-event" handler="delete_event_cb" swapped="yes"/>
|
2017-03-03 20:55:49 -03:00
|
|
|
<child type="action">
|
2018-11-30 09:02:57 +01:00
|
|
|
<object class="GtkButton" id="cancel_button">
|
2017-03-03 20:55:49 -03:00
|
|
|
<property name="label" translatable="yes">_Cancel</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_underline">True</property>
|
2018-11-30 09:02:57 +01:00
|
|
|
<signal name="clicked" handler="cancel_clicked_cb" object="NetConnectionEditor" swapped="yes"/>
|
2017-03-03 20:55:49 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="action">
|
2018-11-30 09:02:57 +01:00
|
|
|
<object class="GtkButton" id="apply_button">
|
2017-03-03 20:55:49 -03:00
|
|
|
<property name="label" translatable="yes">_Apply</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_underline">True</property>
|
2018-11-30 09:02:57 +01:00
|
|
|
<signal name="clicked" handler="apply_clicked_cb" object="NetConnectionEditor" swapped="yes"/>
|
2017-03-03 20:55:49 -03:00
|
|
|
</object>
|
|
|
|
</child>
|
2012-12-09 19:38:32 -05:00
|
|
|
<child internal-child="vbox">
|
2019-10-16 09:00:34 +13:00
|
|
|
<object class="GtkBox">
|
2012-12-09 19:38:32 -05:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2017-05-21 13:13:06 -03:00
|
|
|
<property name="spacing">0</property>
|
|
|
|
<property name="border_width">0</property>
|
2012-12-09 19:38:32 -05:00
|
|
|
<child>
|
2019-11-06 15:21:51 +13:00
|
|
|
<object class="GtkStack" id="toplevel_stack">
|
2012-12-09 19:38:32 -05:00
|
|
|
<property name="visible">True</property>
|
2020-11-19 11:43:16 +13:00
|
|
|
<child>
|
|
|
|
<object class="GtkSpinner" id="spinner">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="active">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2012-12-09 19:38:32 -05:00
|
|
|
<child>
|
2019-11-06 15:21:51 +13:00
|
|
|
<object class="GtkNotebook" id="notebook">
|
2012-12-09 19:38:32 -05:00
|
|
|
<property name="visible">True</property>
|
2019-11-06 15:21:51 +13:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="show_border">False</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
</object>
|
|
|
|
</child>
|
2012-12-09 19:38:32 -05:00
|
|
|
<child>
|
2019-11-06 15:21:51 +13:00
|
|
|
<object class="GtkBox" id="add_connection_box">
|
2012-12-09 19:38:32 -05:00
|
|
|
<property name="visible">True</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
<property name="can_focus">False</property>
|
2016-02-09 12:46:32 -02:00
|
|
|
<property name="vexpand">True</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
<child>
|
2019-10-16 09:00:34 +13:00
|
|
|
<object class="GtkBox">
|
2013-01-09 17:41:48 -05:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2016-02-09 12:46:32 -02:00
|
|
|
<property name="vexpand">True</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
<child>
|
2018-11-30 09:02:57 +01:00
|
|
|
<object class="GtkFrame" id="add_connection_frame">
|
2013-01-09 17:41:48 -05:00
|
|
|
<property name="width_request">300</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label_xalign">0</property>
|
|
|
|
<property name="shadow_type">in</property>
|
2016-02-09 12:46:32 -02:00
|
|
|
<property name="vexpand">True</property>
|
2019-11-29 20:45:32 +01:00
|
|
|
<property name="valign">start</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2016-02-09 12:46:32 -02:00
|
|
|
<property name="expand">True</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2012-12-09 19:38:32 -05:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<action-widgets>
|
2018-11-30 09:02:57 +01:00
|
|
|
<action-widget response="cancel">cancel_button</action-widget>
|
|
|
|
<action-widget response="apply" default="true">apply_button</action-widget>
|
2012-12-09 19:38:32 -05:00
|
|
|
</action-widgets>
|
2018-11-30 09:02:57 +01:00
|
|
|
</template>
|
2012-12-09 19:38:32 -05:00
|
|
|
</interface>
|