Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/frame/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/frame/__init__.py')
-rw-r--r--src/jarabe/frame/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/jarabe/frame/__init__.py b/src/jarabe/frame/__init__.py
index a9dd95a..d7aec3d 100644
--- a/src/jarabe/frame/__init__.py
+++ b/src/jarabe/frame/__init__.py
@@ -14,3 +14,12 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+from jarabe.frame.frame import Frame
+
+_view = None
+
+def get_view():
+ global _view
+ if not _view:
+ _view = Frame()
+ return _view