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
45a55e52
Commit
45a55e52
authored
Jul 30, 2012
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed notification name to match with the latest sipsimple library
parent
05fc2cb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mainwindow.py
blink/mainwindow.py
+2
-2
No files found.
blink/mainwindow.py
View file @
45a55e52
...
...
@@ -43,7 +43,7 @@ class MainWindow(base_class, ui_class):
notification_center
=
NotificationCenter
()
notification_center
.
add_observer
(
self
,
name
=
'SIPApplicationWillStart'
)
notification_center
.
add_observer
(
self
,
name
=
'SIPApplicationDidStart'
)
notification_center
.
add_observer
(
self
,
name
=
'SIPAccount
MWIDidGet
Summary'
)
notification_center
.
add_observer
(
self
,
name
=
'SIPAccount
GotMessage
Summary'
)
notification_center
.
add_observer
(
self
,
sender
=
AccountManager
())
self
.
mwi_icons
=
[
QIcon
(
Resources
.
get
(
'icons/mwi-
%
d.png'
%
i
))
for
i
in
xrange
(
0
,
11
)]
...
...
@@ -660,7 +660,7 @@ class MainWindow(base_class, ui_class):
selected_items
=
self
.
contact_list
.
selectionModel
()
.
selectedIndexes
()
self
.
enable_call_buttons
(
len
(
selected_items
)
==
1
and
isinstance
(
self
.
contact_model
.
data
(
selected_items
[
0
]),
Contact
))
def
_NH_SIPAccount
MWIDidGet
Summary
(
self
,
notification
):
def
_NH_SIPAccount
GotMessage
Summary
(
self
,
notification
):
account
=
notification
.
sender
summary
=
notification
.
data
.
message_summary
action
=
(
action
for
action
in
self
.
voicemail_menu
.
actions
()
if
action
.
data
()
.
toPyObject
()
is
account
)
.
next
()
...
...
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