~umang/indicator-stickynotes/trunk

« back to all changes in this revision

Viewing changes to sticky.py

  • Committer: Umang Varma
  • Date: 2012-05-27 20:12:12 UTC
  • Revision ID: git-v1:3d78c75f16e5599ff762da3d99e76542f64cecee
Initial commit. Somewhat working sticky notes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python3
 
2
 
 
3
from backend import Note, NoteSet
 
4
from gui import StickyNote
 
5
from gi.repository import Gtk, Gdk
 
6
 
 
7
def main():
 
8
    nset = NoteSet(StickyNote)
 
9
    nset.open()
 
10
    nset.showall()
 
11
    Gtk.main()
 
12
    nset.save()
 
13
 
 
14
if __name__ == "__main__":
 
15
    main()