Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
f697ac8c
authored
May 07, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laborgui: Fixed user-agent hogy Mate uroljon
parent
5b3c9ddb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
miscellaneous/laborclient/cloudgui/gui.py
+1
-1
No files found.
miscellaneous/laborclient/cloudgui/gui.py
View file @
f697ac8c
...
...
@@ -86,7 +86,7 @@ class Browser:
self
.
webview
.
open
(
"https://cloud.ik.bme.hu/store/gui/"
)
self
.
webview
.
connect
(
"navigation-requested"
,
self
.
on_navigation_requested
)
settings
=
webkit
.
WebSettings
()
settings
.
set_property
(
'user-agent'
,
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22 '
+
'
cloud-gui '
+
self
.
version
)
settings
.
set_property
(
'user-agent'
,
settings
.
get_property
(
'user-agent'
)
+
'
cloud-gui '
+
self
.
version
)
settings
.
set_property
(
'enable-accelerated-compositing'
,
True
)
settings
.
set_property
(
"enable-default-context-menu"
,
False
)
self
.
webview
.
set_settings
(
settings
)
...
...
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