1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

Remove license from individual files, consolidate information into AUTHORS and LICENSE

This commit is contained in:
William Ting
2012-05-06 12:56:01 -10:00
parent 9ee7906472
commit da3d660b50
10 changed files with 40 additions and 137 deletions

View File

@@ -1,21 +1,4 @@
#!/usr/bin/env python2
#Copyright Joel Schaerer and Pierre Gueth 2008, 2009
#This file is part of autojump
#autojump is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
#
#autojump is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with autojump. If not, see <http://www.gnu.org/licenses/>.
import subprocess
import cPickle
import os.path
@@ -127,7 +110,7 @@ def popup(sender,button,activation):
else:
def collapse_home(path):
return path
menu=gtk.Menu()
if defaults["invert"]:
item=gtk.ImageMenuItem(stock_id=gtk.STOCK_QUIT)
@@ -138,7 +121,7 @@ def popup(sender,button,activation):
menu.append(item)
menu.append(gtk.SeparatorMenuItem())
for path in reversed(paths):
actions=get_actions(path)
if not actions: continue
@@ -166,7 +149,7 @@ def popup(sender,button,activation):
menu.append(item)
menu.append(gtk.SeparatorMenuItem())
item=gtk.ImageMenuItem(stock_id=gtk.STOCK_PREFERENCES)
item.connect("activate",settings)
menu.append(item)