summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-26 13:26:52 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-26 13:26:52 +0100
commitd8bf0f12b39f052055da0108e5f87fb82f1b2eb3 (patch)
tree42b44e70e22d3fac1b47d72d4feda768cd4b7453 /portato/gui
parentaab53d3b4456ac4190c6b8482998f86b5ddef9bb (diff)
downloadportato-d8bf0f12b39f052055da0108e5f87fb82f1b2eb3.tar.gz
portato-d8bf0f12b39f052055da0108e5f87fb82f1b2eb3.tar.bz2
portato-d8bf0f12b39f052055da0108e5f87fb82f1b2eb3.zip
Cleaned up hooks
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/windows/main.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 7cc07c4..1e28a3c 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -779,8 +779,6 @@ class MainWindow (Window):
splash(_("Finishing startup"))
self.window.show_all()
-
- plugin.hook("after_startup")(lambda: True)()
def show_package (self, *args, **kwargs):
self.packageTable.update(*args, **kwargs)
@@ -1662,7 +1660,7 @@ class MainWindow (Window):
"""
Main.
"""
- plugin.hook("thread_init")(gobject.threads_init)()
+ gobject.threads_init()
# now subthreads can run normally, but are not allowed to touch the GUI. If threads should change sth there - use gobject.idle_add().
# for more informations on threading and gtk: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.006.htp
- gtk.main()
+ plugin.hook("main")(gtk.main)()
564292René 'Necoro' Neumann2-16/+25 2010-04-15Better sorting of the database types in the preferences.René 'Necoro' Neumann2-6/+6 2010-04-15Add notify-python dependency for the version checkerRené 'Necoro' Neumann1-1/+1 2010-04-15Make the database type choice an info messageRené 'Necoro' Neumann2-7/+13 2010-04-15Renamed es_ES to esRené 'Necoro' Neumann1-0/+0 2010-04-15Fixed dependancy of the new_version plugin from "dev-util/git" to "dev-vcs/gi...Clement Bourgeois1-1/+1 2010-04-14Make some useless info messages being debug statementsRené 'Necoro' Neumann2-34/+17 2010-04-14Improve the C modulesRené 'Necoro' Neumann3-37/+52 2010-04-14Small modifications made to the French translation (typos, grammar).Clement Bourgeois1-69/+69 2010-04-14Fixed the unicode support and stuff ... and also made eix faster :)René 'Necoro' Neumann1-20/+22 2010-04-14Disable debug messages by defaultRené 'Necoro' Neumann1-1/+1 2010-04-13Better eix error inheritance and handlingRené 'Necoro' Neumann1-2/+9 2010-04-13Fix the handling of FilterSets. Fixes bug #558887.René 'Necoro' Neumann2-56/+64 2010-04-12Updated newsRené 'Necoro' Neumann1-0/+1 2010-04-13Added my name to translators list.Clement Bourgeois1-0/+1