Commit 41d51203 authored by Dan Pascu's avatar Dan Pascu

Renamed is_composing_icon to composing_icon

parent d9de5ef9
...@@ -789,7 +789,7 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -789,7 +789,7 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
self.icon_label.setPixmap(widget.icon_label.pixmap()) self.icon_label.setPixmap(widget.icon_label.pixmap())
self.state_label.state = widget.state_label.state or 'offline' self.state_label.state = widget.state_label.state or 'offline'
self.hold_icon.setVisible(widget.hold_icon.isVisibleTo(widget)) self.hold_icon.setVisible(widget.hold_icon.isVisibleTo(widget))
self.is_composing_icon.setVisible(widget.is_composing_icon.isVisibleTo(widget)) self.composing_icon.setVisible(widget.composing_icon.isVisibleTo(widget))
self.audio_icon.setVisible(widget.audio_icon.isVisibleTo(widget)) self.audio_icon.setVisible(widget.audio_icon.isVisibleTo(widget))
self.audio_icon.setEnabled(widget.audio_icon.isEnabledTo(widget)) self.audio_icon.setEnabled(widget.audio_icon.isEnabledTo(widget))
self.chat_icon.setVisible(widget.chat_icon.isVisibleTo(widget)) self.chat_icon.setVisible(widget.chat_icon.isVisibleTo(widget))
......
...@@ -2441,7 +2441,7 @@ class ChatSessionWidget(base_class, ui_class): ...@@ -2441,7 +2441,7 @@ class ChatSessionWidget(base_class, ui_class):
self.setBackgroundRole(QPalette.Window) self.setBackgroundRole(QPalette.Window)
self.display_mode = self.StandardDisplayMode self.display_mode = self.StandardDisplayMode
self.hold_icon.installEventFilter(self) self.hold_icon.installEventFilter(self)
self.is_composing_icon.installEventFilter(self) self.composing_icon.installEventFilter(self)
self.audio_icon.installEventFilter(self) self.audio_icon.installEventFilter(self)
self.chat_icon.installEventFilter(self) self.chat_icon.installEventFilter(self)
self.video_icon.installEventFilter(self) self.video_icon.installEventFilter(self)
...@@ -2506,7 +2506,7 @@ class ChatSessionWidget(base_class, ui_class): ...@@ -2506,7 +2506,7 @@ class ChatSessionWidget(base_class, ui_class):
self.icon_label.setPixmap(session.pixmap) self.icon_label.setPixmap(session.pixmap)
self.state_label.state = session.state self.state_label.state = session.state
self.hold_icon.setVisible(session.blink_session.on_hold) self.hold_icon.setVisible(session.blink_session.on_hold)
self.is_composing_icon.setVisible(session.remote_composing) self.composing_icon.setVisible(session.remote_composing)
self.chat_icon.setVisible('chat' in session.blink_session.streams) self.chat_icon.setVisible('chat' in session.blink_session.streams)
self.video_icon.setVisible('video' in session.blink_session.streams) self.video_icon.setVisible('video' in session.blink_session.streams)
self.screen_sharing_icon.setVisible('screen-sharing' in session.blink_session.streams) self.screen_sharing_icon.setVisible('screen-sharing' in session.blink_session.streams)
...@@ -2566,7 +2566,7 @@ class ChatSessionItem(object): ...@@ -2566,7 +2566,7 @@ class ChatSessionItem(object):
old_value = self.__dict__.get('remote_composing', False) old_value = self.__dict__.get('remote_composing', False)
self.__dict__['remote_composing'] = value self.__dict__['remote_composing'] = value
if value != old_value and self.widget is not None: if value != old_value and self.widget is not None:
self.widget.is_composing_icon.setVisible(value) self.widget.composing_icon.setVisible(value)
notification_center = NotificationCenter() notification_center = NotificationCenter()
notification_center.post_notification('ChatSessionItemDidChange', sender=self) notification_center.post_notification('ChatSessionItemDidChange', sender=self)
...@@ -3084,7 +3084,7 @@ class ConferenceParticipantWidget(ChatSessionWidget): ...@@ -3084,7 +3084,7 @@ class ConferenceParticipantWidget(ChatSessionWidget):
self.icon_label.setPixmap(participant.pixmap) self.icon_label.setPixmap(participant.pixmap)
self.state_label.state = participant.state self.state_label.state = participant.state
self.hold_icon.setVisible(participant.on_hold) self.hold_icon.setVisible(participant.on_hold)
self.is_composing_icon.setVisible(participant.is_composing) self.composing_icon.setVisible(participant.is_composing)
self.chat_icon.setVisible('chat' in participant.active_media) self.chat_icon.setVisible('chat' in participant.active_media)
self.video_icon.setVisible('video' in participant.active_media) self.video_icon.setVisible('video' in participant.active_media)
self.screen_sharing_icon.setVisible('screen-sharing' in participant.active_media) self.screen_sharing_icon.setVisible('screen-sharing' in participant.active_media)
......
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="is_composing_icon"> <widget class="QLabel" name="composing_icon">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
......
...@@ -316,7 +316,7 @@ QWidget#session_widget_no:hover { ...@@ -316,7 +316,7 @@ QWidget#session_widget_no:hover {
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="is_composing_icon"> <widget class="QLabel" name="composing_icon">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment