Commit 667e50bc authored by Dan Pascu's avatar Dan Pascu

Removed the next hop line from the session info panel as well

parent 72120df2
...@@ -887,7 +887,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -887,7 +887,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
self.duration_value_label.setEnabled(have_session) self.duration_value_label.setEnabled(have_session)
self.account_value_label.setEnabled(have_session) self.account_value_label.setEnabled(have_session)
self.remote_agent_value_label.setEnabled(have_session) self.remote_agent_value_label.setEnabled(have_session)
self.sip_address_value_label.setEnabled(have_session)
self.audio_value_widget.setEnabled('audio' in blink_session.streams) self.audio_value_widget.setEnabled('audio' in blink_session.streams)
self.chat_value_widget.setEnabled('chat' in blink_session.streams) self.chat_value_widget.setEnabled('chat' in blink_session.streams)
self.screen_value_widget.setEnabled('screen-sharing' in blink_session.streams) self.screen_value_widget.setEnabled('screen-sharing' in blink_session.streams)
...@@ -922,10 +921,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -922,10 +921,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
if 'session' in elements: if 'session' in elements:
self.account_value_label.setText(blink_session.account.id) self.account_value_label.setText(blink_session.account.id)
self.remote_agent_value_label.setText(session_info.remote_user_agent or u'N/A') self.remote_agent_value_label.setText(session_info.remote_user_agent or u'N/A')
if session_info.remote_address:
self.sip_address_value_label.setText(u'%s:%s' % (session_info.transport, session_info.remote_address))
else:
self.sip_address_value_label.setText(u'N/A')
if 'media' in elements: if 'media' in elements:
self.audio_value_label.setText(audio_info.codec or 'N/A') self.audio_value_label.setText(audio_info.codec or 'N/A')
......
...@@ -1110,7 +1110,7 @@ QToolButton:pressed { ...@@ -1110,7 +1110,7 @@ QToolButton:pressed {
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="0" colspan="2"> <item row="4" column="0" colspan="2">
<spacer name="session_spacer"> <spacer name="session_spacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
...@@ -1145,7 +1145,7 @@ QToolButton:pressed { ...@@ -1145,7 +1145,7 @@ QToolButton:pressed {
</property> </property>
</widget> </widget>
</item> </item>
<item row="12" column="0" colspan="2"> <item row="11" column="0" colspan="2">
<spacer name="info_panel_spacer"> <spacer name="info_panel_spacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
...@@ -1161,36 +1161,7 @@ QToolButton:pressed { ...@@ -1161,36 +1161,7 @@ QToolButton:pressed {
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="4" column="0"> <item row="5" column="1">
<widget class="QLabel" name="sip_address_title_label">
<property name="text">
<string>Next Hop</string>
</property>
<property name="role" stdset="0">
<string notr="true">title</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="ElidedLabel" name="sip_address_value_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>tls:1.2.3.4:5061</string>
</property>
<property name="indent">
<number>0</number>
</property>
<property name="role" stdset="0">
<string notr="true">value</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QWidget" name="chat_value_widget" native="true"> <widget class="QWidget" name="chat_value_widget" native="true">
<property name="role" stdset="0"> <property name="role" stdset="0">
<string notr="true">value</string> <string notr="true">value</string>
...@@ -1268,7 +1239,7 @@ QToolButton:pressed { ...@@ -1268,7 +1239,7 @@ QToolButton:pressed {
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="8" column="0"> <item row="7" column="0">
<widget class="QLabel" name="screen_title_label"> <widget class="QLabel" name="screen_title_label">
<property name="text"> <property name="text">
<string>Screen</string> <string>Screen</string>
...@@ -1278,7 +1249,7 @@ QToolButton:pressed { ...@@ -1278,7 +1249,7 @@ QToolButton:pressed {
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="1"> <item row="7" column="1">
<widget class="QWidget" name="screen_value_widget" native="true"> <widget class="QWidget" name="screen_value_widget" native="true">
<property name="role" stdset="0"> <property name="role" stdset="0">
<string notr="true">value</string> <string notr="true">value</string>
...@@ -1356,7 +1327,7 @@ QToolButton:pressed { ...@@ -1356,7 +1327,7 @@ QToolButton:pressed {
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="7" column="0"> <item row="6" column="0">
<widget class="QLabel" name="audio_title_label"> <widget class="QLabel" name="audio_title_label">
<property name="text"> <property name="text">
<string>Audio</string> <string>Audio</string>
...@@ -1376,7 +1347,7 @@ QToolButton:pressed { ...@@ -1376,7 +1347,7 @@ QToolButton:pressed {
</property> </property>
</widget> </widget>
</item> </item>
<item row="10" column="0" colspan="2"> <item row="9" column="0" colspan="2">
<widget class="QWidget" name="packet_loss_widget" native="true"> <widget class="QWidget" name="packet_loss_widget" native="true">
<layout class="QVBoxLayout" name="packet_loss_layout"> <layout class="QVBoxLayout" name="packet_loss_layout">
<property name="spacing"> <property name="spacing">
...@@ -1449,7 +1420,7 @@ QToolButton:pressed { ...@@ -1449,7 +1420,7 @@ QToolButton:pressed {
</property> </property>
</widget> </widget>
</item> </item>
<item row="11" column="0" colspan="2"> <item row="10" column="0" colspan="2">
<widget class="QWidget" name="traffic_widget" native="true"> <widget class="QWidget" name="traffic_widget" native="true">
<layout class="QVBoxLayout" name="speed_layout"> <layout class="QVBoxLayout" name="speed_layout">
<property name="spacing"> <property name="spacing">
...@@ -1665,7 +1636,7 @@ QToolButton:pressed { ...@@ -1665,7 +1636,7 @@ QToolButton:pressed {
</property> </property>
</widget> </widget>
</item> </item>
<item row="9" column="0" colspan="2"> <item row="8" column="0" colspan="2">
<widget class="QWidget" name="latency_widget" native="true"> <widget class="QWidget" name="latency_widget" native="true">
<layout class="QVBoxLayout" name="latency_layout"> <layout class="QVBoxLayout" name="latency_layout">
<property name="spacing"> <property name="spacing">
...@@ -1728,7 +1699,7 @@ QToolButton:pressed { ...@@ -1728,7 +1699,7 @@ QToolButton:pressed {
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="7" column="1"> <item row="6" column="1">
<widget class="QWidget" name="audio_value_widget" native="true"> <widget class="QWidget" name="audio_value_widget" native="true">
<property name="role" stdset="0"> <property name="role" stdset="0">
<string notr="true">value</string> <string notr="true">value</string>
...@@ -1816,7 +1787,7 @@ QToolButton:pressed { ...@@ -1816,7 +1787,7 @@ QToolButton:pressed {
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0"> <item row="5" column="0">
<widget class="QLabel" name="chat_title_label"> <widget class="QLabel" name="chat_title_label">
<property name="text"> <property name="text">
<string>Chat</string> <string>Chat</string>
......
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