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



commit 3a6abf04ee26042eb90869cff4bd60f67d75accd
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 b929e182..eed79fc5 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]