gnome-control-center/panels/network/network-proxy.ui
Christopher Davis 981a8cea7b panels: Use .boxed-list instead of .content
The `.content` style class is deprecated in favor
of the `.boxed-list` style class, which is named
after the design pattern it's used for.
2021-12-16 12:52:44 -08:00

402 lines
19 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkAdjustment" id="proxy_port_ftp_adjustment">
<property name="upper">65535</property>
<property name="step_increment">1</property>
</object>
<object class="GtkAdjustment" id="proxy_port_http_adjustment">
<property name="upper">65535</property>
<property name="step_increment">1</property>
</object>
<object class="GtkAdjustment" id="proxy_port_https_adjustment">
<property name="upper">65535</property>
<property name="step_increment">1</property>
</object>
<object class="GtkAdjustment" id="proxy_port_socks_adjustment">
<property name="upper">65535</property>
<property name="step_increment">1</property>
</object>
<template class="NetProxy" parent="AdwBin">
<child>
<object class="GtkListBox">
<property name="selection_mode">none</property>
<style>
<class name="boxed-list" />
</style>
<child>
<object class="GtkListBoxRow">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
<property name="spacing">12</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<child>
<object class="GtkLabel">
<property name="hexpand">True</property>
<property name="label" translatable="yes">Network Proxy</property>
<property name="ellipsize">end</property>
<property name="xalign">0.0</property>
<attributes>
<attribute name="weight" value="bold" />
</attributes>
</object>
</child>
<child>
<object class="GtkLabel" id="status_label">
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
<style>
<class name="dim-label" />
</style>
</object>
</child>
<child>
<object class="GtkButton">
<signal name="clicked" handler="show_dialog_cb" object="NetProxy" swapped="yes"/>
<child>
<object class="GtkImage">
<property name="icon_name">emblem-system-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkDialog" id="dialog">
<property name="use_header_bar">1</property>
<property name="default_height">350</property>
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="hide-on-close">True</property>
<property name="title" translatable="yes">Network Proxy</property>
<child>
<object class="GtkBox">
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkCheckButton" id="automatic_radio">
<property name="label" translatable="yes">Automatic</property>
<property name="group">none_radio</property>
<signal name="toggled" handler="panel_proxy_mode_radio_changed_cb" object="NetProxy" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkCheckButton" id="manual_radio">
<property name="label" translatable="yes">Manual</property>
<property name="group">none_radio</property>
<signal name="toggled" handler="panel_proxy_mode_radio_changed_cb" object="NetProxy" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkCheckButton" id="none_radio">
<property name="label" translatable="yes">Disabled</property>
<signal name="toggled" handler="panel_proxy_mode_radio_changed_cb" object="NetProxy" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="transition_type">crossfade</property>
<!-- Disabled (empty box) -->
<child>
<object class="GtkStackPage">
<property name="name">disabled</property>
<property name="child">
<object class="GtkBox" />
</property>
</object>
</child>
<!-- Manual -->
<child>
<object class="GtkStackPage">
<property name="name">manual</property>
<property name="child">
<object class="GtkGrid">
<property name="valign">start</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="row_spacing">10</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes">_HTTP Proxy</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">proxy_http_entry</property>
<layout>
<property name="column">0</property>
<property name="row">3</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes">H_TTPS Proxy</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">proxy_https_entry</property>
<layout>
<property name="column">0</property>
<property name="row">4</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes">_FTP Proxy</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">proxy_ftp_entry</property>
<layout>
<property name="column">0</property>
<property name="row">5</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes">_Socks Host</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">proxy_socks_entry</property>
<layout>
<property name="column">0</property>
<property name="row">6</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes">_Ignore Hosts</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">proxy_ignore_entry</property>
<layout>
<property name="column">0</property>
<property name="row">7</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkEntry" id="proxy_http_entry">
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<layout>
<property name="column">1</property>
<property name="row">3</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkSpinButton">
<property name="xalign">1</property>
<property name="adjustment">proxy_port_http_adjustment</property>
<layout>
<property name="column">2</property>
<property name="row">3</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<accessibility>
<property name="label" translatable="yes">HTTP proxy port</property>
</accessibility>
</object>
</child>
<child>
<object class="GtkEntry" id="proxy_https_entry">
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<layout>
<property name="column">1</property>
<property name="row">4</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkEntry" id="proxy_ftp_entry">
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<layout>
<property name="column">1</property>
<property name="row">5</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkEntry" id="proxy_socks_entry">
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<layout>
<property name="column">1</property>
<property name="row">6</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkEntry" id="proxy_ignore_entry">
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<layout>
<property name="column">1</property>
<property name="row">7</property>
<property name="column-span">2</property>
<property name="row-span">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkSpinButton">
<property name="xalign">1</property>
<property name="adjustment">proxy_port_https_adjustment</property>
<layout>
<property name="column">2</property>
<property name="row">4</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<accessibility>
<property name="label" translatable="yes">HTTPS proxy port</property>
</accessibility>
</object>
</child>
<child>
<object class="GtkSpinButton">
<property name="xalign">1</property>
<property name="adjustment">proxy_port_ftp_adjustment</property>
<layout>
<property name="column">2</property>
<property name="row">5</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<accessibility>
<property name="label" translatable="yes">FTP proxy port</property>
</accessibility>
</object>
</child>
<child>
<object class="GtkSpinButton">
<property name="xalign">1</property>
<property name="adjustment">proxy_port_socks_adjustment</property>
<layout>
<property name="column">2</property>
<property name="row">6</property>
<property name="column-span">1</property>
<property name="row-span">1</property>
</layout>
<accessibility>
<property name="label" translatable="yes">Socks proxy port</property>
</accessibility>
</object>
</child>
</object>
</property>
</object>
</child>
<!-- Automatic -->
<child>
<object class="GtkStackPage">
<property name="name">automatic</property>
<property name="child">
<object class="GtkGrid">
<property name="row_spacing">12</property>
<property name="column_spacing">12</property>
<child>
<object class="GtkLabel">
<property name="xalign">1</property>
<property name="label" translatable="yes">_Configuration URL</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">proxy_url_entry</property>
<layout>
<property name="row">0</property>
<property name="column">0</property>
</layout>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkEntry" id="proxy_url_entry">
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<layout>
<property name="row">0</property>
<property name="column">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="proxy_warning_label">
<property name="visible">False</property>
<property name="xalign">0</property>
<property name="wrap">True</property>
<property name="width_chars">50</property>
<layout>
<property name="row">1</property>
<property name="column">0</property>
<property name="column-span">2</property>
</layout>
</object>
</child>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>