[easytag/wip/disc-number: 7/13] Added scanner mask for total number of discs "%x"
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/disc-number: 7/13] Added scanner mask for total number of discs "%x"
- Date: Fri, 19 Jul 2013 23:12:47 +0000 (UTC)
commit 85b4f0532c543b41abfffa95db88316986d3cef4
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]