window: Implement drag and drop
The main page is no longer a lie.
This commit is contained in:
parent
5d9567507c
commit
be70bdafe5
5 changed files with 67 additions and 11 deletions
|
|
@ -81,7 +81,7 @@ mod imp {
|
|||
fn open(&self, application: &Self::Type, files: &[gio::File], _hint: &str) {
|
||||
for file in files {
|
||||
let win = LpWindow::new(application);
|
||||
win.set_image_from_file(file);
|
||||
win.set_image_from_file(file, true);
|
||||
win.show();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue