more cleanup and fix save/restore dock items
This commit is contained in:
parent
fb6bbb79a7
commit
be9ee81967
5 changed files with 85 additions and 138 deletions
|
|
@ -2,8 +2,6 @@ use gtk::glib;
|
|||
use gtk::prelude::*;
|
||||
use gtk::subclass::prelude::*;
|
||||
use gtk4 as gtk;
|
||||
use gtk4::DragSource;
|
||||
use once_cell::sync::OnceCell;
|
||||
|
||||
use gtk::CompositeTemplate;
|
||||
|
||||
|
|
@ -14,7 +12,6 @@ pub struct DockItem {
|
|||
pub image: TemplateChild<gtk::Image>,
|
||||
#[template_child]
|
||||
pub dots: TemplateChild<gtk::Label>,
|
||||
pub drag_controller: OnceCell<DragSource>,
|
||||
}
|
||||
|
||||
#[glib::object_subclass]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue