gui: Change default page
Start on the collection page. I eventually want to display the first enable playqueue, though. Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
This commit is contained in:
parent
1b8c55b0fc
commit
cde7e5d96c
|
@ -282,6 +282,7 @@ void init_tabs()
|
||||||
get_callbacks()->on_queue_track_del = on_track_deleted;
|
get_callbacks()->on_queue_track_del = on_track_deleted;
|
||||||
|
|
||||||
notebook->signal_switch_page().connect(sigc::ptr_fun(on_switch_page));
|
notebook->signal_switch_page().connect(sigc::ptr_fun(on_switch_page));
|
||||||
|
notebook->set_current_page(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_tabs2()
|
void init_tabs2()
|
||||||
|
|
|
@ -259,6 +259,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
Gtk::Window *window = ocarina_init(&argc, &argv);
|
Gtk::Window *window = ocarina_init(&argc, &argv);
|
||||||
|
|
||||||
|
change_page(2);
|
||||||
schedule_test(test_0);
|
schedule_test(test_0);
|
||||||
|
|
||||||
Gtk::Main::run(*window);
|
Gtk::Main::run(*window);
|
||||||
|
|
Loading…
Reference in New Issue