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
e182a8bc
Commit
e182a8bc
authored
Jul 29, 2010
by
Luci Stanescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled not implemented functions
parent
b63b3fb0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
contacts.py
blink/contacts.py
+10
-10
mainwindow.py
blink/mainwindow.py
+2
-2
blink.ui
resources/blink.ui
+3
-0
No files found.
blink/contacts.py
View file @
e182a8bc
...
@@ -1105,11 +1105,11 @@ class ContactListView(QListView):
...
@@ -1105,11 +1105,11 @@ class ContactListView(QListView):
account_manager
=
AccountManager
()
account_manager
=
AccountManager
()
default_account
=
account_manager
.
default_account
default_account
=
account_manager
.
default_account
self
.
actions
.
start_audio_session
.
setEnabled
(
default_account
is
not
None
)
self
.
actions
.
start_audio_session
.
setEnabled
(
default_account
is
not
None
)
self
.
actions
.
start_chat_session
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
start_chat_session
.
setEnabled
(
Fals
e
)
self
.
actions
.
send_sms
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
send_sms
.
setEnabled
(
Fals
e
)
self
.
actions
.
send_files
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
send_files
.
setEnabled
(
Fals
e
)
self
.
actions
.
request_remote_desktop
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
request_remote_desktop
.
setEnabled
(
Fals
e
)
self
.
actions
.
share_my_desktop
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
share_my_desktop
.
setEnabled
(
Fals
e
)
self
.
actions
.
edit_item
.
setEnabled
(
contact
.
editable
)
self
.
actions
.
edit_item
.
setEnabled
(
contact
.
editable
)
self
.
actions
.
delete_item
.
setEnabled
(
contact
.
deletable
)
self
.
actions
.
delete_item
.
setEnabled
(
contact
.
deletable
)
self
.
actions
.
undo_last_delete
.
setEnabled
(
len
(
model
.
deleted_items
)
>
0
)
self
.
actions
.
undo_last_delete
.
setEnabled
(
len
(
model
.
deleted_items
)
>
0
)
...
@@ -1432,11 +1432,11 @@ class ContactSearchListView(QListView):
...
@@ -1432,11 +1432,11 @@ class ContactSearchListView(QListView):
account_manager
=
AccountManager
()
account_manager
=
AccountManager
()
default_account
=
account_manager
.
default_account
default_account
=
account_manager
.
default_account
self
.
actions
.
start_audio_session
.
setEnabled
(
default_account
is
not
None
)
self
.
actions
.
start_audio_session
.
setEnabled
(
default_account
is
not
None
)
self
.
actions
.
start_chat_session
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
start_chat_session
.
setEnabled
(
Fals
e
)
self
.
actions
.
send_sms
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
send_sms
.
setEnabled
(
Fals
e
)
self
.
actions
.
send_files
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
send_files
.
setEnabled
(
Fals
e
)
self
.
actions
.
request_remote_desktop
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
request_remote_desktop
.
setEnabled
(
Fals
e
)
self
.
actions
.
share_my_desktop
.
setEnabled
(
default_account
is
not
Non
e
)
self
.
actions
.
share_my_desktop
.
setEnabled
(
Fals
e
)
self
.
actions
.
edit_item
.
setEnabled
(
contact
.
editable
)
self
.
actions
.
edit_item
.
setEnabled
(
contact
.
editable
)
self
.
actions
.
delete_item
.
setEnabled
(
contact
.
deletable
)
self
.
actions
.
delete_item
.
setEnabled
(
contact
.
deletable
)
self
.
actions
.
undo_last_delete
.
setEnabled
(
len
(
source_model
.
deleted_items
)
>
0
)
self
.
actions
.
undo_last_delete
.
setEnabled
(
len
(
source_model
.
deleted_items
)
>
0
)
...
...
blink/mainwindow.py
View file @
e182a8bc
...
@@ -216,8 +216,8 @@ class MainWindow(base_class, ui_class):
...
@@ -216,8 +216,8 @@ class MainWindow(base_class, ui_class):
def
enable_call_buttons
(
self
,
enabled
):
def
enable_call_buttons
(
self
,
enabled
):
self
.
audio_call_button
.
setEnabled
(
enabled
)
self
.
audio_call_button
.
setEnabled
(
enabled
)
self
.
im_session_button
.
setEnabled
(
enabled
)
self
.
im_session_button
.
setEnabled
(
False
)
self
.
ds_session_button
.
setEnabled
(
enabled
)
self
.
ds_session_button
.
setEnabled
(
False
)
def
load_audio_devices
(
self
):
def
load_audio_devices
(
self
):
settings
=
SIPSimpleSettings
()
settings
=
SIPSimpleSettings
()
...
...
resources/blink.ui
View file @
e182a8bc
...
@@ -1237,6 +1237,9 @@ padding: 2px;</string>
...
@@ -1237,6 +1237,9 @@ padding: 2px;</string>
</property>
</property>
</action>
</action>
<action
name=
"manage_accounts_action"
>
<action
name=
"manage_accounts_action"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
&
Manage accounts...
</string>
<string>
&
Manage accounts...
</string>
</property>
</property>
...
...
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