Commit dcb17269 authored by Vadim Rutkovsky's avatar Vadim Rutkovsky

Store title alignment in track widget in glade

parent f583b429
......@@ -29,9 +29,8 @@
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
<property name="label" translatable="yes">
</property>
<property name="yalign">0.5</property>
<property name="label" translatable="yes"></property>
<property name="ellipsize">end</property>
</object>
<packing>
......
......@@ -315,7 +315,6 @@ const ArtistAlbumWidget = new Lang.Class({
if (track.get_title() != null)
ui.get_object("title").set_text(track.get_title());
//var songWidget = ui.get_object("duration").set_text(track.get_title());
ui.get_object("title").set_alignment(0.0, 0.5);
if (this.songs.length == 1) {
this.ui.get_object("grid1").add(songWidget);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment