[gtk/matthiasc/for-master] widget-factory: Add a default button




commit 749ea8c30c1a9af78a41660a72ac6f9f0d808aaa
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 3 23:00:10 2021 -0400

    widget-factory: Add a default button
    
    Mark one of the buttons in the message dialog
    as default, so we can see how the default appears
    visually.

 demos/widget-factory/widget-factory.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 6800cffdd1..c37ade2945 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -2902,7 +2902,7 @@ bad things might happen.</property>
 
     <action-widgets>
       <action-widget response="cancel">cancel_info_dialog</action-widget>
-      <action-widget response="ok">doit_info_dialog</action-widget>
+      <action-widget response="ok" default="true">doit_info_dialog</action-widget>
     </action-widgets>
   </object>
   <object class="GtkDialog" id="action_dialog">


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