diff options
Diffstat (limited to 'src/gajim.py')
-rwxr-xr-x | src/gajim.py | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/gajim.py b/src/gajim.py index d58fa63a8..0b5cc9d2e 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -25,9 +25,25 @@ ## along with Gajim. If not, see <http://www.gnu.org/licenses/>. ## +import os + +if os.name == 'nt': + import warnings + warnings.filterwarnings(action='ignore') + +# Used to create windows installer with GTK included +# paths = os.environ['PATH'] +# list_ = paths.split(';') +# new_list = [] +# for p in list_: +# if p.find('gtk') < 0 and p.find('GTK') < 0: +# new_list.append(p) +# new_list.insert(0, 'gtk/lib') +# new_list.insert(0, 'gtk/bin') +# os.environ['PATH'] = ';'.join(new_list) +# os.environ['GTK_BASEPATH'] = 'gtk' import sys -import os import urllib import logging |