1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/emulators/dynagui/files/patch-libs_gui_c7200.py
Martin Wilke b003deb680 Dynagui is a GUI frontend to the dynamips Cisco 7200/36XX router
simulator. It uses the dyna-gen library in order to communicate
with the dynamips hypervisor.

WWW: http://dynagui.sourceforge.net

PR:		ports/131544
Submitted by:	Andrew Greenwood
2009-02-14 19:25:53 +00:00

12 lines
467 B
Python

--- libs/gui_c7200.py.orig 2009-02-09 14:29:55.000000000 -0500
+++ libs/gui_c7200.py 2009-02-09 14:30:28.000000000 -0500
@@ -412,7 +412,7 @@
class GuiC7200(C7200, GuiRouter):
pixmap = cairo.ImageSurface.create_from_png(
- os.path.join('img', 'chassis.png'))
+ os.path.join('/usr/local/share/dynagui/img', 'chassis.png'))
def __init__(self, dynamips, x=10, y=10, name=None):
GuiRouter.__init__(self, x, y)