diff --git a/place/templates/base/main.html b/place/templates/base/main.html index 0cff76f..abada09 100644 --- a/place/templates/base/main.html +++ b/place/templates/base/main.html @@ -20,9 +20,6 @@ $(document).ready(function(){ /*addData("name", "Balazs", true); getData("name");*/ - window.sight.system(function(result) { - alert(result) - }); }); function message(label, data) { diff --git a/sight.py b/sight.py index 67a3396..1582a02 100644 --- a/sight.py +++ b/sight.py @@ -17,8 +17,9 @@ class Sight(QWidget): base.data["active_sight"] = self.id self.title = id - self.setWindowFlags(Qt.WindowType(0x00000800)) # remove the os windows frame (borders, close and other buttons - self.setAttribute(Qt.WidgetAttribute(0x78)) # (int: 120)) # Make Transparent + if base.data["platform"]["system"] != "Linux": + self.setWindowFlags(Qt.WindowType(0x00000800)) # remove the os windows frame (borders, close and other buttons + self.setAttribute(Qt.WidgetAttribute(0x78)) # (int: 120)) # Make Transparent self.browser = Browser() self.browser.addObject('handler', CallHandler(self) )