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
committerMatthew Barnes <mbarnes@redhat.com>2011-03-24 03:53:05 +0800
commit07f943554d6d5f945fc9de59b2a14571537c51ef (patch)
treef9c910d921f2a4fd22c1197fcc46364d123a821d /mail/mail-config.ui
parenteea0c8402f7853bca909239fdc7f56e2b24655d4 (diff)
downloadgsoc2013-evolution-07f943554d6d5f945fc9de59b2a14571537c51ef.tar
gsoc2013-evolution-07f943554d6d5f945fc9de59b2a14571537c51ef.tar.gz
gsoc2013-evolution-07f943554d6d5f945fc9de59b2a14571537c51ef.tar.bz2
gsoc2013-evolution-07f943554d6d5f945fc9de59b2a14571537c51ef.tar.lz
gsoc2013-evolution-07f943554d6d5f945fc9de59b2a14571537c51ef.tar.xz
gsoc2013-evolution-07f943554d6d5f945fc9de59b2a14571537c51ef.tar.zst
gsoc2013-evolution-07f943554d6d5f945fc9de59b2a14571537c51ef.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>