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
9835638d
Commit
9835638d
authored
Jan 23, 2015
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed no longer used debug code
parent
a435f3aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
chatwindow.py
blink/chatwindow.py
+0
-10
No files found.
blink/chatwindow.py
View file @
9835638d
...
...
@@ -1436,7 +1436,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
self
.
control_button
.
actions
.
share_my_screen
=
QAction
(
"Share my screen"
,
self
,
triggered
=
self
.
_AH_ShareMyScreen
)
self
.
control_button
.
actions
.
request_screen
=
QAction
(
"Request screen"
,
self
,
triggered
=
self
.
_AH_RequestScreen
)
self
.
control_button
.
actions
.
end_screen_sharing
=
QAction
(
"End screen sharing"
,
self
,
triggered
=
self
.
_AH_EndScreenSharing
)
self
.
control_button
.
actions
.
dump_session
=
QAction
(
"Dump session"
,
self
,
triggered
=
self
.
_AH_DumpSession
)
# remove later -Dan
self
.
control_button
.
actions
.
main_window
=
QAction
(
"Main Window"
,
self
,
triggered
=
self
.
_AH_MainWindow
,
shortcut
=
'Ctrl+B'
,
shortcutContext
=
Qt
.
ApplicationShortcut
)
self
.
addAction
(
self
.
control_button
.
actions
.
main_window
)
# make this active even when it's not in the contol_button's menu
...
...
@@ -1571,7 +1570,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
menu
.
addAction
(
self
.
control_button
.
actions
.
share_my_screen
)
elif
stream_types
!=
{
'screen-sharing'
}:
menu
.
addAction
(
self
.
control_button
.
actions
.
end_screen_sharing
)
#menu.addAction(self.control_button.actions.dump_session) # remove this later -Dan
self
.
control_button
.
setMenu
(
menu
)
def
_update_panel_buttons
(
self
):
...
...
@@ -2207,14 +2205,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
def
_AH_EndScreenSharing
(
self
):
self
.
selected_session
.
blink_session
.
remove_stream
(
self
.
selected_session
.
blink_session
.
streams
.
get
(
'screen-sharing'
))
def
_AH_DumpSession
(
self
):
blink_session
=
self
.
selected_session
.
blink_session
print
"state:
%
r"
%
blink_session
.
state
print
"streams:
%
r"
%
[
stream
for
stream
in
blink_session
.
streams
]
print
"hold:
%
r/
%
r"
%
(
blink_session
.
local_hold
,
blink_session
.
remote_hold
)
print
"conf:
%
r"
%
blink_session
.
client_conference
print
"active:
%
r"
%
blink_session
.
active
def
_AH_MainWindow
(
self
):
blink
=
QApplication
.
instance
()
blink
.
main_window
.
show
()
...
...
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