Show
Ignore:
Timestamp:
12/06/07 20:07:43 (10 months ago)
Author:
asterix
Message:

add windows specific stuff in sources

Location:
branches/gajim_0.11.3-bugfixes/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.3-bugfixes/src/gajim.py

    r9069 r9103  
    1818## 
    1919 
     20import os 
     21 
     22if os.name == 'nt': 
     23        import warnings 
     24        warnings.filterwarnings(action='ignore') 
     25 
     26# Used to create windows installer with GTK included 
     27#       paths = os.environ['PATH'] 
     28#       list_ = paths.split(';') 
     29#       new_list = [] 
     30#       for p in list_: 
     31#               if p.find('gtk') < 0 and p.find('GTK') < 0: 
     32#                       new_list.append(p) 
     33#       new_list.insert(0, 'gtk/lib') 
     34#       new_list.insert(0, 'gtk/bin') 
     35#       os.environ['PATH'] = ';'.join(new_list) 
     36#       os.environ['GTK_BASEPATH'] = 'gtk' 
     37 
    2038import sys 
    21 import os 
    2239import urllib 
    2340 
  • branches/gajim_0.11.3-bugfixes/src/history_manager.py

    r7940 r9103  
    1818## the same can be said for history_window.py 
    1919 
     20import os 
     21 
     22if os.name == 'nt': 
     23        import warnings 
     24        warnings.filterwarnings(action='ignore') 
     25 
     26# Used to create windows installer with GTK included 
     27#       paths = os.environ['PATH'] 
     28#       list_ = paths.split(';') 
     29#       new_list = [] 
     30#       for p in list_: 
     31#               if p.find('gtk') < 0 and p.find('GTK') < 0: 
     32#                       new_list.append(p) 
     33#       new_list.insert(0, 'gtk/lib') 
     34#       new_list.insert(0, 'gtk/bin') 
     35#       os.environ['PATH'] = ';'.join(new_list) 
     36#       os.environ['GTK_BASEPATH'] = 'gtk' 
     37 
    2038import sys 
    21 import os 
    2239import signal 
    2340import gtk