mcg/mcgGtk.py
2013-10-16 15:30:28 +02:00

38 lines
727 B
Python
Executable file

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""MPDCoverGrid (GTK version) is a client for the Music Player Daemon, focused on albums instead of single tracks."""
__author__ = "coderkun"
__email__ = "<olli@coderkun.de>"
__license__ = "GPL"
__version__ = "0.4"
__status__ = "Development"
import os
import sys
from gi.repository import Gtk, Gdk, GObject
from gui import gtk
# Set environment
srcdir = os.path.abspath(os.path.join(os.path.dirname(gtk.__file__), '..'))
if not os.environ.get('GSETTINGS_SCHEMA_DIR'):
os.environ['GSETTINGS_SCHEMA_DIR'] = os.path.join(srcdir, 'data')
if __name__ == "__main__":
# Start application
app = gtk.Application()
exit_status = app.run(sys.argv)
sys.exit(exit_status)