Update libcosmic
This commit is contained in:
parent
97523f689d
commit
f720e63793
3 changed files with 461 additions and 328 deletions
780
Cargo.lock
generated
780
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1694,7 +1694,10 @@ impl Application for App {
|
|||
let terminal = terminal.lock().unwrap();
|
||||
let term = terminal.term.lock();
|
||||
if let Some(text) = term.selection_to_string() {
|
||||
return Command::batch([clipboard::write_primary(text), self.update_focus()]);
|
||||
return Command::batch([
|
||||
clipboard::write_primary(text),
|
||||
self.update_focus(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use cosmic::widget::menu::key_bind::KeyBind;
|
||||
use cosmic::widget::menu::menu_tree::{menu_items, menu_root, MenuItem};
|
||||
use cosmic::widget::menu::{items as menu_items, root as menu_root, Item as MenuItem};
|
||||
use cosmic::{
|
||||
iced::{
|
||||
widget::{column, horizontal_rule, horizontal_space},
|
||||
|
|
@ -11,7 +11,7 @@ use cosmic::{
|
|||
menu_button, theme,
|
||||
widget::{
|
||||
self,
|
||||
menu::{ItemHeight, ItemWidth, MenuBar, MenuTree},
|
||||
menu::{ItemHeight, ItemWidth, MenuBar, Tree as MenuTree},
|
||||
segmented_button,
|
||||
},
|
||||
Element,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue