diff options
author | Alban Crequy <alban.crequy@collabora.co.uk> | 2010-12-15 15:47:33 +0000 |
---|---|---|
committer | Alban Crequy <alban.crequy@collabora.co.uk> | 2010-12-15 15:47:33 +0000 |
commit | a4bf9a9400b1f644c23f8626cb46e64a3bd0b047 (patch) | |
tree | 39ac3e5f52b42857453ae56887f380a3684eaf87 | |
parent | 08594c0e08e0ff33c638bc09e89dfefe17769a75 (diff) |
Load images asynchronously
-rw-r--r-- | liszt/contact-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/liszt/contact-view.c b/liszt/contact-view.c index 3b40717d9..c42cfc00e 100644 --- a/liszt/contact-view.c +++ b/liszt/contact-view.c @@ -405,6 +405,7 @@ lol_contact_view_constructed (GObject *obj) clutter_actor_set_height (box, 48.0); priv->presence_texture = clutter_texture_new (); + g_object_set (priv->presence_texture, "load-async", TRUE, NULL); clutter_actor_set_height (priv->presence_texture, 32.0); clutter_actor_set_width (priv->presence_texture, 32.0); clutter_box_pack (CLUTTER_BOX (box), priv->presence_texture, @@ -425,6 +426,7 @@ lol_contact_view_constructed (GObject *obj) clutter_actor_show (priv->name_text); priv->avatar_texture = clutter_texture_new (); + g_object_set (priv->avatar_texture, "load-async", TRUE, NULL); clutter_actor_set_height (priv->avatar_texture, 32.0); clutter_actor_set_width (priv->avatar_texture, 32.0); clutter_box_pack (CLUTTER_BOX (box), priv->avatar_texture, |