diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-16 22:11:26 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-23 23:06:36 +0800 |
commit | 3528c4dd9364d2b178e49b259affc50022ed9af3 (patch) | |
tree | def37aaad51868932427586d5f8ca07890268b5a | |
parent | 14e27827e307997db9ec5ad216900cd5282c2864 (diff) | |
download | gsoc2013-empathy-3528c4dd9364d2b178e49b259affc50022ed9af3.tar gsoc2013-empathy-3528c4dd9364d2b178e49b259affc50022ed9af3.tar.gz gsoc2013-empathy-3528c4dd9364d2b178e49b259affc50022ed9af3.tar.bz2 gsoc2013-empathy-3528c4dd9364d2b178e49b259affc50022ed9af3.tar.lz gsoc2013-empathy-3528c4dd9364d2b178e49b259affc50022ed9af3.tar.xz gsoc2013-empathy-3528c4dd9364d2b178e49b259affc50022ed9af3.tar.zst gsoc2013-empathy-3528c4dd9364d2b178e49b259affc50022ed9af3.zip |
account-widget-sip: Add UI to configure auth-user, proxy-host and port params (#601697)
-rw-r--r-- | libempathy-gtk/empathy-account-widget-sip.c | 3 | ||||
-rw-r--r-- | libempathy-gtk/empathy-account-widget-sip.ui | 85 |
2 files changed, 87 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-widget-sip.c b/libempathy-gtk/empathy-account-widget-sip.c index db39ddae4..7db11c0c5 100644 --- a/libempathy-gtk/empathy-account-widget-sip.c +++ b/libempathy-gtk/empathy-account-widget-sip.c @@ -107,6 +107,9 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self, "checkbutton_discover-stun", "discover-stun", "entry_stun-server", "stun-server", "spinbutton_stun-port", "stun-port", + "entry_auth-user", "auth-user", + "entry_proxy-host", "proxy-host", + "spinbutton_port", "port", NULL); account_widget_sip_discover_stun_toggled_cb ( diff --git a/libempathy-gtk/empathy-account-widget-sip.ui b/libempathy-gtk/empathy-account-widget-sip.ui index e8491a6a5..7ca9de52b 100644 --- a/libempathy-gtk/empathy-account-widget-sip.ui +++ b/libempathy-gtk/empathy-account-widget-sip.ui @@ -134,7 +134,7 @@ <child> <object class="GtkTable" id="table_advanced_sip_settings"> <property name="visible">True</property> - <property name="n_rows">3</property> + <property name="n_rows">6</property> <property name="n_columns">2</property> <property name="column_spacing">6</property> <property name="row_spacing">6</property> @@ -209,6 +209,84 @@ <property name="y_options"></property> </packing> </child> + <child> + <object class="GtkLabel" id="label_auth-user"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Authentication username:</property> + </object> + <packing> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="entry_auth-user"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes">The username for SIP authentication, if different from the SIP URI +username.</property> + <property name="invisible_char">•</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label_proxy-host"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Proxy Server:</property> + </object> + <packing> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="entry_proxy-host"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes">Hostname of the proxy for outbound requests.</property> + <property name="invisible_char">•</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label_port"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Proxy Port:</property> + </object> + <packing> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="spinbutton_port"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes">Port of the proxy for outbound requests.</property> + <property name="invisible_char">•</property> + <property name="adjustment">adjustment2</property> + <property name="climb_rate">1</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> + </packing> + </child> </object> </child> </object> @@ -318,4 +396,9 @@ </packing> </child> </object> + <object class="GtkAdjustment" id="adjustment2"> + <property name="upper">65535</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> </interface> |