Skip to content

Commit

Permalink
add "Row number" column for SongList
Browse files Browse the repository at this point in the history
  • Loading branch information
squentin committed Aug 4, 2015
1 parent 888c779 commit e262029
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gmusicbrowser_list.pm
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,11 @@ INIT
type => 'Gtk2::Gdk::Pixbuf', noncomp => 'boldrow italicrow',
depend => 'rating', sort => 'rating',
},
rownumber=>
{ menu => _("Row number"), title => '#', width => 50,
value => sub { $_[1]+1 },
type => 'Glib::String', attrib => 'text', init => { xalign => 1, },
},
);
%{$SLC_Prop{albumpicinfo}}=%{$SLC_Prop{albumpic}};
$SLC_Prop{albumpicinfo}{title}=_"Album picture & info";
Expand Down

0 comments on commit e262029

Please sign in to comment.