[gnome-contacts] editor: Make birthday dialog modal



commit 6762dbdbdd108ae91aa743c555b91d50958bf94e
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Thu Jan 13 23:40:51 2022 +0100

    editor: Make birthday dialog modal

 src/contacts-editor-property.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/contacts-editor-property.vala b/src/contacts-editor-property.vala
index ccf84caf..47aa9bf0 100644
--- a/src/contacts-editor-property.vala
+++ b/src/contacts-editor-property.vala
@@ -93,7 +93,7 @@ public class Contacts.BirthdayEditor : Gtk.Dialog {
   }
 
   public BirthdayEditor (Gtk.Window window, DateTime birthday) {
-    Object (transient_for: window, use_header_bar: 1);
+    Object (transient_for: window, use_header_bar: 1, modal: true);
 
     // Don't forget to change to local timezone first
     var bday_local = birthday.to_local ();


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