summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-26 01:27:21 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-26 01:27:21 +0100
commit2144655a5e03cf86cb9774c7bdb04021805107d8 (patch)
tree267a908346f5be3a4ca2e6d932b81e86c7427938
parent8e0e6ab4c682fd18e59a46f720ceb566093b1e11 (diff)
downloadportato-2144655a5e03cf86cb9774c7bdb04021805107d8.tar.gz
portato-2144655a5e03cf86cb9774c7bdb04021805107d8.tar.bz2
portato-2144655a5e03cf86cb9774c7bdb04021805107d8.zip
Fixed after_startup hook
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index d459bb4..6820f61 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -779,7 +779,9 @@ class MainWindow (Window):
splash(_("Finishing startup"))
self.window.show_all()
- plugin.hook("after_startup")(lambda x:pass)()
+
+ after = lambda: pass # dummy function doing nothing
+ plugin.hook("after_startup")(after)()
def show_package (self, *args, **kwargs):
self.packageTable.update(*args, **kwargs)
insertions'>+7 2010-05-20More declarative handling of the database typesRené 'Necoro' Neumann3-46/+59 2010-05-12Updated French translation to current code statusClement Bourgeois1-52/+56 2010-05-12Unused French translations purgedClement Bourgeois1-18/+0 2010-05-11Fix release script pathesv0.14René 'Necoro' Neumann1-1/+2 2010-05-11Add '--plugin-dir' optionRené 'Necoro' Neumann1-1/+9 2010-05-11Add a README message to the releaseRené 'Necoro' Neumann1-1/+14