Logo Search packages:      
Sourcecode: vboxgtk version File versions  Download package

__init__.py

# VBoxGtk: A VirtualBox GTK+ GUI
# Copyright (C) 2008 Francisco J. Vazquez-Araujo, Spain
# franjva at gmail dot com

# This file is part of VBoxGtk.

# VBoxGtk 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 3 of the License, or
# (at your option) any later version.

# VBoxGtk 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 VBoxGtk.  If not, see <http://www.gnu.org/licenses/>.


"""
Initialization of the vboxgtk package.

Imports the paths from the paths.py module and gets the domain ready for 
gettext.
"""


from paths import data_path, locale_path, icons_path


# Prepare gettext

import gettext
import locale

gettext_domain = 'vboxgtk'
gettext.install(gettext_domain, locale_path, unicode = True)
locale.setlocale(locale.LC_ALL, '')
locale.bindtextdomain(gettext_domain, locale_path)
locale.textdomain(gettext_domain)


# Import main for the launch script

from vboxgtk_iface import main

Generated by  Doxygen 1.6.0   Back to index