Commit 294595b3 authored by Tijmen de Mes's avatar Tijmen de Mes

Changed text for starting chat session

parent cb06b58f
...@@ -1662,7 +1662,7 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -1662,7 +1662,7 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
self.control_menu = QMenu(self.control_button) self.control_menu = QMenu(self.control_button)
self.control_button.setMenu(self.control_menu) self.control_button.setMenu(self.control_menu)
self.control_button.actions = ContextMenuActions() self.control_button.actions = ContextMenuActions()
self.control_button.actions.connect = QAction("Start MSRP chat session", self, triggered=self._AH_Connect) self.control_button.actions.connect = QAction("Start real time chat session", self, triggered=self._AH_Connect)
self.control_button.actions.connect_with_audio = QAction("Start audio call", self, triggered=self._AH_ConnectWithAudio) self.control_button.actions.connect_with_audio = QAction("Start audio call", self, triggered=self._AH_ConnectWithAudio)
self.control_button.actions.connect_with_video = QAction("Start video call", self, triggered=self._AH_ConnectWithVideo) self.control_button.actions.connect_with_video = QAction("Start video call", self, triggered=self._AH_ConnectWithVideo)
self.control_button.actions.disconnect = QAction("Disconnect", self, triggered=self._AH_Disconnect) self.control_button.actions.disconnect = QAction("Disconnect", self, triggered=self._AH_Disconnect)
......
...@@ -3122,7 +3122,7 @@ class ContactListView(QListView): ...@@ -3122,7 +3122,7 @@ class ContactListView(QListView):
self.actions.undo_last_delete = QAction("Undo Last Delete", self, triggered=self._AH_UndoLastDelete) self.actions.undo_last_delete = QAction("Undo Last Delete", self, triggered=self._AH_UndoLastDelete)
self.actions.start_audio_call = QAction("Start Audio Call", self, triggered=self._AH_StartAudioCall) self.actions.start_audio_call = QAction("Start Audio Call", self, triggered=self._AH_StartAudioCall)
self.actions.start_video_call = QAction("Start Video Call", self, triggered=self._AH_StartVideoCall) self.actions.start_video_call = QAction("Start Video Call", self, triggered=self._AH_StartVideoCall)
self.actions.start_chat_session = QAction("Start MSRP Chat Session", self, triggered=self._AH_StartChatSession) self.actions.start_chat_session = QAction("Start Real Time Chat Session", self, triggered=self._AH_StartChatSession)
self.actions.send_sms = QAction("Send Messages", self, triggered=self._AH_SendSMS) self.actions.send_sms = QAction("Send Messages", self, triggered=self._AH_SendSMS)
self.actions.send_files = QAction("Send File(s)...", self, triggered=self._AH_SendFiles) self.actions.send_files = QAction("Send File(s)...", self, triggered=self._AH_SendFiles)
self.actions.request_screen = QAction("Request Screen", self, triggered=self._AH_RequestScreen) self.actions.request_screen = QAction("Request Screen", self, triggered=self._AH_RequestScreen)
...@@ -3225,7 +3225,7 @@ class ContactListView(QListView): ...@@ -3225,7 +3225,7 @@ class ContactListView(QListView):
call_item.triggered.connect(partial(self._AH_SendSMS, uri)) call_item.triggered.connect(partial(self._AH_SendSMS, uri))
call_submenu.addAction(call_item) call_submenu.addAction(call_item)
call_submenu = menu.addMenu('Start MSRP Chat Session') call_submenu = menu.addMenu('Start Real Time Chat Session')
for uri in contact.uris: for uri in contact.uris:
uri_text = '%s (%s)' % (uri.uri, uri.type) if uri.type not in ('SIP', 'Other') else uri.uri uri_text = '%s (%s)' % (uri.uri, uri.type) if uri.type not in ('SIP', 'Other') else uri.uri
call_item = QAction(uri_text, self) call_item = QAction(uri_text, self)
...@@ -3659,7 +3659,7 @@ class ContactSearchListView(QListView): ...@@ -3659,7 +3659,7 @@ class ContactSearchListView(QListView):
self.actions.undo_last_delete = QAction("Undo Last Delete", self, triggered=self._AH_UndoLastDelete) self.actions.undo_last_delete = QAction("Undo Last Delete", self, triggered=self._AH_UndoLastDelete)
self.actions.start_audio_call = QAction("Start Audio Call", self, triggered=self._AH_StartAudioCall) self.actions.start_audio_call = QAction("Start Audio Call", self, triggered=self._AH_StartAudioCall)
self.actions.start_video_call = QAction("Start Video Call", self, triggered=self._AH_StartVideoCall) self.actions.start_video_call = QAction("Start Video Call", self, triggered=self._AH_StartVideoCall)
self.actions.start_chat_session = QAction("Start MSRP Chat Session", self, triggered=self._AH_StartChatSession) self.actions.start_chat_session = QAction("Start Real Time Chat Session", self, triggered=self._AH_StartChatSession)
self.actions.send_sms = QAction("Send Messages", self, triggered=self._AH_SendSMS) self.actions.send_sms = QAction("Send Messages", self, triggered=self._AH_SendSMS)
self.actions.send_files = QAction("Send File(s)...", self, triggered=self._AH_SendFiles) self.actions.send_files = QAction("Send File(s)...", self, triggered=self._AH_SendFiles)
self.actions.request_screen = QAction("Request Screen", self, triggered=self._AH_RequestScreen) self.actions.request_screen = QAction("Request Screen", self, triggered=self._AH_RequestScreen)
...@@ -4006,7 +4006,7 @@ class ContactDetailView(QListView): ...@@ -4006,7 +4006,7 @@ class ContactDetailView(QListView):
self.actions.make_uri_default = QAction("Set Address As Default", self, triggered=self._AH_MakeURIDefault) self.actions.make_uri_default = QAction("Set Address As Default", self, triggered=self._AH_MakeURIDefault)
self.actions.start_audio_call = QAction("Start Audio Call", self, triggered=self._AH_StartAudioCall) self.actions.start_audio_call = QAction("Start Audio Call", self, triggered=self._AH_StartAudioCall)
self.actions.start_video_call = QAction("Start Video Call", self, triggered=self._AH_StartVideoCall) self.actions.start_video_call = QAction("Start Video Call", self, triggered=self._AH_StartVideoCall)
self.actions.start_chat_session = QAction("Start MSRP Chat Session", self, triggered=self._AH_StartChatSession) self.actions.start_chat_session = QAction("Start Real Time Chat Session", self, triggered=self._AH_StartChatSession)
self.actions.send_sms = QAction("Send Messages", self, triggered=self._AH_SendSMS) self.actions.send_sms = QAction("Send Messages", self, triggered=self._AH_SendSMS)
self.actions.send_files = QAction("Send File(s)...", self, triggered=self._AH_SendFiles) self.actions.send_files = QAction("Send File(s)...", self, triggered=self._AH_SendFiles)
self.actions.request_screen = QAction("Request Screen", self, triggered=self._AH_RequestScreen) self.actions.request_screen = QAction("Request Screen", self, triggered=self._AH_RequestScreen)
......
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