Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
5cc29110
Commit
5cc29110
authored
Jul 23, 2013
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added audio+chat preferred media option
parent
d3b487ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
contacts.py
blink/contacts.py
+1
-0
contact_editor.ui
resources/contact_editor.ui
+5
-0
No files found.
blink/contacts.py
View file @
5cc29110
...
@@ -3977,6 +3977,7 @@ class ContactEditorDialog(base_class, ui_class):
...
@@ -3977,6 +3977,7 @@ class ContactEditorDialog(base_class, ui_class):
super
(
ContactEditorDialog
,
self
)
.
setupUi
(
contact_editor
)
super
(
ContactEditorDialog
,
self
)
.
setupUi
(
contact_editor
)
self
.
preferred_media
.
setItemData
(
0
,
'audio'
)
self
.
preferred_media
.
setItemData
(
0
,
'audio'
)
self
.
preferred_media
.
setItemData
(
1
,
'chat'
)
self
.
preferred_media
.
setItemData
(
1
,
'chat'
)
self
.
preferred_media
.
setItemData
(
2
,
'audio+chat'
)
self
.
addresses_table
.
verticalHeader
()
.
setDefaultSectionSize
(
URITypeComboBox
()
.
sizeHint
()
.
height
())
self
.
addresses_table
.
verticalHeader
()
.
setDefaultSectionSize
(
URITypeComboBox
()
.
sizeHint
()
.
height
())
def
open_for_add
(
self
,
sip_address
=
u''
,
target_group
=
None
):
def
open_for_add
(
self
,
sip_address
=
u''
,
target_group
=
None
):
...
...
resources/contact_editor.ui
View file @
5cc29110
...
@@ -111,6 +111,11 @@
...
@@ -111,6 +111,11 @@
<string>
Start chat sessions by default
</string>
<string>
Start chat sessions by default
</string>
</property>
</property>
</item>
</item>
<item>
<property
name=
"text"
>
<string>
Start voice + chat sessions by default
</string>
</property>
</item>
</widget>
</widget>
</item>
</item>
<item
row=
"3"
column=
"1"
colspan=
"3"
>
<item
row=
"3"
column=
"1"
colspan=
"3"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment