summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 23:46:45 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 23:46:45 +0000
commiteabf05c8a75aab889780349045c0b4b5ff3f8b4e (patch)
treeb89ba647c5c9b52a70a6d4149ceca7165a6b5fb5
parent63d583c04771bd87deb3d5f8fd3a2fc8282f6109 (diff)
downloadpoezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.tar.gz
poezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.tar.bz2
poezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.tar.xz
poezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.zip
fix Makefile again
-rw-r--r--Makefile9
-rw-r--r--src/gui.py1
-rw-r--r--src/window.py2
3 files changed, 4 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 49d22f76..4361f493 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,6 @@ BINDIR=$(prefix)/bin
DATADIR=$(prefix)/share
LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
-CP=/bin/cp
-CHMOD=/bin/chmod
all: Makefile
@@ -15,12 +13,11 @@ clean:
find ./ -name "#*#" -delete
install:
- mkdir -p $(DESTDIR)
- install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src/xmpp $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(prefix)
+ install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
- $(CP) -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
+ cp -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
rm $(DESTDIR)$(DATADIR)/poezio/data/poezio.1
- $(CHMOD) 655 -R $(DESTDIR)$(DATADIR)/poezio/data/
install -m644 data/poezio.1 $(DESTDIR)$(MANDIR)/man1/
for sourcefile in `find src/ -maxdepth 1 -type f -name \*.py` ; do \
diff --git a/src/gui.py b/src/gui.py
index aaad7544..f56828b2 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -569,7 +569,6 @@ class Gui(object):
"""
theme.init_colors()
curses.noecho()
- curses.curs_set(0)
stdscr.keypad(True)
def reset_curses(self):
diff --git a/src/window.py b/src/window.py
index a8aee668..19912ed1 100644
--- a/src/window.py
+++ b/src/window.py
@@ -877,7 +877,7 @@ class Input(Win):
with g_lock:
self.clear_text()
self.addstr(self.text[self.line_pos:self.line_pos+self.width-1])
- self.win.chgat(0, self.pos, 1, curses.A_REVERSE)
+ # self.win.chgat(0, self.pos, 1, curses.A_REVERSE)
self.win.refresh()
def refresh(self):