This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/gns3/graphics_view.py b/gns3/graphics_view.py | |
| index d027c72..8ce7b9e 100644 | |
| --- a/gns3/graphics_view.py | |
| +++ b/gns3/graphics_view.py | |
| @@ -521,6 +521,11 @@ class GraphicsView(QtWidgets.QGraphicsView): | |
| """ | |
| item = self.itemAt(event.pos()) | |
| + if isinstance(item, NodeItem): | |
| + item.setPos(float(75 * round(item.x() / 75)), float(75 * round(item.y() / 75))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GetAllInfo | |
| Returns: | |
| utillib.KeyVal: [allInfo] | |
| shipModifiedCharAttribs | |
| PyNone (Only ever seen PyNone) | |
| ---- | |
| locationInfo | |
| PyNone (Only ever seen PyNone) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: src/eve-common/CMakeLists.txt | |
| IDEA additional info: | |
| Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
| <+>UTF-8 | |
| =================================================================== | |
| --- src/eve-common/CMakeLists.txt (date 1462488560000) | |
| +++ src/eve-common/CMakeLists.txt (revision ) | |
| @@ -225,9 +225,6 @@ | |
| ${tables_SOURCE} | |
| ${utils_SOURCE} ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Originally from http://sharebear.co.uk/blog/2009/09/17/very-simple-python-caching-proxy/ | |
| # | |
| # Usage: | |
| # A call to http://localhost:80000/example.com/foo.html will cache the file | |
| # at http://example.com/foo.html on disc and not redownload it again. | |
| # To clear the cache simply do a `rm *.cached`. To stop the server simply | |
| # send SIGINT (Ctrl-C). It does not handle any headers or post data. | |
| import BaseHTTPServer | |
| import hashlib |
NewerOlder