Merge lp:~syleam/openobject-client/5.0-automatic-name-backup into lp:openobject-client/5.0

Proposed by Christophe CHAUVET
Status: Merged
Merge reported by: Jay Vora (Serpent Consulting Services)
Merged at revision: not available
Proposed branch: lp:~syleam/openobject-client/5.0-automatic-name-backup
Merge into: lp:openobject-client/5.0
Diff against target: None lines
To merge this branch: bzr merge lp:~syleam/openobject-client/5.0-automatic-name-backup
Reviewer Review Type Date Requested Status
Jay Vora (Serpent Consulting Services) (community) Approve
Review via email: mp+9530@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Code Applied in trunk.
Thank you.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/modules/gui/main.py'
2--- bin/modules/gui/main.py 2009-06-26 06:16:39 +0000
3+++ bin/modules/gui/main.py 2009-07-31 20:35:28 +0000
4@@ -1410,7 +1410,10 @@
5 if not db_name:
6 return
7 filename = common.file_selection(_('Save As...'),
8- action=gtk.FILE_CHOOSER_ACTION_SAVE, parent=self.window, preview=False)
9+ action=gtk.FILE_CHOOSER_ACTION_SAVE,
10+ parent=self.window,
11+ preview=False,
12+ filename='%s_%s.backup' % (db_name, time.strftime('%Y%m%d_%H%M'),))
13
14 if filename:
15 try: