~ubuntu-branches/ubuntu/quantal/openerp6.1/quantal

« back to all changes in this revision

Viewing changes to openerp/pychart/x11canvas.py

  • Committer: Package Import Robot
  • Author(s): Yolanda Robla
  • Date: 2012-09-20 15:29:00 UTC
  • Revision ID: package-import@ubuntu.com-20120920152900-woyy3yww8z6acmsk
Tags: upstream-6.1-1+dfsg
ImportĀ upstreamĀ versionĀ 6.1-1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
#
 
3
# Copyright (C) 2000-2005 by Yasushi Saito (yasushi.saito@gmail.com)
 
4
 
5
# Jockey is free software; you can redistribute it and/or modify it
 
6
# under the terms of the GNU General Public License as published by the
 
7
# Free Software Foundation; either version 2, or (at your option) any
 
8
# later version.
 
9
#
 
10
# Jockey is distributed in the hope that it will be useful, but WITHOUT
 
11
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
12
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
13
# for more details.
 
14
#
 
15
import os
 
16
import gs_frontend
 
17
import theme
 
18
import sys
 
19
 
 
20
class T(gs_frontend.T):
 
21
    def close(self):
 
22
        gs_frontend.T.close(self)
 
23
        self.start_gs("-sDEVICE=x11")
 
24
        sys.stdin.readline()
 
25
        self.close_gs()
 
26