[shotwell] Do not make Cancel button default



commit 4d83c66cf9c6c4a8d673cacb491540e0037e1592
Author: Jens Georg <mail jensge org>
Date:   Wed Jan 23 10:50:22 2019 +0100

    Do not make Cancel button default
    
    We can still cancel the button easily with Esc, but it makes the
    Webkit-based login flow so much easier
    
    Fixes #11

 src/publishing/PublishingUI.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/publishing/PublishingUI.vala b/src/publishing/PublishingUI.vala
index 3d4f6095..2b967dd3 100644
--- a/src/publishing/PublishingUI.vala
+++ b/src/publishing/PublishingUI.vala
@@ -296,7 +296,6 @@ public class PublishingDialog : Gtk.Dialog {
         
         if (use_header) {
             close_cancel_button = new Gtk.Button.with_mnemonic("_Cancel");
-            close_cancel_button.set_can_default(true);
 
             ((Gtk.HeaderBar) get_header_bar()).pack_start(close_cancel_button);
             ((Gtk.HeaderBar) get_header_bar()).pack_end(service_selector_box);


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