Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Marie Traissard <jim@lapin.org>2006-12-13 01:06:24 +0300
committerJean-Marie Traissard <jim@lapin.org>2006-12-13 01:06:24 +0300
commitc54dfb4ffd53f1b50661d4c8be54c3ded2a66791 (patch)
tree09b23e288e752142d5c49cec93f92a801eabda7f /src
parent3d844c0e29f476a5a785a2ef70d2791a07bc266a (diff)
Restore gc_banner tooltip (was broken when icon was added). See #2766.
Diffstat (limited to 'src')
-rw-r--r--src/groupchat_control.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 0c2391e78..6425ba191 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -239,6 +239,7 @@ class GroupchatControl(ChatControlBase):
self.gc_popup_menu = xm.get_widget('gc_control_popup_menu')
self.name_label = self.xml.get_widget('banner_name_label')
+ self.event_box = self.xml.get_widget('banner_eventbox')
# set the position of the current hpaned
self.hpaned_position = gajim.config.get('gc-hpaned-position')
@@ -452,9 +453,8 @@ class GroupchatControl(ChatControlBase):
subject = gtkgui_helpers.escape_for_pango_markup(subject)
text += '\n<span %s>%s</span>' % (font_attrs_small, subject)
- # tooltip must always hold ALL the subject
- event_box = self.name_label.get_parent()
- self.subject_tooltip.set_tip(event_box, self.subject)
+ # tooltip must always hold ALL the subject
+ self.subject_tooltip.set_tip(self.event_box, self.subject)
self.name_label.set_markup(text)