Fixed error when choosing "Properties..." for a selected album in
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 3 Sep 2004 21:31:25 +0000 (21:31 +0000)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 3 Sep 2004 21:31:25 +0000 (21:31 +0000)
the table view (ticket #49).

src/gkofoto/gkofoto/objectcollection.py

index 3246c71..c68c9ee 100644 (file)
@@ -366,7 +366,7 @@ class ObjectCollection(object):
         selectedAlbum = selectedObjects[0]
         env.mainwindow.generateHtml(selectedAlbum)
 
-    def albumProperties(self, widget, data):
+    def albumProperties(self, *unused):
         selectedObjects = self.__objectSelection.getSelectedObjects()
         assert len(selectedObjects) == 1 and selectedObjects[0].isAlbum()
         selectedAlbumId = selectedObjects[0].getId()