diff --git a/src/controller/mastodon/handler.py b/src/controller/mastodon/handler.py index 5fbcf3f4..9f163fc0 100644 --- a/src/controller/mastodon/handler.py +++ b/src/controller/mastodon/handler.py @@ -22,6 +22,8 @@ class Handler(object): pub.sendMessage("createBuffer", buffer_type="BaseBuffer", session_type=session.type, buffer_title=_("Local"), parent_tab=root_position, start=False, kwargs=dict(parent=controller.view.nb, function="timeline_local", name="local_timeline", sessionObject=session, account=session.db["user_name"], sound="tweet_received.ogg")) elif i == 'federated': pub.sendMessage("createBuffer", buffer_type="BaseBuffer", session_type=session.type, buffer_title=_("Federated"), parent_tab=root_position, start=False, kwargs=dict(parent=controller.view.nb, function="timeline_public", name="federated_timeline", sessionObject=session, account=session.db["user_name"], sound="tweet_received.ogg")) + elif i == 'sent': + pub.sendMessage("createBuffer", buffer_type="BaseBuffer", session_type=session.type, buffer_title=_("Sent"), parent_tab=root_position, start=False, kwargs=dict(parent=controller.view.nb, function="account_statuses", name="sent", sessionObject=session, account=session.db["user_name"], sound="tweet_received.ogg", id=session.db["user_id"])) # elif i == 'mentions': # pub.sendMessage("createBuffer", buffer_type="BaseBuffer", session_type=session.type, buffer_title=_("Mentions"), parent_tab=root_position, start=False, kwargs=dict(parent=controller.view.nb, function="mentions_timeline", name="mentions", sessionObject=session, account=session.db["user_name"], sound="mention_received.ogg", include_ext_alt_text=True, tweet_mode="extended")) # elif i == 'dm': diff --git a/src/mastodon.defaults b/src/mastodon.defaults index 17d6638b..3a10fcb7 100644 --- a/src/mastodon.defaults +++ b/src/mastodon.defaults @@ -11,7 +11,7 @@ reverse_timelines = boolean(default=False) persist_size = integer(default=0) load_cache_in_memory=boolean(default=True) show_screen_names = boolean(default=False) -buffer_order = list(default=list('home', 'local', 'federated', 'mentions', 'dm', 'sent_dm', 'sent_tweets','favorites','followers','friends','blocks','muted')) +buffer_order = list(default=list('home', 'local', 'federated', 'mentions', 'dm', 'sent_dm', 'sent','favorites','followers','friends','blocks','muted')) boost_mode = string(default="ask") [sound]