diff --git a/ChangeLog b/ChangeLog index 6740008906..17e918c520 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-08-30 Bryan Clark + * examples/python/systray/network_tray.py: + Added nice message when you try to run without running make first + * examples/python/NetworkManager.py: Bug fixes to the code so we get all the device information that we need in get_device() diff --git a/examples/python/systray/network_tray.py b/examples/python/systray/network_tray.py index 2f5043177d..fc49805cc2 100755 --- a/examples/python/systray/network_tray.py +++ b/examples/python/systray/network_tray.py @@ -2,8 +2,14 @@ import pygtk; pygtk.require("2.0") import gtk import gtk.gdk -import trayicon -from NetworkManager import NetworkManager + +try: + import trayicon + from NetworkManager import NetworkManager +except: + print "type 'make' make the necessary modules to run this example" + import sys + sys.exit(1) class network_tray: