[gtk+] Set initial focus in some dialog tests



commit 29d756909d8f4d94a32a58e2777163e522f85a6d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 2 01:18:57 2014 +0200

    Set initial focus in some dialog tests
    
    Use the new <initial-focus> element here to confirm that it is
    parsed properly and works as expected.

 tests/dialog.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/dialog.ui b/tests/dialog.ui
index 4eb828a..58d3f34 100644
--- a/tests/dialog.ui
+++ b/tests/dialog.ui
@@ -255,5 +255,6 @@
       <action-widget response="-6">cancel_button</action-widget>
       <action-widget response="apply">confirm_button</action-widget>
     </action-widgets>
+    <initial-focus name="name_entry"/>
   </object>
 </interface>


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