Always checkin to the DS from a new file.

This commit is contained in:
Tomeu Vizoso 2007-11-09 15:43:54 +01:00
parent 56685f30ec
commit 670722bc49
2 changed files with 7 additions and 8 deletions

2
NEWS
View File

@ -1,3 +1,5 @@
* Always checkin to the DS from a new file. (tomeu)
Snapshot c682a5e241 Snapshot c682a5e241
- #4570: Fix alt-tab and ctrl-alt-tab behavior - #4570: Fix alt-tab and ctrl-alt-tab behavior

View File

@ -686,9 +686,6 @@ class Activity(Window, gtk.Container):
self.metadata['preview'] = dbus.ByteArray(preview) self.metadata['preview'] = dbus.ByteArray(preview)
try: try:
if self._jobject.file_path:
self.write_file(self._jobject.file_path)
else:
file_path = os.path.join(self.get_activity_root(), 'instance', file_path = os.path.join(self.get_activity_root(), 'instance',
'%i' % time.time()) '%i' % time.time())
self.write_file(file_path) self.write_file(file_path)