No _on signals in glade.
This commit is contained in:
parent
715afc7113
commit
a950a51e28
|
@ -641,7 +641,7 @@ class ChatControl(ChatControlBase):
|
||||||
# restore previous conversation
|
# restore previous conversation
|
||||||
self.restore_conversation()
|
self.restore_conversation()
|
||||||
|
|
||||||
def _on_avatar_eventbox_enter_notify_event(self, widget, event):
|
def on_avatar_eventbox_enter_notify_event(self, widget, event):
|
||||||
'''we enter the eventbox area so we under conditions add a timeout
|
'''we enter the eventbox area so we under conditions add a timeout
|
||||||
to show a bigger avatar after 0.5 sec'''
|
to show a bigger avatar after 0.5 sec'''
|
||||||
jid = self.contact.jid
|
jid = self.contact.jid
|
||||||
|
@ -664,7 +664,7 @@ class ChatControl(ChatControlBase):
|
||||||
self.show_bigger_avatar_timeout_id = gobject.timeout_add(500,
|
self.show_bigger_avatar_timeout_id = gobject.timeout_add(500,
|
||||||
self.show_bigger_avatar, widget)
|
self.show_bigger_avatar, widget)
|
||||||
|
|
||||||
def _on_avatar_eventbox_leave_notify_event(self, widget, event):
|
def on_avatar_eventbox_leave_notify_event(self, widget, event):
|
||||||
'''we left the eventbox area that holds the avatar img'''
|
'''we left the eventbox area that holds the avatar img'''
|
||||||
# did we add a timeout? if yes remove it
|
# did we add a timeout? if yes remove it
|
||||||
if self.show_bigger_avatar_timeout_id is not None:
|
if self.show_bigger_avatar_timeout_id is not None:
|
||||||
|
|
|
@ -19149,8 +19149,8 @@ Status message</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="visible_window">False</property>
|
<property name="visible_window">False</property>
|
||||||
<property name="above_child">False</property>
|
<property name="above_child">False</property>
|
||||||
<signal name="enter_notify_event" handler="_on_avatar_eventbox_enter_notify_event" last_modification_time="Mon, 02 Jan 2006 23:13:50 GMT"/>
|
<signal name="enter_notify_event" handler="on_avatar_eventbox_enter_notify_event" last_modification_time="Thu, 05 Jan 2006 03:19:02 GMT"/>
|
||||||
<signal name="leave_notify_event" handler="_on_avatar_eventbox_leave_notify_event" last_modification_time="Mon, 02 Jan 2006 23:13:55 GMT"/>
|
<signal name="leave_notify_event" handler="on_avatar_eventbox_leave_notify_event" last_modification_time="Thu, 05 Jan 2006 03:19:08 GMT"/>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkImage" id="avatar_image">
|
<widget class="GtkImage" id="avatar_image">
|
||||||
|
|
Loading…
Reference in New Issue