~dmedia/dmedia/trunk

« back to all changes in this revision

Viewing changes to dummy-client

  • Committer: Jason Gerard DeRose
  • Date: 2011-03-02 16:22:56 UTC
  • mfrom: (169.2.29 sane-js)
  • Revision ID: jderose@novacut.com-20110302162256-lnqwsk65rr1bs02d
Yes, sane JavaScript testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
# Authors:
 
4
#   Jason Gerard DeRose <jderose@novacut.com>
 
5
#
 
6
# dmedia: distributed media library
 
7
# Copyright (C) 2011 Jason Gerard DeRose <jderose@novacut.com>
 
8
#
 
9
# This file is part of `dmedia`.
 
10
#
 
11
# `dmedia` is free software: you can redistribute it and/or modify it under the
 
12
# terms of the GNU Affero General Public License as published by the Free
 
13
# Software Foundation, either version 3 of the License, or (at your option) any
 
14
# later version.
 
15
#
 
16
# `dmedia` is distributed in the hope that it will be useful, but WITHOUT ANY
 
17
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 
18
# A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 
19
# details.
 
20
#
 
21
# You should have received a copy of the GNU Affero General Public License along
 
22
# with `dmedia`.  If not, see <http://www.gnu.org/licenses/>.
 
23
 
 
24
import sys
 
25
 
 
26
import gtk
 
27
from gi.repository import WebKit
 
28
 
 
29
window = gtk.Window()
 
30
window.set_title('test')
 
31
window.set_default_size(800, 450)
 
32
window.connect('destroy', gtk.main_quit)
 
33
 
 
34
view = WebKit.WebView()
 
35
window.add(view)
 
36
 
 
37
view.load_uri(sys.argv[1])
 
38
 
 
39
#window.show_all()
 
40
gtk.main()