[easytag/wip/disc-number: 5/10] Added scanner mask for total number of discs "%x"



commit 40d0191a57e948ecce075e301ada5edc08d2cd1c
Author: Mathias Reineke <saihtam gmx net>
Date:   Mon Jul 8 10:53:06 2013 +0200

    Added scanner mask for total number of discs "%x"

 src/scan.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/scan.c b/src/scan.c
index 16be86c..039101d 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -2262,6 +2262,8 @@ static gchar
             return &FileTag->album;
         case 'd':    /* Disc Number */
             return &FileTag->disc_number;
+        case 'x': /* Total number of discs. */
+            return &FileTag->disc_total;
         case 'y':    /* Year */
             return &FileTag->year;
         case 'n':    /* Track */
@@ -2842,8 +2844,11 @@ void Open_ScannerWindow (gint scanner_type)
     Label = gtk_label_new(_("%u: URL"));
     et_grid_attach_margins (GTK_GRID (Table), Label, 2, 2, 1, 1, 6, 0);
     gtk_misc_set_alignment(GTK_MISC(Label),0,0.5);
-    Label = gtk_label_new(_("%y: year"));
+    Label = gtk_label_new (_("%x: number of discs"));
     et_grid_attach_margins (GTK_GRID (Table), Label, 2, 3, 1, 1, 6, 0);
+    gtk_misc_set_alignment (GTK_MISC (Label), 0, 0.5);
+    Label = gtk_label_new(_("%y: year"));
+    et_grid_attach_margins (GTK_GRID (Table), Label, 2, 4, 1, 1, 6, 0);
     gtk_misc_set_alignment(GTK_MISC(Label),0,0.5);
 
     /*


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