diff --git a/src/controller/mainController.py b/src/controller/mainController.py index b1ffe7e0..175a2144 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -357,7 +357,7 @@ class Controller(object): for i in session.settings["other_buffers"]["followers_timelines"]: tl = buffersController.peopleBufferController(self.view.nb, "get_followers_list", "%s-followers" % (i,), session, session.db["user_name"], screen_name=i) self.buffers.append(tl) - self.view.insert_buffer(tl.buffer, name=_(u"Followers for {}").format(i,), pos=self.view.search("favs_timelines", session.db["user_name"])) + self.view.insert_buffer(tl.buffer, name=_(u"Followers for {}").format(i,), pos=self.view.search("followers_timelines", session.db["user_name"])) tl.timer = RepeatingTimer(300, tl.start_stream) tl.timer.start() friends_timelines = buffersController.emptyPanel(self.view.nb, "friends_timelines", session.db["user_name"]) @@ -366,7 +366,7 @@ class Controller(object): for i in session.settings["other_buffers"]["friends_timelines"]: tl = buffersController.peopleBufferController(self.view.nb, "get_friends_list", "%s-friends" % (i,), session, session.db["user_name"], screen_name=i) self.buffers.append(tl) - self.view.insert_buffer(tl.buffer, name=_(u"Friends for {}").format(i,), pos=self.view.search("favs_timelines", session.db["user_name"])) + self.view.insert_buffer(tl.buffer, name=_(u"Friends for {}").format(i,), pos=self.view.search("friends_timelines", session.db["user_name"])) tl.timer = RepeatingTimer(300, tl.start_stream) tl.timer.start() lists = buffersController.emptyPanel(self.view.nb, "lists", session.db["user_name"]) @@ -376,7 +376,7 @@ class Controller(object): tl = buffersController.listBufferController(self.view.nb, "get_list_statuses", "%s-list" % (i,), session, session.db["user_name"], bufferType=None, list_id=utils.find_list(i, session.db["lists"])) session.lists.append(tl) self.buffers.append(tl) - self.view.insert_buffer(tl.buffer, name=_(u"List for {}").format(i), pos=self.view.search("timelines", session.db["user_name"])) + self.view.insert_buffer(tl.buffer, name=_(u"List for {}").format(i), pos=self.view.search("lists", session.db["user_name"])) searches = buffersController.emptyPanel(self.view.nb, "searches", session.db["user_name"]) self.buffers.append(searches) self.view.insert_buffer(searches.buffer , name=_(u"Searches"), pos=self.view.search(session.db["user_name"], session.db["user_name"]))