diff --git a/src/ctrls/c_details.py b/src/ctrls/c_details.py deleted file mode 100644 index 4eb0213..0000000 --- a/src/ctrls/c_details.py +++ /dev/null @@ -1,37 +0,0 @@ -# This Python file uses the following encoding: utf-8 -# -# Author: Roman 'gryf' Dobosz gryf@elysium.pl -# -# Copyright (C) 2007 by Roman 'gryf' Dobosz -# -# This file is part of pyGTKtalog. -# -# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -# ------------------------------------------------------------------------- - -import os.path -from utils import deviceHelper -from gtkmvc import Controller - -class DetailsController(Controller): - """Controller for details view""" - def __init__(self, model): - """Initialize controller""" - Controller.__init__(self, model) - return - - def register_view(self, view): - Controller.register_view(self, view) diff --git a/src/models/m_details.py b/src/models/m_details.py deleted file mode 100644 index baad5c3..0000000 --- a/src/models/m_details.py +++ /dev/null @@ -1,34 +0,0 @@ -# This Python file uses the following encoding: utf-8 -# -# Author: Roman 'gryf' Dobosz gryf@elysium.pl -# -# Copyright (C) 2007 by Roman 'gryf' Dobosz -# -# This file is part of pyGTKtalog. -# -# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -# ------------------------------------------------------------------------- - -from gtkmvc import Model - -class DetailsModel(Model): - def __init__(self): - Model.__init__(self) - return - - def __str__(self): - """show prefs in string way""" - return "fubar" diff --git a/src/views/v_details.py b/src/views/v_details.py deleted file mode 100644 index 4bb3104..0000000 --- a/src/views/v_details.py +++ /dev/null @@ -1,43 +0,0 @@ -# This Python file uses the following encoding: utf-8 -# -# Author: Roman 'gryf' Dobosz gryf@elysium.pl -# -# Copyright (C) 2007 by Roman 'gryf' Dobosz -# -# This file is part of pyGTKtalog. -# -# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -# ------------------------------------------------------------------------- - -from gtkmvc import View -import os.path -import utils.globals - -class DetailsView(View): - """ """ - GLADE = os.path.join(utils.globals.GLADE_DIR, "main.glade") - def __init__(self, ctrl, stand_alone=True): - top_widget = "hbox_details" - if stand_alone: - top_widget = "window_details" - - View.__init__(self, ctrl, self.GLADE, top_widget) - return - - def is_stand_alone(self): - return self["window_details"] is not None - - pass # end of class