summaryrefslogtreecommitdiff
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
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.
-rw-r--r--doc/en/configure.txt7
-rw-r--r--src/tabs.py6
2 files changed, 0 insertions, 13 deletions
diff --git a/doc/en/configure.txt b/doc/en/configure.txt
index 08761f2f..479f5a06 100644
--- a/doc/en/configure.txt
+++ b/doc/en/configure.txt
@@ -505,13 +505,6 @@ foo = true
a list of words (separated by a colon (:)) that will be
highlighted if said by someone on a room
-*ignore_changes*:: false
-
- True if you want this tab to stay in the “normal” state at all times (no
- changes in the tab list), e.g. when people in a room talk a lot, and you
- don’t want to be notified. (remember to use it with disable_beep if you
- don’t want to be notified at all)
-
*ignore_private*:: false
Ignore private messages sent from this room.
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 \