changeset b509d1435857 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=b509d1435857 description: we require PyGTK2.22 for InfoBar
diffstat:
README.html | 2 +- debian/control | 2 +- src/gajim.py | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-)
diffs (46 lines):
diff -r dfd58bb1ad06 -r b509d1435857 README.html --- a/README.html Sun Apr 01 19:49:52 2012 +0200 +++ b/README.html Sun Apr 01 20:17:05 2012 +0200 @@ -15,7 +15,7 @@ <h2>Runtime Requirements</h2> <ul> <li>python2.5 or higher</li> -<li>pygtk2.16 or higher</li> +<li>pygtk2.22 or higher</li> </ul>
<h2>Optional Runtime Requirements</h2> diff -r dfd58bb1ad06 -r b509d1435857 debian/control --- a/debian/control Sun Apr 01 19:49:52 2012 +0200 +++ b/debian/control Sun Apr 01 20:17:05 2012 +0200 @@ -10,7 +10,7 @@
Package: gajim Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.16.0), dnsutils +Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.22.0), dnsutils Recommends: dbus, python-dbus, notification-daemon, python-openssl (>= 0.12), python-crypto, python-pyasn1 Suggests: python-gconf, python-gnome2, nautilus-sendto, avahi-daemon, python-avahi, network-manager, libgtkspell0, aspell-en, python-gnomekeyring, gnome-keyring, python-kerberos (>= 1.1), texlive-latex-base, dvipng, python-farstream, gstreamer0.10-plugins-ugly, python-pycurl Description: Jabber client written in PyGTK diff -r dfd58bb1ad06 -r b509d1435857 src/gajim.py --- a/src/gajim.py Sun Apr 01 19:49:52 2012 +0200 +++ b/src/gajim.py Sun Apr 01 20:17:05 2012 +0200 @@ -233,12 +233,12 @@ elif sysname in ('FreeBSD', 'OpenBSD', 'NetBSD'): libc.setproctitle('gajim')
- if gtk.pygtk_version < (2, 16, 0): - pritext = _('Gajim needs PyGTK 2.16 or above') - sectext = _('Gajim needs PyGTK 2.16 or above to run. Quiting...') - elif gtk.gtk_version < (2, 16, 0): - pritext = _('Gajim needs GTK 2.16 or above') - sectext = _('Gajim needs GTK 2.16 or above to run. Quiting...') + if gtk.pygtk_version < (2, 22, 0): + pritext = _('Gajim needs PyGTK 2.22 or above') + sectext = _('Gajim needs PyGTK 2.22 or above to run. Quiting...') + elif gtk.gtk_version < (2, 22, 0): + pritext = _('Gajim needs GTK 2.22 or above') + sectext = _('Gajim needs GTK 2.22 or above to run. Quiting...')
from common import check_paths