mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
little touchup and uninstall
This commit is contained in:
parent
2c958c6cf5
commit
fc8791deba
2 changed files with 18 additions and 3 deletions
17
Makefile
17
Makefile
|
@ -2,7 +2,7 @@
|
||||||
# Makefile for Deluge
|
# Makefile for Deluge
|
||||||
#
|
#
|
||||||
|
|
||||||
PREFIX = /usr
|
PREFIX = /usr/local
|
||||||
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
@ -12,4 +12,17 @@ install:
|
||||||
python setup.py install --prefix=$(PREFIX)
|
python setup.py install --prefix=$(PREFIX)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
python setup.py clean; rm -rf ./build; rm msgfmt.pyc
|
python setup.py clean
|
||||||
|
rm -rf ./build
|
||||||
|
rm msgfmt.pyc
|
||||||
|
find . -name *.pyc -exec rm {} \;
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
#find /usr -name deluge
|
||||||
|
-rm $(PREFIX)/bin/deluge
|
||||||
|
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge
|
||||||
|
-rm -r $(PREFIX)/lib/python2.5/site-packages/deluge-*.egg-info
|
||||||
|
-rm -r $(PREFIX)/share/deluge
|
||||||
|
-find ${PREFIX}/share/locale -name deluge.mo -exec rm {} \;
|
||||||
|
-rm $(PREFIX)/share/applications/deluge.desktop
|
||||||
|
-rm $(PREFIX)/share/pixmaps/deluge.xpm
|
||||||
|
|
|
@ -1156,7 +1156,9 @@ class DelugeGTK:
|
||||||
dlg.vbox.pack_start(entry)
|
dlg.vbox.pack_start(entry)
|
||||||
clip = gtk.clipboard_get(selection='PRIMARY')
|
clip = gtk.clipboard_get(selection='PRIMARY')
|
||||||
text = clip.wait_for_text()
|
text = clip.wait_for_text()
|
||||||
entry.set_text(text)
|
#watch out for an empty clipboard, TODO check for non url garbage
|
||||||
|
if text:
|
||||||
|
entry.set_text(text)
|
||||||
dlg.show_all()
|
dlg.show_all()
|
||||||
result = dlg.run()
|
result = dlg.run()
|
||||||
url = entry.get_text()
|
url = entry.get_text()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue