openbsd-ports/net/gajim/patches/patch-src_roster_window_py
jasper 7dc148dc8c - update gajim to 0.11.2
- install the .desktop file

based on a diff by Vlad Glagolev, with tweaks by
Simon Kuhnle (new maintainer) and me
2007-09-23 18:50:24 +00:00

23 lines
781 B
Plaintext

--- src/roster_window.py.orig Thu Sep 20 18:31:54 2007
+++ src/roster_window.py Sun Sep 23 15:43:32 2007
@@ -19,6 +19,7 @@ import gtk
import pango
import gobject
import os
+import sys
import time
import urllib
@@ -753,9 +754,9 @@ class RosterWindow:
if os.path.exists('history_manager.exe'): # user is running stable
helpers.exec_command('history_manager.exe')
else: # user is running svn
- helpers.exec_command('python history_manager.py')
+ helpers.exec_command('%s history_manager.py' % (sys.executable,))
else: # Unix user
- helpers.exec_command('python history_manager.py &')
+ helpers.exec_command('%s history_manager.py &' % (sys.executable,))
def get_and_connect_advanced_menuitem_menu(self, account):
'''adds FOR ACCOUNT options'''