root/trunk/xliffeditor.py

Revision 101 (by fredrikc, 08/16/05 13:05:13)

Updated UI when file closed.
Changed version info to 0.4 beta 4.

#!/usr/bin/env python
#  Transolution Trans XLIFF Editor
#  Copyright (C) 2005 Fredrik Corneliusson <fredrik.corneliusson at gmail dot com>
#
#  URL: http://transolution.python-hosting.com/
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#

GC_DEBUG = 0
import transolution.xliffeditor.gtk_main as gtk_main

if GC_DEBUG:
    import sys
    sys.stderr = sys.stdout
    import gc
    gc.enable()
    gc.set_debug(gc.DEBUG_LEAK)
    gtk_main.main()
    print gc.garbage
else:
    gtk_main.main()
Note: See TracBrowser for help on using the browser.