add (vbox);
+ vbox.show_all ();
+ route_column.set_visible (!BeifahrerProgram.orientation.portrait);
+
tree.row_activated.connect (this.on_row_activated);
BeifahrerProgram.orientation.changed.connect (this.on_orientation_changed);
}
}
private void on_orientation_changed () {
- if (BeifahrerProgram.orientation.portrait) {
- route_column.set_visible (false);
- } else {
- route_column.set_visible (true);
- }
+ route_column.set_visible (!BeifahrerProgram.orientation.portrait);
}
}
Hildon.gtk_window_set_progress_indicator (this, 1);
var window = new LiftListWindow (adac);
- window.show_all ();
+ window.show ();
window.find_lifts (city_from, city_to, date, tolerance);
Hildon.gtk_window_set_progress_indicator (this, 0);
}