Skip to content
Snippets Groups Projects
Commit 58e7da6d authored by nkour's avatar nkour
Browse files

update path to some files so they match the new structure [it is far from...

update path to some files so they match the new structure [it is far from complete and of course it is vital to have the paths fixed before 0.7]
parent 1d873848
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
## - Yann Le Boulanger <asterix@lagaule.org> ## - Yann Le Boulanger <asterix@lagaule.org>
## - Vincent Hanquez <tab@snarc.org> ## - Vincent Hanquez <tab@snarc.org>
## - Nikos Kouremenos <kourem@gmail.com> ## - Nikos Kouremenos <kourem@gmail.com>
## Copyright (C) 2003-2005 Gajim Team ##
## Copyright (C) 2003-2005 Gajim Team
## ##
## This program is free software; you can redistribute it and/or modify ## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published ## it under the terms of the GNU General Public License as published
...@@ -20,35 +21,35 @@ from distutils.core import setup ...@@ -20,35 +21,35 @@ from distutils.core import setup
import py2exe import py2exe
import glob import glob
includes = ["encodings", includes = ['encodings',
"encodings.utf-8",] 'encodings.utf-8',]
opts = { opts = {
"py2exe": { 'py2exe': {
"includes": "pango,atk,gobject,plugins,plugins.gtkgui,plugins.logger,encodings,encodings.*", 'includes': 'pango,atk,gobject,plugins,plugins.gtkgui,plugins.logger,encodings,encodings.*',
"dll_excludes": [ 'dll_excludes': [
"iconv.dll","intl.dll","libatk-1.0-0.dll", 'iconv.dll','intl.dll','libatk-1.0-0.dll',
"libgdk_pixbuf-2.0-0.dll","libgdk-win32-2.0-0.dll", 'libgdk_pixbuf-2.0-0.dll','libgdk-win32-2.0-0.dll',
"libglib-2.0-0.dll","libgmodule-2.0-0.dll", 'libglib-2.0-0.dll','libgmodule-2.0-0.dll',
"libgobject-2.0-0.dll","libgthread-2.0-0.dll", 'libgobject-2.0-0.dll','libgthread-2.0-0.dll',
"libgtk-win32-2.0-0.dll","libpango-1.0-0.dll", 'libgtk-win32-2.0-0.dll','libpango-1.0-0.dll',
"libpangowin32-1.0-0.dll" 'libpangowin32-1.0-0.dll'
], ],
} }
} }
setup( setup(
name = "Gajim", name = 'Gajim',
description = "A jabber client", description = 'A jabber client',
# console=["gajim.py"], # console=['gajim.py'],
windows = [{"script": "gajim.py", windows = [{'script': 'gajim.py',
"icon_resources": [(1, "gajim.ico")]}], 'icon_resources': [(1, 'gajim.ico')]}],
options=opts, options=opts,
data_files=[("plugins/gtkgui", glob.glob("plugins/gtkgui/gtkgui.glade")), data_files=[('plugins/gtkgui', glob.glob('plugins/gtkgui/gtkgui.glade')),
("plugins/gtkgui/icons/sun", glob.glob("plugins/gtkgui/icons/sun/*.*")), ('plugins/gtkgui/icons/sun', glob.glob('plugins/gtkgui/icons/sun/*.*')),
("plugins/gtkgui/emoticons", glob.glob("plugins/gtkgui/emoticons/*.*")), ('plugins/gtkgui/emoticons', glob.glob('plugins/gtkgui/emoticons/*.*')),
("plugins/gtkgui/pixmaps", glob.glob("plugins/gtkgui/pixmaps/*.*")), ('plugins/gtkgui/pixmaps', glob.glob('plugins/gtkgui/pixmaps/*.*')),
("sounds", glob.glob("sounds/*.*")), ('sounds', glob.glob('data/sounds/*.*')),
("Messages/fr/LC_MESSAGES", glob.glob("Messages/fr/LC_MESSAGES/*.mo")) ('Messages/fr/LC_MESSAGES', glob.glob('Messages/fr/LC_MESSAGES/*.mo'))
], ],
) )
...@@ -194,14 +194,15 @@ class Config: ...@@ -194,14 +194,15 @@ class Config:
'Eating': 'I\'m eating, so leave me a message.', 'Eating': 'I\'m eating, so leave me a message.',
'Movie' : 'I\'m watching a movie.' , 'Movie' : 'I\'m watching a movie.' ,
'Working': 'I\'m working.', 'Working': 'I\'m working.',
'Phone': 'I\'m on the phone.',
} }
soundevents_default = { soundevents_default = {
'first_message_received': [ True, 'sounds/message1.wav' ], 'first_message_received': [ True, '../data/sounds/message1.wav' ],
'next_message_received': [ True, 'sounds/message2.wav' ], 'next_message_received': [ True, '../data/sounds/message2.wav' ],
'contact_connected': [ True, 'sounds/connected.wav' ], 'contact_connected': [ True, '../data/sounds/connected.wav' ],
'contact_disconnected': [ True, 'sounds/disconnected.wav' ], 'contact_disconnected': [ True, '../data/sounds/disconnected.wav' ],
'message_sent': [ True, 'sounds/sent.wav' ], 'message_sent': [ True, '../data/sounds/sent.wav' ],
} }
def foreach(self, cb, data = None): def foreach(self, cb, data = None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment