[evolution] test-htlm-editor-units - Do not focus window on show



commit d3fc7115732b25e9f3c1800c1a6b4902824c1cd0
Author: Milan Crha <mcrha redhat com>
Date:   Tue Aug 23 11:22:49 2016 +0200

    test-htlm-editor-units - Do not focus window on show
    
    This allows the tests to run "in the background", thus users can work
    with their desktop while the tests are running.

 e-util/test-html-editor-units-utils.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/e-util/test-html-editor-units-utils.c b/e-util/test-html-editor-units-utils.c
index f5cc330..9e1ee52 100644
--- a/e-util/test-html-editor-units-utils.c
+++ b/e-util/test-html-editor-units-utils.c
@@ -206,6 +206,9 @@ test_utils_fixture_set_up (TestFixture *fixture,
        fixture->undo_stack = NULL;
        fixture->key_state = 0;
 
+       gtk_window_set_keep_below (GTK_WINDOW (fixture->window), TRUE);
+       gtk_window_set_focus_on_map (GTK_WINDOW (fixture->window), FALSE);
+
        create_data.async_data = test_utils_async_call_prepare ();
        create_data.fixture = fixture;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]