Commit 5cc29110 authored by Saul Ibarra's avatar Saul Ibarra

Added audio+chat preferred media option

parent d3b487ff
......@@ -3977,6 +3977,7 @@ class ContactEditorDialog(base_class, ui_class):
super(ContactEditorDialog, self).setupUi(contact_editor)
self.preferred_media.setItemData(0, 'audio')
self.preferred_media.setItemData(1, 'chat')
self.preferred_media.setItemData(2, 'audio+chat')
self.addresses_table.verticalHeader().setDefaultSectionSize(URITypeComboBox().sizeHint().height())
def open_for_add(self, sip_address=u'', target_group=None):
......
......@@ -111,6 +111,11 @@
<string>Start chat sessions by default</string>
</property>
</item>
<item>
<property name="text">
<string>Start voice + chat sessions by default</string>
</property>
</item>
</widget>
</item>
<item row="3" column="1" colspan="3">
......
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