Description: Fix remote key search results not showing
Bug-Ubuntu: https://launchpad.net/bugs/925474
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=669247
Author: Robert Ancell <robert.ancell@canonical.com>

Index: seahorse-3.2.2/pgp/seahorse-hkp-source.c
===================================================================
--- seahorse-3.2.2.orig/pgp/seahorse-hkp-source.c	2011-11-14 21:45:20.000000000 +1100
+++ seahorse-3.2.2/pgp/seahorse-hkp-source.c	2012-04-11 16:00:35.885997476 +1000
@@ -411,6 +411,7 @@
 					seahorse_object_list_free (uids);
 					seahorse_pgp_key_set_subkeys (SEAHORSE_PGP_KEY (key), subkeys);
 					seahorse_object_list_free (subkeys);
+					seahorse_pgp_key_realize (SEAHORSE_PGP_KEY (key));
 					uids = subkeys = NULL;
 					key = NULL;
 				}
@@ -465,6 +466,7 @@
 		seahorse_object_list_free (uids);
 		seahorse_pgp_key_set_subkeys (SEAHORSE_PGP_KEY (key), g_list_reverse (subkeys));
 		seahorse_object_list_free (subkeys);
+		seahorse_pgp_key_realize (SEAHORSE_PGP_KEY (key));
 	}
 	
 	return keys; 
Index: seahorse-3.2.2/pgp/seahorse-ldap-source.c
===================================================================
--- seahorse-3.2.2.orig/pgp/seahorse-ldap-source.c	2011-11-14 21:45:20.000000000 +1100
+++ seahorse-3.2.2/pgp/seahorse-ldap-source.c	2012-04-11 16:00:40.957997546 +1000
@@ -902,6 +902,7 @@
 		g_object_set (key, "location", SEAHORSE_LOCATION_REMOTE,
 		              "flags", flags, NULL);
 
+		seahorse_pgp_key_realize (key);
 		add_key (self, key);
 		g_object_unref (key);
 		result = SEAHORSE_OBJECT (key);
