#!/usr/bin/python
# -*- Mode: Python -*-
# vi:si:et:sw=4:sts=4:ts=4
#
# Istanbul - a desktop session recorder
# Copyright (C) 2005 Zaheer Abbas Merali. All rights reserved.
# Portions Copyright (C) 2004,2005 Fluendo (www.fluendo.com)

# This file may be distributed and/or modified under the terms of
# the GNU General Public License version 2 as published by
# the Free Software Foundation.
# This file is distributed without any warranty; without even the implied
# warranty of merchantability or fitness for a particular purpose.
# See "LICENSE.GPL" in the source distribution for more information.

# Headers in this file shall remain intact.

import os
import sys

if not '/usr/lib/python2.5/site-packages' in sys.path:
    sys.path.insert(0, '/usr/lib/python2.5/site-packages')

import pygtk
pygtk.require('2.0')

if not '/usr/lib/python2.5/site-packages' in sys.path:
    sys.path.insert(0, '/usr/lib/python2.5/site-packages')

from istanbul.main import main
from istanbul.configure import config

cur_gst_plugin_dir = ''
if os.environ.has_key('GST_PLUGIN_PATH'):
    cur_gst_plugin_dir = os.environ['GST_PLUGIN_PATH'] + ':'
os.environ['GST_PLUGIN_PATH'] = cur_gst_plugin_dir + os.path.join('/usr/lib',
    'gstreamer-0.10')

if __name__ == '__main__':
    sys.exit(main.main(sys.argv))

