Opened 11 years ago

Closed 11 years ago

#1382 closed defect (fixed)

Two MSG tabs from same contact

Reported by: sef@… Owned by: asterix
Priority: normal Milestone: 0.10
Component: chat Version: hg
Severity: normal Keywords:
Cc: Blocked By:
Blocking: OS:

Description

My notification settings: popup window with new event receive notifications when away/../.. in ACE all notify_* vars set to true [except for signin and signout]

After receiving new message from ICQ transport or PM in GC I get this TB [after clicking on notification box] and two msg tabs. First with incoming message, second with same text displayed as history. First of them is unusable and cannot be destroyed.

AttributeError: 'NoneType' object has no attribute 'set_control_active'
Traceback (most recent call last):
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/systray.py", line 345, in show_tooltip
    (widget.window.get_pointer()[0], size[1]), position)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 109, in show_tooltip
    self.populate(data)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 254, in populate
    chat_t = message_control.TYPE_GC
NameError: global name 'message_control' is not defined
Traceback (most recent call last):
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/systray.py", line 345, in show_tooltip
    (widget.window.get_pointer()[0], size[1]), position)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 109, in show_tooltip
    self.populate(data)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 254, in populate
    chat_t = message_control.TYPE_GC
NameError: global name 'message_control' is not defined
Traceback (most recent call last):
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/dialogs.py", line 993, in on_popup_notification_window_button_press_event
    gajim.interface.roster.new_chat(contact, self.account)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/roster_window.py", line 1694, in new_chat
    mw.new_tab(chat_control)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/message_window.py", line 145, in new_tab
    self.show_title()
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/message_window.py", line 191, in show_title
    if control.type_id == message_control.TYPE_GC:
AttributeError: 'NoneType' object has no attribute 'type_id'

Change History (1)

comment:1 Changed 11 years ago by asterix

  • Milestone set to 0.10
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.