EpisodeWidget: Set title alignment from glade.

This commit is contained in:
Jordan Petridis 2018-02-08 05:29:47 +02:00
parent b172aa7aa3
commit 4ba82c1515
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,8 @@ Tobias Bernard
<property name="max_width_chars">64</property>
<property name="track_visited_links">False</property>
<property name="lines">1</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
</object>
<packing>
<property name="expand">False</property>

View File

@ -165,7 +165,6 @@ impl EpisodeWidget {
/// Determine the title state.
fn set_title(&self, episode: &EpisodeWidgetQuery) {
self.title.set_xalign(0.0);
self.title.set_text(episode.title());
// Grey out the title if the episode is played.