summaryrefslogtreecommitdiff
path: root/grc/scripts
diff options
context:
space:
mode:
authorSeth Hitefield <sdhitefield@gmail.com>2016-08-09 18:48:31 -0400
committerSeth Hitefield <sdhitefield@gmail.com>2016-09-22 12:05:42 -0400
commit8b2f679202c95896647231820eb07f42a2bc204b (patch)
treed00cda213070b9c4566207edc9fa91caaccde7e0 /grc/scripts
parent577cd09c42a02c7824bbd6f6c3a76c53dc114658 (diff)
grc: gtk3: Converted to Gtk.Application (ActionHandler) and Gtk.ApplicationWindow (MainWindow)
Diffstat (limited to 'grc/scripts')
-rwxr-xr-xgrc/scripts/gnuradio-companion2
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/scripts/gnuradio-companion b/grc/scripts/gnuradio-companion
index 8f267c8198..21d989164f 100755
--- a/grc/scripts/gnuradio-companion
+++ b/grc/scripts/gnuradio-companion
@@ -39,6 +39,8 @@ Is the library path environment variable set correctly?
def die(error, message):
msg = "{0}\n\n({1})".format(message, error)
try:
+ import gi
+ gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
d = Gtk.MessageDialog(
message_type=Gtk.MessageType.ERROR,