diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-29 20:11:28 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-29 20:11:28 (GMT) |
commit | 1d4112a8825480169517b09305271646fca69286 (patch) | |
tree | a9a7bb8eac28b352fd03afd9d0dd1b8554b1a82a /sugar/__init__.py | |
parent | a609da166bf203eca430c7c3d35bd55d2acf33bf (diff) |
Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
Diffstat (limited to 'sugar/__init__.py')
-rw-r--r-- | sugar/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sugar/__init__.py b/sugar/__init__.py index fe79b51..d534a16 100644 --- a/sugar/__init__.py +++ b/sugar/__init__.py @@ -17,7 +17,15 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. +import os + +from sugar import ltihooks + ZOOM_MESH = 0 ZOOM_FRIENDS = 1 ZOOM_HOME = 2 ZOOM_ACTIVITY = 3 + +print os.path.join(os.path.dirname(__file__), 'Makefile.am') +if os.path.isfile(os.path.join(os.path.dirname(__file__), 'Makefile.am')): + ltihooks.install() |