aboutsummaryrefslogtreecommitdiffstats
path: root/python/example.py
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-20 19:59:15 +0800
committerJonny Lamb <jonnylamb@gnome.org>2009-10-20 20:10:28 +0800
commit6496713f0997ab90e7ee686819640b22b4911aea (patch)
treec18874181bb0cf1a8abaafa0a946273df5b684b1 /python/example.py
parent90469882929d06151352d3d8e8b0e6a1f5229905 (diff)
downloadgsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.gz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.bz2
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.lz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.xz
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.tar.zst
gsoc2013-empathy-6496713f0997ab90e7ee686819640b22b4911aea.zip
Remove python bindings. (Closes bug #599039)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'python/example.py')
-rwxr-xr-xpython/example.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/python/example.py b/python/example.py
deleted file mode 100755
index 38a04978e..000000000
--- a/python/example.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python
-
-import gtk
-import empathy
-import empathygtk
-
-class HelloWorld:
-
- def destroy(self, widget, data=None):
- print "destroy signal occurred"
- gtk.main_quit()
-
- def __init__(self):
- self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
- self.window.connect("destroy", self.destroy)
-
- manager = empathy.ContactManager()
- store = empathygtk.ContactListStore(manager)
- features = empathygtk.ContactListFeatureFlags(empathygtk.CONTACT_LIST_FEATURE_NONE)
- view = empathygtk.ContactListView(store, 0, features)
-
- self.window.add (view)
- view.show()
- self.window.show()
-
- def main(self):
- gtk.main()
-
-if __name__ == "__main__":
- hello = HelloWorld()
- hello.main()
-