mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-25 20:37:24 +02:00
Refresh welcome page
This commit is contained in:
parent
e2c6e85097
commit
538e559f8f
4 changed files with 5 additions and 9 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="@PATH_ID@">
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/music-note-symbolic.svg</file>
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/playlist-symbolic.svg</file>
|
||||
<file compressed="true">style.css</file>
|
||||
</gresource>
|
||||
|
|
|
|||
2
data/res/icons/scalable/actions/music-note-symbolic.svg
Normal file
2
data/res/icons/scalable/actions/music-note-symbolic.svg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 5 4 v 4.34375 c -0.453125 -0.210938 -0.96875 -0.34375 -1.5 -0.34375 c -1.921875 0 -3.5 1.578125 -3.5 3.5 s 1.578125 3.5 3.5 3.5 c 1.910156 0 3.480469 -1.5625 3.5 -3.46875 c 0 -0.011719 0 -0.019531 0 -0.03125 v -6.933594 c 0 -0.3125 0.253906 -0.566406 0.566406 -0.566406 h 4.867188 c 0.3125 0 0.566406 0.253906 0.566406 0.566406 v 3.777344 c -0.453125 -0.210938 -0.96875 -0.34375 -1.5 -0.34375 c -1.921875 0 -3.5 1.578125 -3.5 3.5 s 1.578125 3.5 3.5 3.5 c 1.898438 0 3.464844 -1.546875 3.5 -3.4375 c 0 -0.023438 0 -0.039062 0 -0.0625 v -7.5 c 0 -1.65625 -1.34375 -3 -3 -3 h -4 c -1.65625 0 -3 1.34375 -3 3 z m 0 0" fill="#222222"/></svg>
|
||||
|
After Width: | Height: | Size: 774 B |
|
|
@ -16,9 +16,9 @@ template $MusicusWelcomePage : Adw.NavigationPage {
|
|||
}
|
||||
|
||||
Adw.StatusPage status_page {
|
||||
icon-name: "de.johrpan.Musicus";
|
||||
icon-name: "music-note-symbolic";
|
||||
title: _("Welcome to Musicus");
|
||||
description: _("Get started by choosing where to store your music library. Is this your first time using Musicus? If so, create a new empty folder for your library. Musicus will use this location to manage your recordings. You can also select a folder that already contains a music library created by Musicus.");
|
||||
description: _("Get started by choosing where you want to store your music library. Are you using Musicus for the first time? If so, create a new empty folder for your library. If you wish, Musicus will automatically download some music for you.");
|
||||
child: Gtk.Button {
|
||||
styles ["suggested-action", "pill"]
|
||||
halign: center;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ use gettextrs::gettext;
|
|||
use gtk::{gio, glib, glib::subclass::Signal, prelude::*};
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
use crate::config;
|
||||
|
||||
mod imp {
|
||||
use super::*;
|
||||
|
||||
|
|
@ -41,11 +39,6 @@ mod imp {
|
|||
|
||||
SIGNALS.as_ref()
|
||||
}
|
||||
|
||||
fn constructed(&self) {
|
||||
self.parent_constructed();
|
||||
self.status_page.set_icon_name(Some(config::APP_ID));
|
||||
}
|
||||
}
|
||||
|
||||
impl WidgetImpl for WelcomePage {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue