editing: Only enable editing action if available
This commit is contained in:
parent
dfe71a61fc
commit
bbf9534bdd
7 changed files with 52 additions and 12 deletions
|
|
@ -160,6 +160,9 @@ mod imp {
|
|||
pub(super) fixed_background_color: RefCell<Option<gdk::RGBA>>,
|
||||
/// Animations disabled
|
||||
pub(super) still: Cell<bool>,
|
||||
/// Editor can be used on image
|
||||
#[property(get)]
|
||||
pub(super) editable: Cell<bool>,
|
||||
|
||||
/// Track changes to this image
|
||||
pub(super) file_monitor: RefCell<Option<gio::FileMonitor>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue