feat: add apply_theme_global to CosmicTk
This commit is contained in:
parent
e18e304e0f
commit
db63aefe6f
1 changed files with 5 additions and 1 deletions
|
|
@ -18,8 +18,11 @@ pub struct CosmicTk {
|
|||
/// Show maximize button in window header.
|
||||
pub show_maximize: bool,
|
||||
|
||||
/// Preferred icon theme
|
||||
/// Preferred icon theme.
|
||||
pub icon_theme: String,
|
||||
|
||||
/// Apply the theme to other toolkits.
|
||||
pub apply_theme_global: bool,
|
||||
}
|
||||
|
||||
impl Default for CosmicTk {
|
||||
|
|
@ -28,6 +31,7 @@ impl Default for CosmicTk {
|
|||
show_minimize: true,
|
||||
show_maximize: true,
|
||||
icon_theme: String::from("Cosmic"),
|
||||
apply_theme_global: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue