summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-06 01:56:51 +0200
committerhut <hut@lavabit.com>2010-04-06 01:56:51 +0200
commit61f1bf71c2175af3c972b3931a707254f38e7728 (patch)
treef54ca720ce90633a026870917d5d1f71ffa7d1a0 /ranger
parent1ee34606450cabd86a62ca5992775729e9dd098a (diff)
downloadranger-61f1bf71c2175af3c972b3931a707254f38e7728.tar.gz
widgets.titlebar: fixed tag click bug
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/titlebar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py
index c643b8a8..62740e2d 100644
--- a/ranger/gui/widgets/titlebar.py
+++ b/ranger/gui/widgets/titlebar.py
@@ -66,7 +66,7 @@ class TitleBar(Widget):
 		if not event.pressed(1) or not self.result:
 			return False
 
-		pos = self.wid - 3
+		pos = self.wid - 1
 		for tabname in reversed(self.fm._get_tab_list()):
 			pos -= len(str(tabname)) + 1
 			if event.x > pos: