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
8affa9da
Commit
8affa9da
authored
Jul 06, 2010
by
Luci Stanescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Connected Redial function
parent
559a4274
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
mainwindow.py
blink/mainwindow.py
+6
-0
sessions.py
blink/sessions.py
+2
-0
No files found.
blink/mainwindow.py
View file @
8affa9da
...
...
@@ -112,6 +112,7 @@ class MainWindow(base_class, ui_class):
self
.
about_action
.
triggered
.
connect
(
self
.
about_panel
.
show
)
self
.
mute_action
.
triggered
.
connect
(
self
.
_SH_MuteButtonClicked
)
self
.
redial_action
.
triggered
.
connect
(
self
.
_SH_RedialActionTriggered
)
self
.
silent_action
.
triggered
.
connect
(
self
.
_SH_SilentButtonClicked
)
self
.
quit_action
.
triggered
.
connect
(
self
.
close
)
...
...
@@ -337,6 +338,11 @@ class MainWindow(base_class, ui_class):
self
.
mute_button
.
setChecked
(
muted
)
SIPApplication
.
voice_audio_bridge
.
mixer
.
muted
=
muted
def
_SH_RedialActionTriggered
(
self
):
session_manager
=
SessionManager
()
if
session_manager
.
last_dialed_uri
is
not
None
:
session_manager
.
start_call
(
None
,
unicode
(
session_manager
.
last_dialed_uri
))
def
_SH_SearchBoxReturnPressed
(
self
):
address
=
unicode
(
self
.
search_box
.
text
())
if
address
:
...
...
blink/sessions.py
View file @
8affa9da
...
...
@@ -1682,6 +1682,7 @@ class SessionManager(object):
self
.
incoming_sessions
=
[]
self
.
dialog_positions
=
range
(
1
,
100
)
self
.
current_ringtone
=
Null
self
.
last_dialed_uri
=
None
def
initialize
(
self
,
main_window
,
session_model
):
self
.
main_window
=
main_window
...
...
@@ -1705,6 +1706,7 @@ class SessionManager(object):
except
Exception
,
e
:
print
'Invalid URI:
%
s'
%
e
# Replace with pop-up
else
:
self
.
last_dialed_uri
=
remote_uri
session
=
Session
(
account
)
if
contact
is
None
:
for
contact
in
self
.
main_window
.
contact_model
.
iter_contacts
():
...
...
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