예제 #1
0
파일: App.py 프로젝트: blueyi/bcloud
 def on_preferences_action_activated(self, action, params):
     dialog = PreferencesDialog(self)
     dialog.run()
     dialog.destroy()
     if self.profile:
         Config.dump_profile(self.profile)
예제 #2
0
파일: App.py 프로젝트: blueyi/bcloud
 def on_app_shutdown(self, app):
     '''Dump profile content to disk'''
     if self.profile:
         Config.dump_profile(self.profile)