Fully remove coverflow

This commit is contained in:
Mathieu Comandon 2012-04-29 18:14:19 +02:00
parent bc1c0daf54
commit 968304b986
2 changed files with 11 additions and 9 deletions

View file

@ -29,8 +29,6 @@ import gtk
import os
import gobject
import lutris.coverflow.coverflow
from lutris.gui.widgets import GameTreeView, GameCover
from lutris.game import LutrisGame, get_list
from lutris.config import LutrisConfig

View file

@ -16,18 +16,22 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# where your project will head for your data (for instance, images and ui files)
# by default, this is ../data, relative your trunk layout
# where your project will head for your data (for instance, images and ui
# files) by default, this is ../data, relative your trunk layout
"""
Most likely generated by Quickly
"""
import os
#__lutris_data_directory__ = '/usr/local/share/lutris/'
__lutris_data_directory__ = '/usr/share/lutris/'
__license__ = 'GPL-3'
import os
class project_path_not_found(Exception):
class ProjectPathNotFound(Exception):
"""Dummy exception for missing project path"""
print "can't find path "
def get_data_file(*path_segments):
"""Get the full path to a data file.
@ -37,6 +41,7 @@ def get_data_file(*path_segments):
"""
return os.path.join(getdatapath(), *path_segments)
def getdatapath():
"""Retrieve lutris data path
@ -55,5 +60,4 @@ def getdatapath():
if os.path.exists(abs_data_path):
return abs_data_path
else:
raise project_path_not_found
raise ProjectPathNotFound