fix(panel): config file name typo
This commit is contained in:
parent
c6c6d52df2
commit
21fddb4694
3 changed files with 3 additions and 3 deletions
|
|
@ -189,7 +189,7 @@ impl Application for SettingsApp {
|
|||
window_break,
|
||||
keyboard_nav::subscription().map(Message::KeyboardNav),
|
||||
desktop_files(0).map(|_| Message::DesktopInfo),
|
||||
config_subscription(0, "com.system76.CosmicPanel.panel".into(), 1).map(
|
||||
config_subscription(0, "com.system76.CosmicPanel.Panel".into(), 1).map(
|
||||
|(_, e)| match e {
|
||||
Ok(config) => Message::PanelConfig(config),
|
||||
Err((errors, config)) => {
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ pub struct Page {
|
|||
|
||||
impl Default for Page {
|
||||
fn default() -> Self {
|
||||
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.panel", 1).ok();
|
||||
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.Panel", 1).ok();
|
||||
let current_config = config_helper.as_ref().and_then(|config_helper| {
|
||||
// TODO error handling...
|
||||
let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub struct Page {
|
|||
impl Default for Page {
|
||||
fn default() -> Self {
|
||||
// TODO CosmicPanelConfig should return its own version
|
||||
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.panel", 1).ok();
|
||||
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.Panel", 1).ok();
|
||||
let panel_config = config_helper.as_ref().and_then(|config_helper| {
|
||||
// TODO error handling...
|
||||
let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue