mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Fix #16.
This commit is contained in:
parent
971306cd73
commit
3633513e85
@ -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