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">
|
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>
|
2022-06-06 15:57:01 +02:00
|
|
|
<property name="default_height">600</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>
|
2021-11-29 10:37:01 -03:00
|
|
|
<signal name="close-request" handler="close_request_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="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="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>
|
2021-11-29 10:37:01 -03:00
|
|
|
<child>
|
2019-10-16 09:00:34 +13:00
|
|
|
<object class="GtkBox">
|
2017-05-21 13:13:06 -03:00
|
|
|
<property name="spacing">0</property>
|
2012-12-09 19:38:32 -05:00
|
|
|
<child>
|
2023-05-03 12:04:43 +02:00
|
|
|
<object class="AdwToastOverlay" id="toast_overlay">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkStack" id="toplevel_stack">
|
|
|
|
<property name="hexpand">True</property>
|
2016-02-09 12:46:32 -02:00
|
|
|
<property name="vexpand">True</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
<child>
|
2023-05-03 12:04:43 +02:00
|
|
|
<object class="GtkSpinner" id="spinner">
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="spinning">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkNotebook" id="notebook">
|
|
|
|
<property name="show_border">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="add_connection_box">
|
2016-02-09 12:46:32 -02:00
|
|
|
<property name="vexpand">True</property>
|
2013-01-09 17:41:48 -05:00
|
|
|
<child>
|
2023-05-03 12:04:43 +02:00
|
|
|
<object class="GtkBox">
|
2021-11-29 10:37:01 -03:00
|
|
|
<property name="hexpand">True</property>
|
2016-02-09 12:46:32 -02:00
|
|
|
<property name="vexpand">True</property>
|
2023-05-03 12:04:43 +02:00
|
|
|
<child>
|
|
|
|
<object class="AdwBin" id="add_connection_frame">
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
|
|
|
<property name="width_request">300</property>
|
|
|
|
<property name="valign">start</property>
|
2023-10-07 15:35:50 +02:00
|
|
|
<property name="margin-start">12</property>
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
<property name="margin-top">12</property>
|
|
|
|
<property name="margin-bottom">12</property>
|
2023-05-03 12:04:43 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
2013-01-09 17:41:48 -05:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2023-05-03 12:04:43 +02:00
|
|
|
</property>
|
2012-12-09 19:38:32 -05:00
|
|
|
</object>
|
|
|
|
</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>
|