summaryrefslogtreecommitdiff
path: root/alot/widgets/search.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-12-20 10:37:11 -0800
committerDylan Baker <dylan@pnwbakers.com>2016-12-21 17:18:39 -0800
commit751b4fa7220f826e6ce1019cc332dbbbb0a7c79b (patch)
tree09d786aefee1955ab3a2e11afb8bd14f3e48f409 /alot/widgets/search.py
parentaaca00e02508618dd4e6ffb75fb088bb774d3f40 (diff)
widgets/search: make method that doesn't use self a static method
Diffstat (limited to 'alot/widgets/search.py')
-rw-r--r--alot/widgets/search.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/widgets/search.py b/alot/widgets/search.py
index 7b7cd52d..d960e919 100644
--- a/alot/widgets/search.py
+++ b/alot/widgets/search.py
@@ -177,6 +177,7 @@ class ThreadlineWidget(urwid.AttrMap):
def get_thread(self):
return self.thread
+ @staticmethod
def _get_theme(component, focus=False):
path = ['search', 'threadline', component]
if focus: