summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-10-02 13:18:19 +0200
committerFlorent Le Coz <louiz@louiz.org>2012-10-02 13:18:19 +0200
commit844eb18378ca1be65418a50c04b62560fe7181e3 (patch)
tree18e6f13b028fd5b6cf63a26ff3b43e59e8f0f663 /src
parentc66ec81c4530a806b0aacc2933f6493cdcbbfc82 (diff)
downloadpoezio-844eb18378ca1be65418a50c04b62560fe7181e3.tar.gz
poezio-844eb18378ca1be65418a50c04b62560fe7181e3.tar.bz2
poezio-844eb18378ca1be65418a50c04b62560fe7181e3.tar.xz
poezio-844eb18378ca1be65418a50c04b62560fe7181e3.zip
Revert "Add a tab-specific “ignore_changes” option"
This reverts commit c66ec81c4530a806b0aacc2933f6493cdcbbfc82.
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 9b556ae2..327ecfba 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -169,12 +169,6 @@ class Tab(object):
@state.setter
def state(self, value):
- if config.get_by_tabname('ignore_changes', 'false', self.get_name(), fallback=False).lower() == 'true':
- if value == 'current':
- self._state = 'current'
- else:
- self._state = 'normal'
- return
if not value in STATE_COLORS:
log.debug("Invalid value for tab state: %s", value)
elif STATE_PRIORITY[value] < STATE_PRIORITY[self._state] and \