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
a71c6f39
Commit
a71c6f39
authored
Apr 16, 2011
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reordered notification handlers
parent
ef96b952
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
contacts.py
blink/contacts.py
+6
-6
No files found.
blink/contacts.py
View file @
a71c6f39
...
...
@@ -342,6 +342,12 @@ class GoogleContactsManager(object):
elif
authorization_token
is
None
:
self
.
remove_group
()
def
_NH_SIPApplicationWillEnd
(
self
,
notification
):
notification_center
=
NotificationCenter
()
notification_center
.
remove_observer
(
self
,
name
=
'CFGSettingsObjectDidChange'
,
sender
=
SIPSimpleSettings
())
if
self
.
greenlet
is
not
None
:
api
.
kill
(
self
.
greenlet
,
api
.
GreenletExit
())
def
_NH_CFGSettingsObjectDidChange
(
self
,
notification
):
if
'google_contacts.authorization_token'
in
notification
.
data
.
modified
:
if
self
.
_load_timer
is
not
None
and
self
.
_load_timer
.
active
():
...
...
@@ -359,12 +365,6 @@ class GoogleContactsManager(object):
self
.
stop_adding_contacts
=
False
self
.
remove_group
()
def
_NH_SIPApplicationWillEnd
(
self
,
notification
):
notification_center
=
NotificationCenter
()
notification_center
.
remove_observer
(
self
,
name
=
'CFGSettingsObjectDidChange'
,
sender
=
SIPSimpleSettings
())
if
self
.
greenlet
is
not
None
:
api
.
kill
(
self
.
greenlet
,
api
.
GreenletExit
())
@
run_in_green_thread
def
load_contacts
(
self
):
if
self
.
greenlet
is
not
None
:
...
...
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