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
53600752
Commit
53600752
authored
Jul 22, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reordered code
parent
d7249ffa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
__init__.py
blink/__init__.py
+5
-6
No files found.
blink/__init__.py
View file @
53600752
...
@@ -33,6 +33,7 @@ from sipsimple.account import Account, AccountManager, BonjourAccount
...
@@ -33,6 +33,7 @@ from sipsimple.account import Account, AccountManager, BonjourAccount
from
sipsimple.addressbook
import
Contact
,
Group
from
sipsimple.addressbook
import
Contact
,
Group
from
sipsimple.application
import
SIPApplication
from
sipsimple.application
import
SIPApplication
from
sipsimple.configuration.settings
import
SIPSimpleSettings
from
sipsimple.configuration.settings
import
SIPSimpleSettings
from
sipsimple.payloads
import
XMLDocument
from
sipsimple.storage
import
FileStorage
from
sipsimple.storage
import
FileStorage
from
sipsimple.threading
import
run_in_twisted_thread
from
sipsimple.threading
import
run_in_twisted_thread
from
sipsimple.threading.green
import
run_in_green_thread
from
sipsimple.threading.green
import
run_in_green_thread
...
@@ -49,7 +50,7 @@ from blink.configuration.settings import SIPSimpleSettingsExtension
...
@@ -49,7 +50,7 @@ from blink.configuration.settings import SIPSimpleSettingsExtension
from
blink.logging
import
LogManager
from
blink.logging
import
LogManager
from
blink.mainwindow
import
MainWindow
from
blink.mainwindow
import
MainWindow
from
blink.presence
import
PresenceManager
from
blink.presence
import
PresenceManager
from
blink.resources
import
ApplicationData
from
blink.resources
import
ApplicationData
,
Resources
from
blink.sessions
import
SessionManager
from
blink.sessions
import
SessionManager
from
blink.update
import
UpdateManager
from
blink.update
import
UpdateManager
from
blink.util
import
QSingleton
,
run_in_gui_thread
from
blink.util
import
QSingleton
,
run_in_gui_thread
...
@@ -141,17 +142,15 @@ class Blink(QApplication):
...
@@ -141,17 +142,15 @@ class Blink(QApplication):
self
.
main_window
.
check_for_updates_action
.
triggered
.
connect
(
self
.
update_manager
.
check_for_updates
)
self
.
main_window
.
check_for_updates_action
.
triggered
.
connect
(
self
.
update_manager
.
check_for_updates
)
self
.
main_window
.
check_for_updates_action
.
setVisible
(
self
.
update_manager
!=
Null
)
self
.
main_window
.
check_for_updates_action
.
setVisible
(
self
.
update_manager
!=
Null
)
if
getattr
(
sys
,
'frozen'
,
False
):
XMLDocument
.
schema_path
=
Resources
.
get
(
'xml-schemas'
)
Account
.
register_extension
(
AccountExtension
)
Account
.
register_extension
(
AccountExtension
)
BonjourAccount
.
register_extension
(
BonjourAccountExtension
)
BonjourAccount
.
register_extension
(
BonjourAccountExtension
)
Contact
.
register_extension
(
ContactExtension
)
Contact
.
register_extension
(
ContactExtension
)
Group
.
register_extension
(
GroupExtension
)
Group
.
register_extension
(
GroupExtension
)
SIPSimpleSettings
.
register_extension
(
SIPSimpleSettingsExtension
)
SIPSimpleSettings
.
register_extension
(
SIPSimpleSettingsExtension
)
if
getattr
(
sys
,
'frozen'
,
False
):
from
blink.resources
import
Resources
from
sipsimple.payloads
import
XMLDocument
XMLDocument
.
schema_path
=
Resources
.
get
(
'xml-schemas'
)
notification_center
=
NotificationCenter
()
notification_center
=
NotificationCenter
()
notification_center
.
add_observer
(
self
,
sender
=
self
.
sip_application
)
notification_center
.
add_observer
(
self
,
sender
=
self
.
sip_application
)
...
...
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