/[gplan]/gplan.in
ViewVC logotype

Diff of /gplan.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7 by ben, Wed Oct 7 15:49:29 2009 UTC revision 8 by ben, Wed Oct 7 18:24:27 2009 UTC
# Line 92  class Application: Line 92  class Application:
92                  self.calendar.connect("month-changed", self.mark_days)                  self.calendar.connect("month-changed", self.mark_days)
93                  self.window.show_all()                  self.window.show_all()
94                  self.work = os.getenv("HOME") + "/.gplan/"                  self.work = os.getenv("HOME") + "/.gplan/"
95                    if not os.access(self.work, os.F_OK):
96                            os.mkdir(self.work)
97                  self.mark_days(self.calendar)                  self.mark_days(self.calendar)
98                  self.get_plan_for(self.calendar)                  self.get_plan_for(self.calendar)
99    
100  if __name__ == "__main__":  if __name__ == "__main__":
         if not os.access(app.work, os.F_OK):  
                 os.mkdir(app.work)  
101          app = Application()          app = Application()
102          gtk.main()          gtk.main()
103    

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26