Start the journal activity by default
This commit is contained in:
parent
dce69ef995
commit
db6f615198
@ -74,6 +74,8 @@ class Shell(gobject.GObject):
|
||||
self._frame = Frame(self)
|
||||
self._frame.show_and_hide(3)
|
||||
|
||||
self.start_activity('org.laptop.JournalActivity')
|
||||
|
||||
def _handle_camera_key(self):
|
||||
if self._current_host:
|
||||
if self._current_host.execute('camera', []):
|
||||
|
@ -123,11 +123,11 @@ class Activity(gtk.Window):
|
||||
self._activity_id = sugar.util.unique_id()
|
||||
|
||||
ds = datastore.get_instance()
|
||||
self._journal_object = ds.create('', {}, self._activity_id)
|
||||
|
||||
date = datetime.datetime.now()
|
||||
self._journal_jobject.set_properties({'date' : date,
|
||||
'title' : self.get_title()})
|
||||
#self._journal_object = ds.create('', {}, self._activity_id)
|
||||
#
|
||||
#date = datetime.datetime.now()
|
||||
#self._journal_jobject.set_properties({'date' : date,
|
||||
# 'title' : self.get_title()})
|
||||
|
||||
self.present()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user