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

[virt-tools-list] [PATCH virt-viewer] Make the password field activates default widget



When pressing "Enter", the default auth dialog action isn't activated.
Setting activates_default to TRUE fixes this issue.
---
 src/virt-viewer-auth.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/virt-viewer-auth.xml b/src/virt-viewer-auth.xml
index f45143d..4a933f2 100644
--- a/src/virt-viewer-auth.xml
+++ b/src/virt-viewer-auth.xml
@@ -63,6 +63,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="visibility">False</property>
+                <property name="activates_default">True</property>
               </object>
               <packing>
                 <property name="left_attach">1</property>
-- 
1.7.7.6


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