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
d4036689
Commit
d4036689
authored
Jul 11, 2013
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set echo tail length to default value on startup
parent
a5c2b88c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
__init__.py
blink/__init__.py
+5
-0
preferences.py
blink/preferences.py
+1
-1
No files found.
blink/__init__.py
View file @
d4036689
...
...
@@ -32,6 +32,7 @@ from zope.interface import implements
from
sipsimple.account
import
Account
,
AccountManager
,
BonjourAccount
from
sipsimple.addressbook
import
Contact
,
Group
from
sipsimple.application
import
SIPApplication
from
sipsimple.configuration
import
DefaultValue
from
sipsimple.configuration.settings
import
SIPSimpleSettings
from
sipsimple.storage
import
FileStorage
from
sipsimple.threading
import
run_in_twisted_thread
...
...
@@ -241,6 +242,10 @@ class Blink(QApplication):
if
settings
.
google_contacts
.
authorization_token
is
InvalidToken
:
self
.
main_window
.
google_contacts_dialog
.
open_for_incorrect_password
()
self
.
update_manager
.
initialize
()
if
settings
.
audio
.
tail_length
:
# Fix old hardcoded setting value
settings
.
audio
.
tail_length
=
DefaultValue
settings
.
save
()
def
_NH_SIPApplicationWillEnd
(
self
,
notification
):
self
.
ip_address_monitor
.
stop
()
...
...
blink/preferences.py
View file @
d4036689
...
...
@@ -1024,7 +1024,7 @@ class PreferencesWindow(base_class, ui_class):
def
_SH_EnableEchoCancellingButtonClicked
(
self
,
checked
):
settings
=
SIPSimpleSettings
()
settings
.
audio
.
tail_length
=
200
if
checked
else
0
settings
.
audio
.
tail_length
=
DefaultValue
if
checked
else
0
settings
.
save
()
# Audio codecs signal handlers
...
...
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