From: Sergio Villar SenĂ­n Date: Mon, 30 Nov 2009 09:49:03 +0000 (+0100) Subject: Wait 1 sec before closing the accounts window in order to let hildon-desktop to prope... X-Git-Tag: 3.2.3~5 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=311055a92833f94cf1e7217af880be4a1e3d375a Wait 1 sec before closing the accounts window in order to let hildon-desktop to properly take a screenshot Fixes NB#139348 --- diff --git a/src/hildon2/modest-accounts-window.c b/src/hildon2/modest-accounts-window.c index c7f65e5..628329b 100644 --- a/src/hildon2/modest-accounts-window.c +++ b/src/hildon2/modest-accounts-window.c @@ -717,7 +717,11 @@ on_delete_event (GtkWidget *widget, gtk_widget_queue_resize (widget); gdk_window_process_updates (priv->account_view->window, TRUE); + + /* Take screenshot. We have to wait a bit to ensure that + screenshot is properly taken */ hildon_gtk_window_take_screenshot (GTK_WINDOW (widget), TRUE); + g_usleep (G_USEC_PER_SEC); modest_account_view_set_show_last_update (MODEST_ACCOUNT_VIEW (priv->account_view), TRUE);