[node-patches] Change in ovirt-node[master]: ui: Close F2 confirmation dialig

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Oct 22 17:16:53 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: ui: Close F2 confirmation dialig
......................................................................

ui: Close F2 confirmation dialig

Previously sometimes the F2 confirmation dialog wasn't closed.

Change-Id: Ie8b9eabf90158392743c770b40f652a537527918
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/app.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/05/20405/1

diff --git a/src/ovirt/node/app.py b/src/ovirt/node/app.py
index f5a648d..bc5cba0 100644
--- a/src/ovirt/node/app.py
+++ b/src/ovirt/node/app.py
@@ -389,8 +389,9 @@
             dialog = ui.ConfirmationDialog("dialog.shell", "Rescue Shell", txt
                                            )
 
-            dialog.buttons[0].on_activate.connect(return_ok)
+            dialog.buttons[0].on_activate.clear()
             dialog.buttons[0].on_activate.connect(ui.CloseAction())
+            dialog.buttons[0].on_activate.connect(return_ok)
             self.show(dialog)
 
         except:


-- 
To view, visit http://gerrit.ovirt.org/20405
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8b9eabf90158392743c770b40f652a537527918
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list