~ubuntu-branches/ubuntu/trusty/pitivi/trusty

« back to all changes in this revision

Viewing changes to bin/pitivi.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-07-07 13:43:47 UTC
  • mto: (6.1.9 sid) (1.2.12)
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: james.westby@ubuntu.com-20110707134347-cari9kxjiakzej9z
Tags: upstream-0.14.1
ImportĀ upstreamĀ versionĀ 0.14.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#
18
18
# You should have received a copy of the GNU Lesser General Public
19
19
# License along with this program; if not, write to the
20
 
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
 
# Boston, MA 02111-1307, USA.
 
20
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 
21
# Boston, MA 02110-1301, USA.
22
22
 
23
23
import os
24
24
import sys
43
43
 
44
44
def _in_devel():
45
45
    rd = _get_root_dir()
46
 
    return (os.path.exists(os.path.join(rd, '.svn')) or
47
 
            os.path.exists(os.path.join(rd, 'CVS')) or
48
 
            os.path.exists(os.path.join(rd, '.git')))
 
46
    return os.path.exists(os.path.join(rd, '.git'))
49
47
 
50
48
def _prepend_env_path(name, value):
51
49
    os.environ[name] = os.pathsep.join(value +
111
109
    gobject.threads_init()
112
110
 
113
111
    try:
114
 
        from gtk import glade
115
 
    except ImportError:
116
 
        raise SystemExit("Can't find glade module")
117
 
 
118
 
    glade.bindtextdomain('pitivi', localedir)
119
 
 
120
 
    try:
121
112
        import pygst
122
113
        pygst.require('0.10')
123
114