EpisodesView: Remove unused label.

This commit is contained in:
Jordan Petridis 2017-12-20 22:08:07 +02:00
parent 336846f6dd
commit 994ea5af22
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 6 additions and 24 deletions

View File

@ -50,7 +50,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkLabel" id="today_label"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
@ -102,7 +102,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkLabel" id="yday_label"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
@ -154,7 +154,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkLabel" id="week_label"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
@ -206,7 +206,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkLabel" id="month_label"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
@ -258,7 +258,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkLabel" id="year_label"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
@ -310,7 +310,7 @@
<property name="no_show_all">True</property> <property name="no_show_all">True</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkLabel" id="rest_label"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>

View File

@ -36,12 +36,6 @@ pub struct EpisodesView {
month_list: gtk::ListBox, month_list: gtk::ListBox,
year_list: gtk::ListBox, year_list: gtk::ListBox,
rest_list: gtk::ListBox, rest_list: gtk::ListBox,
today_label: gtk::Label,
yday_label: gtk::Label,
week_label: gtk::Label,
month_label: gtk::Label,
year_label: gtk::Label,
rest_label: gtk::Label,
} }
impl Default for EpisodesView { impl Default for EpisodesView {
@ -61,12 +55,6 @@ impl Default for EpisodesView {
let month_list: gtk::ListBox = builder.get_object("month_list").unwrap(); let month_list: gtk::ListBox = builder.get_object("month_list").unwrap();
let year_list: gtk::ListBox = builder.get_object("year_list").unwrap(); let year_list: gtk::ListBox = builder.get_object("year_list").unwrap();
let rest_list: gtk::ListBox = builder.get_object("rest_list").unwrap(); let rest_list: gtk::ListBox = builder.get_object("rest_list").unwrap();
let today_label: gtk::Label = builder.get_object("today_label").unwrap();
let yday_label: gtk::Label = builder.get_object("yday_label").unwrap();
let week_label: gtk::Label = builder.get_object("week_label").unwrap();
let month_label: gtk::Label = builder.get_object("month_label").unwrap();
let year_label: gtk::Label = builder.get_object("year_label").unwrap();
let rest_label: gtk::Label = builder.get_object("rest_label").unwrap();
EpisodesView { EpisodesView {
container, container,
@ -83,12 +71,6 @@ impl Default for EpisodesView {
month_list, month_list,
year_list, year_list,
rest_list, rest_list,
today_label,
yday_label,
week_label,
month_label,
year_label,
rest_label,
} }
} }
} }