mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Impleme library downloads
This commit is contained in:
parent
a21a63e4b8
commit
bf1ffef05a
13 changed files with 1231 additions and 46 deletions
|
|
@ -61,6 +61,12 @@ template $MusicusLibraryManager: Adw.NavigationPage {
|
|||
end-icon-name: "go-next-symbolic";
|
||||
activated => $export_archive() swapped;
|
||||
}
|
||||
|
||||
Adw.ButtonRow {
|
||||
title: _("Update default library");
|
||||
end-icon-name: "go-next-symbolic";
|
||||
activated => $update_default_library() swapped;
|
||||
}
|
||||
}
|
||||
|
||||
Gtk.Label {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,16 @@ template $MusicusProcessRow: Gtk.ListBoxRow {
|
|||
xalign: 0.0;
|
||||
}
|
||||
|
||||
Gtk.Label message_label {
|
||||
wrap: true;
|
||||
xalign: 0.0;
|
||||
visible: false;
|
||||
|
||||
styles [
|
||||
"caption",
|
||||
]
|
||||
}
|
||||
|
||||
Gtk.Label success_label {
|
||||
label: _("Process finished");
|
||||
wrap: true;
|
||||
|
|
@ -31,7 +41,7 @@ template $MusicusProcessRow: Gtk.ListBoxRow {
|
|||
|
||||
styles [
|
||||
"success",
|
||||
"caption"
|
||||
"caption",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
@ -42,7 +52,7 @@ template $MusicusProcessRow: Gtk.ListBoxRow {
|
|||
|
||||
styles [
|
||||
"error",
|
||||
"caption"
|
||||
"caption",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,6 +81,8 @@ template $MusicusSearchPage: Adw.NavigationPage {
|
|||
}
|
||||
|
||||
Gtk.Stack stack {
|
||||
vhomogeneous: false;
|
||||
|
||||
Gtk.StackPage {
|
||||
name: "results";
|
||||
|
||||
|
|
@ -247,6 +249,7 @@ template $MusicusSearchPage: Adw.NavigationPage {
|
|||
icon-name: "system-search-symbolic";
|
||||
title: _("Nothing Found");
|
||||
description: _("Try a different search.");
|
||||
vexpand: true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue