# HG changeset patch # User Goffi # Date 1599335963 -7200 # Node ID 2c3bc7284992ee2a37a89b1061c55bb80f21a85d # Parent a32f3f47e4a8636fa6765a2acf746624c7f7e57f browser (photos/album): fixed notifications diff -r a32f3f47e4a8 -r 2c3bc7284992 libervia/pages/photos/album/_browser/__init__.py --- a/libervia/pages/photos/album/_browser/__init__.py Sat Sep 05 21:59:20 2020 +0200 +++ b/libervia/pages/photos/album/_browser/__init__.py Sat Sep 05 21:59:23 2020 +0200 @@ -38,7 +38,7 @@ def on_error(failure, file_, photo_elt): - dialog.notification( + dialog.notification.show( f"can't upload {file_.name}: failure", level="error" ) @@ -63,7 +63,7 @@ def on_slot_eb(file_, failure, photo_elt): - dialog.notification( + dialog.notification.show( f"Can't get upload slot: {failure}", level="error" ) @@ -130,7 +130,7 @@ def file_delete_eb(failure, item_elt, item): - dialog.notification( + dialog.notification.show( f"error while deleting {item['name']}: failure", level="error" )