aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-03-08 01:29:11 +0800
committerMilan Crha <mcrha@redhat.com>2012-03-08 01:29:11 +0800
commit5501ee7267163100f6fa4c2c9d9c52392b188bdd (patch)
tree8effe9c44c2f452b59e7f16772a13622dc9f7c3b /widgets
parentee82d456d057ac63ff3e9193d8bbe882bf02192c (diff)
downloadgsoc2013-evolution-5501ee7267163100f6fa4c2c9d9c52392b188bdd.tar.gz
gsoc2013-evolution-5501ee7267163100f6fa4c2c9d9c52392b188bdd.tar.zst
gsoc2013-evolution-5501ee7267163100f6fa4c2c9d9c52392b188bdd.zip
Bug #664169 - Default port is not selected by default
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-port-entry.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/widgets/misc/e-port-entry.c b/widgets/misc/e-port-entry.c
index 84a514b653..470249a772 100644
--- a/widgets/misc/e-port-entry.c
+++ b/widgets/misc/e-port-entry.c
@@ -362,10 +362,6 @@ e_port_entry_init (EPortEntry *port_entry)
gtk_cell_layout_add_attribute (
GTK_CELL_LAYOUT (port_entry),
renderer, "text", PORT_DESC_COLUMN);
-
- g_signal_connect (
- port_entry, "notify::security-method",
- G_CALLBACK (port_entry_method_changed), NULL);
}
GtkWidget *
@@ -474,6 +470,8 @@ e_port_entry_set_security_method (EPortEntry *port_entry,
port_entry->priv->method = method;
+ port_entry_method_changed (port_entry);
+
g_object_notify (G_OBJECT (port_entry), "security-method");
}