From: Jose Dapena Paz Date: Wed, 30 Apr 2008 17:18:53 +0000 (+0000) Subject: * src/dbus_api/modest-dbus-callback.c: X-Git-Tag: git_migration_finished~1400 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=2a6e3e308c8d806d105f995de43a9cbd2bfdd644 * src/dbus_api/modest-dbus-callback.c: * Now the opening message information banner is scheduled after connection is obtained. pmo-trunk-r4494 --- diff --git a/src/dbus_api/modest-dbus-callbacks.c b/src/dbus_api/modest-dbus-callbacks.c index 7b9f16c..6cb03ba 100644 --- a/src/dbus_api/modest-dbus-callbacks.c +++ b/src/dbus_api/modest-dbus-callbacks.c @@ -601,6 +601,7 @@ on_open_message_performer (gboolean canceled, return; } + info->animation_timeout = g_timeout_add (1000, on_show_opening_animation, info); /* Get message */ tny_folder_find_msg_async (folder, info->uri, find_msg_async_cb, NULL, info); g_object_unref (folder); @@ -658,7 +659,8 @@ on_open_message (GArray * arguments, gpointer data, osso_rpc_t * retval) info->account = g_object_ref (account); info->uri = uri; info->connect = TRUE; - info->animation_timeout = g_timeout_add (1000, on_show_opening_animation, info); + info->animation = NULL; + info->animation_timeout = 0; /* Try to get the message, if it's already downloaded we don't need to connect */