You can't delete the home timeline

This commit is contained in:
Manuel Cortez 2015-03-19 05:34:18 -06:00
parent a592f747f8
commit ac45430839

View File

@ -249,7 +249,7 @@ class baseBufferController(bufferController):
output.speak(_(u"%s items retrieved") % (str(elements))) output.speak(_(u"%s items retrieved") % (str(elements)))
def remove_buffer(self): def remove_buffer(self):
if "timeline" in self.name: if "-timeline" in self.name:
dlg = commonMessageDialogs.remove_buffer() dlg = commonMessageDialogs.remove_buffer()
if dlg == widgetUtils.YES: if dlg == widgetUtils.YES:
if self.name[:-9] in self.session.settings["other_buffers"]["timelines"]: if self.name[:-9] in self.session.settings["other_buffers"]["timelines"]: