diff options
-rw-r--r-- | grc/CMakeLists.txt | 3 | ||||
-rw-r--r-- | grc/gui/MainWindow.py | 3 | ||||
-rw-r--r-- | grc/gui/icon.png | bin | 0 -> 4377 bytes |
3 files changed, 5 insertions, 1 deletions
diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt index 264debcaf1..5a32c7cd70 100644 --- a/grc/CMakeLists.txt +++ b/grc/CMakeLists.txt @@ -156,8 +156,9 @@ GR_PYTHON_INSTALL( GR_PYTHON_INSTALL( DIRECTORY core gui DESTINATION "${GR_PYTHON_DIR}/gnuradio/grc" - FILES_MATCHING REGEX "\\.(py|dtd|grc|tmpl)$" + FILES_MATCHING REGEX "\\.(py|dtd|grc|tmpl|png)$" ) + ######################################################################## # Append NSIS commands to set environment variables ######################################################################## diff --git a/grc/gui/MainWindow.py b/grc/gui/MainWindow.py index c13a59a16d..38fd9a71a1 100644 --- a/grc/gui/MainWindow.py +++ b/grc/gui/MainWindow.py @@ -70,6 +70,9 @@ class MainWindow(Gtk.ApplicationWindow): vbox = Gtk.VBox() self.add(vbox) + # Set window icon + self.set_icon_from_file(os.path.dirname(os.path.abspath(__file__)) + "/icon.png") + # Create the menu bar and toolbar generate_modes = platform.get_generate_options() diff --git a/grc/gui/icon.png b/grc/gui/icon.png Binary files differnew file mode 100644 index 0000000000..1c27323696 --- /dev/null +++ b/grc/gui/icon.png |