From 5501ee7267163100f6fa4c2c9d9c52392b188bdd Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 7 Mar 2012 18:29:11 +0100 Subject: Bug #664169 - Default port is not selected by default --- widgets/misc/e-port-entry.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'widgets') 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"); } -- cgit v1.2.3