gajim-website: update windows installer link

2011-01-09 Thread Yann Leboulanger
changeset 18c537d029e7 in /home/hg/repos/gajim-website

details:http://hg.gajim.org/gajim-website?cmd=changeset;node=18c537d029e7
description: update windows installer link
diffstat:

 downloads.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8e35622d8492 -r 18c537d029e7 downloads.php
--- a/downloads.php Tue Jan 04 16:30:23 2011 +0100
+++ b/downloads.php Sun Jan 09 19:12:37 2011 +0100
@@ -143,7 +143,7 @@
 print (   /h2\n);
 print (/a\n);
 #print _(Installer for 0.14 will be available as soon as possible. Currently 
available:). a href=\downloads/0.13/gajim-0.13.4-2.exe\._(Gajim 0.13.4 
installer)./a.\n;
-print _(There is a ). a 
href=\downloads/.$download_folder./gajim-.$last_version.-2.exe\._(Gajim
 installer)./a.\n;
+print _(There is a ). a 
href=\downloads/.$download_folder./gajim-.$last_version.-3.exe\._(Gajim
 installer)./a.\n;
 #print _(The installer doesn't contain translations because of a) .  a 
href=\https://bugzilla.gnome.org/show_bug.cgi?id=574520\; . _(GTK bug) . 
/a.\n;
 print (br/\n);
 #print _(Here is a). a 
href=\downloads/0.13/gajim-0.13-rc5.exe\._(Gajim installer)./a ;
___
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits


gajim: prevent traceback

2011-01-09 Thread Yann Leboulanger
changeset 29472b5ba6e0 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=29472b5ba6e0
description: prevent traceback

diffstat:

 src/common/connection_handlers_events.py |  5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r f78ccd449879 -r 29472b5ba6e0 src/common/connection_handlers_events.py
--- a/src/common/connection_handlers_events.py  Thu Jan 06 21:01:43 2011 +0100
+++ b/src/common/connection_handlers_events.py  Sun Jan 09 20:58:58 2011 +0100
@@ -881,7 +881,10 @@
 # We may ask it to real jid in gui part.
 self.status_code = []
 ns_muc_user_x = self.stanza.getTag('x', namespace=xmpp.NS_MUC_USER)
-destroy = ns_muc_user_x.getTag('destroy')
+if ns_muc_user_x:
+destroy = ns_muc_user_x.getTag('destroy')
+else:
+destroy = None
 if ns_muc_user_x and destroy:
 # Room has been destroyed. see
 # http://www.xmpp.org/extensions/xep-0045.html#destroyroom
___
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits


gajim: fix initializing a variable

2011-01-09 Thread Yann Leboulanger
changeset 249a3ec50381 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=249a3ec50381
description: fix initializing a variable

diffstat:

 src/common/helpers.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 29472b5ba6e0 -r 249a3ec50381 src/common/helpers.py
--- a/src/common/helpers.py Sun Jan 09 20:58:58 2011 +0100
+++ b/src/common/helpers.py Sun Jan 09 22:11:08 2011 +0100
@@ -1360,13 +1360,13 @@
 
 def replace_dataform_media(form, stanza):
 import xmpp
+found = False
 for field in form.getTags('field'):
 for media in field.getTags('media'):
 for uri in media.getTags('uri'):
 uri_data = uri.getData()
 if uri_data.startswith('cid:'):
 uri_data = uri_data[4:]
-found = False
 for data in stanza.getTags('data', namespace=xmpp.NS_BOB):
 if data.getAttr('cid') == uri_data:
 uri.setData(data.getData())
___
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits