Always checkin to the DS from a new file.
This commit is contained in:
parent
56685f30ec
commit
670722bc49
2
NEWS
2
NEWS
@ -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
|
||||||
|
@ -686,14 +686,11 @@ class Activity(Window, gtk.Container):
|
|||||||
self.metadata['preview'] = dbus.ByteArray(preview)
|
self.metadata['preview'] = dbus.ByteArray(preview)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if self._jobject.file_path:
|
file_path = os.path.join(self.get_activity_root(), 'instance',
|
||||||
self.write_file(self._jobject.file_path)
|
'%i' % time.time())
|
||||||
else:
|
self.write_file(file_path)
|
||||||
file_path = os.path.join(self.get_activity_root(), 'instance',
|
self._owns_file = True
|
||||||
'%i' % time.time())
|
self._jobject.file_path = file_path
|
||||||
self.write_file(file_path)
|
|
||||||
self._owns_file = True
|
|
||||||
self._jobject.file_path = file_path
|
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user