From 191d3f74c411ebe2d925ade4f5825aaaa22ffbf9 Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Sun, 15 May 2022 20:45:03 +1200 Subject: [PATCH] code fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a42527f..6062cf8 100644 --- a/README.md +++ b/README.md @@ -495,7 +495,7 @@ class MyApp(Adw.Application): self.win.present() def on_open(self, app, files, n_files, hint): - self.on_activate() # Adding this because window may not have been created yet with this entry point + self.on_activate(app) # Adding this because window may not have been created yet with this entry point for file in n_files: print("File to open: " + file.get_path()) # How you handle it from here is up to you, I guess