Example #1
0
File: App.py Project: 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)
Example #2
0
File: App.py Project: blueyi/bcloud
 def on_app_shutdown(self, app):
     '''Dump profile content to disk'''
     if self.profile:
         Config.dump_profile(self.profile)