Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
404cf69a
authored
Feb 06, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added sshterm support
parent
45e09d5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
miscellaneous/laborclient/store_gui.py
+3
-2
No files found.
miscellaneous/laborclient/store_gui.py
View file @
404cf69a
...
@@ -112,12 +112,13 @@ class Browser:
...
@@ -112,12 +112,13 @@ class Browser:
self
.
toolbar
.
add
(
self
.
store_button
)
self
.
toolbar
.
add
(
self
.
store_button
)
self
.
toolbar
.
add
(
self
.
help_button
)
self
.
toolbar
.
add
(
self
.
help_button
)
self
.
vbox
=
gtk
.
VBox
(
False
,
0
)
self
.
vbox
=
gtk
.
VBox
(
False
,
0
)
self
.
vbox
.
pack_start
(
self
.
toolbar
,
False
,
True
,
0
)
#
self.vbox.pack_start(self.toolbar, False, True, 0)
self
.
scrolledwindow
=
gtk
.
ScrolledWindow
()
self
.
scrolledwindow
=
gtk
.
ScrolledWindow
()
self
.
scrolledwindow
.
add
(
self
.
webview
)
self
.
scrolledwindow
.
add
(
self
.
webview
)
self
.
vbox
.
add
(
self
.
scrolledwindow
)
self
.
vbox
.
add
(
self
.
scrolledwindow
)
self
.
window
.
add
(
self
.
vbox
)
self
.
window
.
add
(
self
.
vbox
)
#self.window.add(self.webview)
#self.window.add(self.webview)
self
.
window
.
maximize
()
self
.
window
.
show_all
()
self
.
window
.
show_all
()
def
destroy
(
self
,
dummy
):
def
destroy
(
self
,
dummy
):
...
@@ -159,7 +160,7 @@ class Browser:
...
@@ -159,7 +160,7 @@ class Browser:
self
.
webview
.
execute_script
(
"document.getElementById(
\"
mount_button
\"
).hidden=false ;"
)
self
.
webview
.
execute_script
(
"document.getElementById(
\"
mount_button
\"
).hidden=false ;"
)
self
.
webview
.
execute_script
(
"document.getElementById(
\"
umount_button
\"
).hidden=true ;"
)
self
.
webview
.
execute_script
(
"document.getElementById(
\"
umount_button
\"
).hidden=true ;"
)
return
True
return
True
elif
scheme
==
"nx"
or
scheme
==
"rdp"
or
scheme
==
"s
hell
term"
:
elif
scheme
==
"nx"
or
scheme
==
"rdp"
or
scheme
==
"s
sh
term"
:
connection
=
rdp
.
RDP
(
uri
)
connection
=
rdp
.
RDP
(
uri
)
Process
(
target
=
connection
.
connect
)
.
start
()
Process
(
target
=
connection
.
connect
)
.
start
()
return
True
return
True
...
...
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