Removed generated file from version control.
[debian/gnuradio] / grc / scripts / grc
index 11f9c60d365d68a5a8036f2f3406569a8aa29f6f..e74d98616982fed87d187ef38ba3abe47430dd05 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 """
-Copyright 2008 Free Software Foundation, Inc.
+Copyright 2009 Free Software Foundation, Inc.
 This file is part of GNU Radio
 
 GNU Radio Companion is free software; you can redistribute it and/or
@@ -18,6 +18,10 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
 
+import pygtk
+pygtk.require('2.0')
+import gtk
+
 from gnuradio.grc.platforms.base.Constants import VERSION
 from optparse import OptionParser
 
@@ -35,5 +39,8 @@ and you are welcome to redistribute it.
        (options, args) = parser.parse_args()
        from gnuradio.grc.platforms.python.Platform import Platform
        from gnuradio.grc.gui.ActionHandler import ActionHandler
+       #setup icon using icon theme
+       try: gtk.window_set_default_icon(gtk.IconTheme().load_icon('gnuradio-grc', 256, 0))
+       except: pass
        ActionHandler(args, Platform())