diff options
Diffstat (limited to 'gnome-2-26/python/example.py')
-rwxr-xr-x | gnome-2-26/python/example.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gnome-2-26/python/example.py b/gnome-2-26/python/example.py deleted file mode 100755 index cffd5fffb..000000000 --- a/gnome-2-26/python/example.py +++ /dev/null @@ -1,31 +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) - view = empathygtk.ContactListView(store, 0) - - self.window.add (view) - view.show() - self.window.show() - - def main(self): - gtk.main() - -if __name__ == "__main__": - hello = HelloWorld() - hello.main() - |