mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Fix issue 13.
This commit is contained in:
parent
971306cd73
commit
d4932f3d2f
@ -232,11 +232,13 @@ class accountSettingsController(globalSettingsController):
|
|||||||
def get_buffers_list(self):
|
def get_buffers_list(self):
|
||||||
all_buffers = ['home','mentions','dm','sent_dm','sent_tweets','favorites','followers','friends','blocks','muted','events']
|
all_buffers = ['home','mentions','dm','sent_dm','sent_tweets','favorites','followers','friends','blocks','muted','events']
|
||||||
list_buffers = []
|
list_buffers = []
|
||||||
|
hidden_buffers=[]
|
||||||
for i in all_buffers:
|
for i in all_buffers:
|
||||||
if i in self.config["general"]["buffer_order"]:
|
if i in self.config["general"]["buffer_order"]:
|
||||||
list_buffers.append((i, True))
|
list_buffers.append((i, True))
|
||||||
else:
|
else:
|
||||||
list_buffers.append((i, False))
|
hidden_buffers.append((i, False))
|
||||||
|
list_buffers.extend(hidden_buffers)
|
||||||
return list_buffers
|
return list_buffers
|
||||||
|
|
||||||
def toggle_buffer_active(self, ev):
|
def toggle_buffer_active(self, ev):
|
||||||
|
Loading…
Reference in New Issue
Block a user