Package: gajim
Version: 0.11.1-1
Severity: normal
Tags: patch

If the option ctrl_tab_go_to_next_composing (available from the advanced
configuration editor) is enabled, Gajim ignores Ctrl+Tab when the
current contact is typing and there are no other tabs with new messages
or a typing/paused state.  A patch is attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_AT.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gajim depends on:
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-glade2                 2.8.6-8    GTK+ bindings: Glade support
ii  python-gtk2                   2.8.6-8    Python bindings for the GTK+ widge
ii  python-pysqlite2 [python2.4-p 2.3.3-1    python interface to SQLite 3
ii  python-support                0.6.3      automated rebuilding support for p

Versions of packages gajim recommends:
ii  dbus                          1.0.2-1    simple interprocess messaging syst
ii  dnsutils                      1:9.3.4-2  Clients provided with BIND
ii  notification-daemon           0.3.7-1    a daemon that displays passive pop
ii  python-dbus                   0.71-3     simple interprocess messaging syst
ii  python-gnupginterface         0.3.2-9    Python interface to GnuPG (GPG)

-- no debconf information
diff -u gajim/src/message_window.py gajim.orig/src/message_window.py
--- gajim/src/message_window.py 2007-04-13 20:48:35.000000000 +0200
+++ gajim.orig/src/message_window.py    2007-04-13 20:48:06.000000000 +0200
@@ -463,7 +463,7 @@
                                break # a complete cycle without finding an 
unread tab 
                if found:
                        self.notebook.set_current_page(ind)
-               elif first_composing_ind not in (-1, current):
+               elif first_composing_ind != -1:
                        self.notebook.set_current_page(first_composing_ind)
                else: # not found and nobody composing
                        if forward: # CTRL + TAB

Reply via email to