aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.ui
diff options
context:
space:
mode:
authorDan Vráti <dvratil@redhat.com>2011-03-18 23:39:00 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:46 +0800
commit175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a (patch)
tree35fdb6edde06f4de34f495c8e01de0cff6fc9ea4 /mail/mail-config.ui
parent8314b3be66dcaa5a26f4e495a90310a26c7db508 (diff)
downloadgsoc2013-evolution-175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a.tar
gsoc2013-evolution-175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a.tar.gz
gsoc2013-evolution-175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a.tar.bz2
gsoc2013-evolution-175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a.tar.lz
gsoc2013-evolution-175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a.tar.xz
gsoc2013-evolution-175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a.tar.zst
gsoc2013-evolution-175ee8ccc1bb463cb35dd8c7485a5c5a7341da8a.zip
Bug 418954 - Add a separate entry combo for port numbers
Adds a new EPortEntry widget which appears alongside "host" entry boxes so users don't have to know about the "host:port" syntax to specify a custom port number. Currently only used in the mail account editor, but we'll generalize it futher so it can be used everywhere.
Diffstat (limited to 'mail/mail-config.ui')
-rw-r--r--mail/mail-config.ui70
1 files changed, 63 insertions, 7 deletions
diff --git a/mail/mail-config.ui b/mail/mail-config.ui
index e582621c26..5305593e8c 100644
--- a/mail/mail-config.ui
+++ b/mail/mail-config.ui
@@ -625,7 +625,7 @@ For example: "Work" or "Personal"</property>
<object class="GtkTable" id="source-config-table">
<property name="visible">True</property>
<property name="n_rows">3</property>
- <property name="n_columns">2</property>
+ <property name="n_columns">4</property>
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<child>
@@ -637,6 +637,25 @@ For example: "Work" or "Personal"</property>
<property name="mnemonic_widget">source_host</property>
</object>
<packing>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="left_attach">0</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="source_port_label">
+ <property name="visible">True</property>
+ <property name="xalign">1</property>
+ <property name="label">_Port:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">source_port</property>
+ </object>
+ <packing>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="left_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
@@ -651,7 +670,6 @@ For example: "Work" or "Personal"</property>
</object>
<packing>
<property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
@@ -664,8 +682,20 @@ For example: "Work" or "Personal"</property>
</object>
<packing>
<property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="y_options"></property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="EPortEntry" type-func="e_port_entry_get_type" id="source_port">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has-entry">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="top_attach">0</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
</packing>
</child>
<child>
@@ -676,7 +706,7 @@ For example: "Work" or "Personal"</property>
</object>
<packing>
<property name="left_attach">1</property>
- <property name="right_attach">2</property>
+ <property name="right_attach">4</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
@@ -1053,7 +1083,7 @@ For example: "Work" or "Personal"</property>
<object class="GtkTable" id="transport-server-table">
<property name="visible">True</property>
<property name="n_rows">2</property>
- <property name="n_columns">2</property>
+ <property name="n_columns">4</property>
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<child>
@@ -1062,7 +1092,6 @@ For example: "Work" or "Personal"</property>
<property name="xalign">1</property>
<property name="label" translatable="yes">_Server:</property>
<property name="use_underline">True</property>
- <property name="justify">right</property>
<property name="mnemonic_widget">transport_host</property>
</object>
<packing>
@@ -1071,6 +1100,20 @@ For example: "Work" or "Personal"</property>
</packing>
</child>
<child>
+ <object class="GtkLabel" id="transport_port_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Port:</property>
+ <property name="use_underline">True</property>
+ <property name="justify">right</property>
+ <property name="mnemonic_widget">transport_port</property>
+ </object>
+ <packing>
+ <property name="left-attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
<object class="GtkEntry" id="transport_host">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -1083,6 +1126,18 @@ For example: "Work" or "Personal"</property>
</packing>
</child>
<child>
+ <object class="EPortEntry" type-func="e_port_entry_get_type" id="transport_port">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has-entry">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="x_options"></property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
<object class="GtkCheckButton" id="transport_needs_auth">
<property name="label" translatable="yes">Ser_ver requires authentication</property>
<property name="visible">True</property>
@@ -1092,6 +1147,7 @@ For example: "Work" or "Personal"</property>
<property name="draw_indicator">True</property>
</object>
<packing>
+ <property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>