[easytag] Allow the scan files button to be made default



commit 89fcce5b8a374f98ad23c1f6365346428de7ce5b
Author: David King <amigadave amigadave com>
Date:   Sun Jul 7 14:36:34 2013 +0100

    Allow the scan files button to be made default

 src/scan.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/scan.c b/src/scan.c
index 1068f1b..09e1dac 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -2340,6 +2340,7 @@ void Open_ScannerWindow (gint scanner_type)
     scan_button = gtk_button_new_from_stock (GTK_STOCK_APPLY);
     /* TODO: Set related action to match AM_SCAN_FILES. */
     gtk_button_set_label (GTK_BUTTON (scan_button), _("Scan Files"));
+    gtk_widget_set_can_default (scan_button, TRUE);
     gtk_dialog_add_action_widget (GTK_DIALOG (ScannerWindow), scan_button,
                                   GTK_RESPONSE_APPLY);
     gtk_dialog_set_default_response (GTK_DIALOG (ScannerWindow),


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