Mercurial > audlegacy
changeset 1288:8de636dfee7a trunk
[svn] - improvements to the tuple popup
author | nenolod |
---|---|
date | Sun, 18 Jun 2006 01:18:36 -0700 |
parents | e778f43a74fb |
children | 4d3a98c0495d |
files | ChangeLog audacious/glade/fileinfo_popup.glade audacious/ui_fileinfo.c |
diffstat | 3 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Jun 18 01:11:55 2006 -0700 +++ b/ChangeLog Sun Jun 18 01:18:36 2006 -0700 @@ -1,3 +1,13 @@ +2006-06-18 08:11:55 +0000 William Pitcock <nenolod@nenolod.net> + revision [1486] + - make tuples more verbose (they might be a bit big though) + + + Changes: Modified: + +410 -147 trunk/audacious/glade/fileinfo_popup.glade + +9 -6 trunk/audacious/ui_fileinfo.c + + 2006-06-18 07:55:01 +0000 William Pitcock <nenolod@nenolod.net> revision [1484] - proper X11 way of fixing this
--- a/audacious/glade/fileinfo_popup.glade Sun Jun 18 01:11:55 2006 -0700 +++ b/audacious/glade/fileinfo_popup.glade Sun Jun 18 01:18:36 2006 -0700 @@ -343,7 +343,7 @@ <child> <widget class="GtkLabel" id="label8"> <property name="visible">True</property> - <property name="label" translatable="yes"><i>Location</i></property> + <property name="label" translatable="yes"><i>Track Length</i></property> <property name="use_underline">False</property> <property name="use_markup">True</property> <property name="justify">GTK_JUSTIFY_LEFT</property> @@ -425,7 +425,7 @@ </child> <child> - <widget class="GtkLabel" id="label_location"> + <widget class="GtkLabel" id="label_length"> <property name="visible">True</property> <property name="label" translatable="yes"></property> <property name="use_underline">False</property>
--- a/audacious/ui_fileinfo.c Sun Jun 18 01:11:55 2006 -0700 +++ b/audacious/ui_fileinfo.c Sun Jun 18 01:18:36 2006 -0700 @@ -268,7 +268,7 @@ filepopup_entry_set_text("label_artist", tuple->performer); filepopup_entry_set_text("label_album", tuple->album_name); filepopup_entry_set_text("label_genre", tuple->genre); - filepopup_entry_set_text_free("label_location", g_strdup_printf("%s/%s", tuple->file_path, tuple->file_name)); + filepopup_entry_set_text_free("label_length", g_strdup_printf("%d:%02d", tuple->length / 60000, (tuple->length / 1000) % 60)); if (tuple->year != 0) filepopup_entry_set_text_free("label_year", g_strdup_printf("%d", tuple->year));