예제 #1
0
파일: hijri.py 프로젝트: karoon/starcal2
 def run(self):
     monthDb.load()
     self.updateWidget()
     self.treev.grab_focus()
     gtk.Dialog.run(self)
예제 #2
0
파일: hijri.py 프로젝트: karoon/starcal2
 def resetToDefaults(self, widget):
     if isfile(monthDb.userDbPath):
         os.remove(monthDb.userDbPath)
     monthDb.load()
     self.updateWidget()
     return True