clean up add a FIXME
This commit is contained in:
parent
f9555ce4e4
commit
bd7098d4e3
|
@ -83,12 +83,11 @@ class MessageWindow:
|
||||||
self.notebook.set_show_border(gajim.config.get('tabs_border'))
|
self.notebook.set_show_border(gajim.config.get('tabs_border'))
|
||||||
|
|
||||||
# Connect event handling for this Window
|
# Connect event handling for this Window
|
||||||
|
#FIXME: add those in GLADE
|
||||||
self.window.connect('delete-event', self._on_window_delete)
|
self.window.connect('delete-event', self._on_window_delete)
|
||||||
self.window.connect('destroy', self._on_window_destroy)
|
self.window.connect('destroy', self._on_window_destroy)
|
||||||
self.window.connect('focus-in-event', self._on_window_focus)
|
self.window.connect('focus-in-event', self._on_window_focus)
|
||||||
|
|
||||||
self.window.show_all()
|
|
||||||
|
|
||||||
def _on_window_focus(self, widget, event):
|
def _on_window_focus(self, widget, event):
|
||||||
# window received focus, so if we had urgency REMOVE IT
|
# window received focus, so if we had urgency REMOVE IT
|
||||||
# NOTE: we do not have to read the message (it maybe in a bg tab)
|
# NOTE: we do not have to read the message (it maybe in a bg tab)
|
||||||
|
|
Loading…
Reference in New Issue