[gnome-boxes/assistant-dismiss-dialogs-with-escape: 2/2] assistant: Dismiss Assistant's dialogs when pressing Escape



commit 146193e3d58c82643112f44339a9a504ac230910
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Feb 3 12:59:39 2020 +0100

    assistant: Dismiss Assistant's dialogs when pressing Escape
    
    This is the expected behavior for our dialogs.

 data/ui/assistant/remote-connection.ui | 1 +
 data/ui/assistant/vm-assistant.ui      | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/data/ui/assistant/remote-connection.ui b/data/ui/assistant/remote-connection.ui
index c4d12759..0c5fe1c1 100644
--- a/data/ui/assistant/remote-connection.ui
+++ b/data/ui/assistant/remote-connection.ui
@@ -5,6 +5,7 @@
     <property name="type-hint">dialog</property>
     <property name="title" translatable="yes">Connect to a Box</property>
     <property name="height-request">250</property>
+    <signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
 
     <child internal-child="vbox">
       <object class="GtkBox">
diff --git a/data/ui/assistant/vm-assistant.ui b/data/ui/assistant/vm-assistant.ui
index 71744f21..579468e5 100644
--- a/data/ui/assistant/vm-assistant.ui
+++ b/data/ui/assistant/vm-assistant.ui
@@ -6,6 +6,7 @@
     <property name="title" translatable="yes">Create a Virtual Machine</property>
     <property name="width-request">724</property>
     <property name="height-request">568</property>
+    <signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
 
     <child internal-child="vbox">
       <object class="GtkBox">


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