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
6dac7e51
Commit
6dac7e51
authored
Jul 23, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed menu entry for buying prepaid credit
parent
371f8c44
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
24 deletions
+0
-24
accounts.py
blink/accounts.py
+0
-10
mainwindow.py
blink/mainwindow.py
+0
-8
blink.ui
resources/blink.ui
+0
-6
No files found.
blink/accounts.py
View file @
6dac7e51
...
@@ -703,16 +703,6 @@ class ServerToolsWindow(base_class, ui_class):
...
@@ -703,16 +703,6 @@ class ServerToolsWindow(base_class, ui_class):
view
.
load_account_page
(
account
,
tab
=
'calls'
)
view
.
load_account_page
(
account
,
tab
=
'calls'
)
self
.
show
()
self
.
show
()
def
open_buy_pstn_access_page
(
self
,
account
):
view
=
self
.
tab_widget
.
currentWidget
()
account
=
account
or
view
.
account
if
account
is
None
or
account
.
server
.
settings_url
is
None
:
account
=
self
.
account_button
.
menu
()
.
actions
()[
0
]
.
data
()
self
.
account_label
.
setText
(
account
.
id
)
self
.
tab_widget
.
setTabText
(
self
.
tab_widget
.
currentIndex
(),
account
.
id
)
view
.
load_account_page
(
account
,
tab
=
'payments'
)
self
.
show
()
del
ui_class
,
base_class
del
ui_class
,
base_class
blink/mainwindow.py
View file @
6dac7e51
...
@@ -87,7 +87,6 @@ class MainWindow(base_class, ui_class):
...
@@ -87,7 +87,6 @@ class MainWindow(base_class, ui_class):
self
.
sip_server_settings_action
.
setEnabled
(
False
)
self
.
sip_server_settings_action
.
setEnabled
(
False
)
self
.
search_for_people_action
.
setEnabled
(
False
)
self
.
search_for_people_action
.
setEnabled
(
False
)
self
.
history_on_server_action
.
setEnabled
(
False
)
self
.
history_on_server_action
.
setEnabled
(
False
)
self
.
buy_pstn_access_action
.
setEnabled
(
False
)
self
.
main_view
.
setCurrentWidget
(
self
.
contacts_panel
)
self
.
main_view
.
setCurrentWidget
(
self
.
contacts_panel
)
self
.
contacts_view
.
setCurrentWidget
(
self
.
contact_list_panel
)
self
.
contacts_view
.
setCurrentWidget
(
self
.
contact_list_panel
)
self
.
search_view
.
setCurrentWidget
(
self
.
search_list_panel
)
self
.
search_view
.
setCurrentWidget
(
self
.
search_list_panel
)
...
@@ -200,7 +199,6 @@ class MainWindow(base_class, ui_class):
...
@@ -200,7 +199,6 @@ class MainWindow(base_class, ui_class):
self
.
sip_server_settings_action
.
triggered
.
connect
(
self
.
_AH_SIPServerSettings
)
self
.
sip_server_settings_action
.
triggered
.
connect
(
self
.
_AH_SIPServerSettings
)
self
.
search_for_people_action
.
triggered
.
connect
(
self
.
_AH_SearchForPeople
)
self
.
search_for_people_action
.
triggered
.
connect
(
self
.
_AH_SearchForPeople
)
self
.
history_on_server_action
.
triggered
.
connect
(
self
.
_AH_HistoryOnServer
)
self
.
history_on_server_action
.
triggered
.
connect
(
self
.
_AH_HistoryOnServer
)
self
.
buy_pstn_access_action
.
triggered
.
connect
(
self
.
_AH_PurchasePstnAccess
)
# Window menu actions
# Window menu actions
self
.
chat_window_action
.
triggered
.
connect
(
self
.
_AH_ChatWindowActionTriggered
)
self
.
chat_window_action
.
triggered
.
connect
(
self
.
_AH_ChatWindowActionTriggered
)
...
@@ -377,11 +375,6 @@ class MainWindow(base_class, ui_class):
...
@@ -377,11 +375,6 @@ class MainWindow(base_class, ui_class):
account
=
account
if
account
is
not
BonjourAccount
()
and
account
.
server
.
settings_url
else
None
account
=
account
if
account
is
not
BonjourAccount
()
and
account
.
server
.
settings_url
else
None
self
.
server_tools_window
.
open_history_page
(
account
)
self
.
server_tools_window
.
open_history_page
(
account
)
def
_AH_PurchasePstnAccess
(
self
,
checked
):
account
=
self
.
identity
.
itemData
(
self
.
identity
.
currentIndex
())
.
account
account
=
account
if
account
is
not
BonjourAccount
()
and
account
.
server
.
settings_url
else
None
self
.
server_tools_window
.
open_buy_pstn_access_page
(
account
)
def
_AH_ChatWindowActionTriggered
(
self
,
checked
):
def
_AH_ChatWindowActionTriggered
(
self
,
checked
):
blink
=
QApplication
.
instance
()
blink
=
QApplication
.
instance
()
blink
.
chat_window
.
show
()
blink
.
chat_window
.
show
()
...
@@ -643,7 +636,6 @@ class MainWindow(base_class, ui_class):
...
@@ -643,7 +636,6 @@ class MainWindow(base_class, ui_class):
self
.
sip_server_settings_action
.
setEnabled
(
server_tools_enabled
)
self
.
sip_server_settings_action
.
setEnabled
(
server_tools_enabled
)
self
.
search_for_people_action
.
setEnabled
(
server_tools_enabled
)
self
.
search_for_people_action
.
setEnabled
(
server_tools_enabled
)
self
.
history_on_server_action
.
setEnabled
(
server_tools_enabled
)
self
.
history_on_server_action
.
setEnabled
(
server_tools_enabled
)
self
.
buy_pstn_access_action
.
setEnabled
(
server_tools_enabled
)
def
_SH_SessionListSelectionChanged
(
self
,
selected
,
deselected
):
def
_SH_SessionListSelectionChanged
(
self
,
selected
,
deselected
):
selected_indexes
=
selected
.
indexes
()
selected_indexes
=
selected
.
indexes
()
...
...
resources/blink.ui
View file @
6dac7e51
...
@@ -984,7 +984,6 @@ padding: 2px;</string>
...
@@ -984,7 +984,6 @@ padding: 2px;</string>
<addaction
name=
"sip_server_settings_action"
/>
<addaction
name=
"sip_server_settings_action"
/>
<addaction
name=
"history_on_server_action"
/>
<addaction
name=
"history_on_server_action"
/>
<addaction
name=
"search_for_people_action"
/>
<addaction
name=
"search_for_people_action"
/>
<addaction
name=
"buy_pstn_access_action"
/>
<addaction
name=
"separator"
/>
<addaction
name=
"separator"
/>
<addaction
name=
"google_contacts_action"
/>
<addaction
name=
"google_contacts_action"
/>
</widget>
</widget>
...
@@ -1243,11 +1242,6 @@ padding: 2px;</string>
...
@@ -1243,11 +1242,6 @@ padding: 2px;</string>
<string>
Call
&
history on server
</string>
<string>
Call
&
history on server
</string>
</property>
</property>
</action>
</action>
<action
name=
"buy_pstn_access_action"
>
<property
name=
"text"
>
<string>
Buy prepaid credit
</string>
</property>
</action>
<action
name=
"join_conference_action"
>
<action
name=
"join_conference_action"
>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
&
Join Conference...
</string>
<string>
&
Join Conference...
</string>
...
...
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