updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / dockbar / python2_and_version.patch
blob83a049b6247d86e4c7b7856da41002bfa0c6f2ad
1 diff -Naurb orig//AWN/DockBar/DockBar.py new//AWN/DockBar/DockBar.py
2 --- orig//AWN/DockBar/DockBar.py 2011-01-27 15:34:32.000000000 +0100
3 +++ new//AWN/DockBar/DockBar.py 2011-01-27 15:35:43.000000000 +0100
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/python
6 +#!/usr/bin/python2
8 # Copyright 2009, Aleksey Shaferov
9 # DockBar Applet for Avant Window Navigator (DB4AWN)
10 diff -Naurb orig//dockbar/dockbar_pref.py new//dockbar/dockbar_pref.py
11 --- orig//dockbar/dockbar_pref.py 2011-01-27 15:34:32.000000000 +0100
12 +++ new//dockbar/dockbar_pref.py 2011-01-27 15:36:09.000000000 +0100
13 @@ -1,4 +1,5 @@
14 -#!/usr/bin/python
15 +#!/usr/bin/python2
17 import pygtk
18 pygtk.require('2.0')
19 import gtk
20 diff -Naurb orig//dockbar/dockbar.py new//dockbar/dockbar.py
21 --- orig//dockbar/dockbar.py 2011-01-27 15:34:32.000000000 +0100
22 +++ new//dockbar/dockbar.py 2011-01-27 15:36:43.000000000 +0100
23 @@ -1,6 +1,6 @@
24 -#!/usr/bin/python
25 +#!/usr/bin/python2
27 -VERSION = '0.25.0'
28 +VERSION = '0.25.1'
29 COPYRIGHT = "Copyright (c) 2008-2010 Aleksey Shaferov"
30 # DockBar is free software: you can redistribute it and/or modify
31 # it under the terms of the GNU General Public License as published by
32 @@ -1161,7 +1161,7 @@
33 self.apps_by_name[name] = app
34 if exe not in ('sudo','gksudo',
35 'java','mono',
36 - 'ruby','python'):
37 + 'ruby','python','python2'):
38 if exe[0] == '/':
39 exe = exe[exe.rfind('/')+1:]
40 self.apps_by_exec[exe] = app