move some things around
This commit is contained in:
parent
2f322774c9
commit
48a5beb8b6
3 changed files with 4 additions and 7 deletions
|
@ -35,12 +35,12 @@ template $AudreyUiWindow: Adw.ApplicationWindow {
|
|||
vexpand: true;
|
||||
|
||||
Adw.ViewStackPage {
|
||||
icon-name: "media-optical-cd";
|
||||
title: _("Albums");
|
||||
icon-name: "folder-music-symbolic";
|
||||
title: _("Browse");
|
||||
|
||||
child: Adw.NavigationView {
|
||||
Adw.NavigationPage {
|
||||
title: _("Albums");
|
||||
title: _("Browse");
|
||||
vexpand: true;
|
||||
|
||||
child: Adw.ToolbarView {
|
||||
|
|
|
@ -41,9 +41,6 @@ fn main() -> glib::ExitCode {
|
|||
|
||||
init_tracing();
|
||||
|
||||
ui::Playbar::ensure_type();
|
||||
ui::PlayQueue::ensure_type();
|
||||
|
||||
gtk::disable_setlocale();
|
||||
bindtextdomain("audrey", meson_config::LOCALEDIR).expect("failed to bind text domain");
|
||||
bind_textdomain_codeset("audrey", "UTF-8").expect("failed to bind textdomaincodeset");
|
||||
|
|
|
@ -176,7 +176,7 @@ mod imp {
|
|||
None => glib::ControlFlow::Break,
|
||||
Some(window) => {
|
||||
match window.imp().state.get() {
|
||||
State::Idle | State::FileLoading | State::Seeking => {},
|
||||
State::Idle | State::FileLoading | State::Seeking => {}
|
||||
State::Active => window.notify("time-pos"),
|
||||
other => unreachable!("{other:?}"),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue