summaryrefslogtreecommitdiff
path: root/grc/src/gui/MainWindow.py
diff options
context:
space:
mode:
authorjblum2008-11-26 23:51:43 +0000
committerjblum2008-11-26 23:51:43 +0000
commit715009be8e02990af5497edb251cce7839123a06 (patch)
tree67b1a0fb8d7ac8cf9a6b679bf407d5d26c439099 /grc/src/gui/MainWindow.py
parentaf26023ef8414044a4229688c2ad5853e3eb3cb6 (diff)
downloadgnuradio-715009be8e02990af5497edb251cce7839123a06.tar.gz
gnuradio-715009be8e02990af5497edb251cce7839123a06.tar.bz2
gnuradio-715009be8e02990af5497edb251cce7839123a06.zip
switched hotkey handling to gtk accelerators
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10075 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src/gui/MainWindow.py')
-rw-r--r--grc/src/gui/MainWindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/src/gui/MainWindow.py b/grc/src/gui/MainWindow.py
index ce1eb274e..4c572c446 100644
--- a/grc/src/gui/MainWindow.py
+++ b/grc/src/gui/MainWindow.py
@@ -22,7 +22,7 @@ from Constants import \
NEW_FLOGRAPH_TITLE, REPORTS_WINDOW_HEIGHT
from Actions import \
APPLICATION_QUIT, FLOW_GRAPH_KILL, \
- FLOW_GRAPH_SAVE
+ FLOW_GRAPH_SAVE, get_accel_group
import pygtk
pygtk.require('2.0')
import gtk
@@ -55,6 +55,7 @@ class MainWindow(gtk.Window):
hbox = gtk.HBox()
self.add(vbox)
#create the menu bar and toolbar
+ self.add_accel_group(get_accel_group())
vbox.pack_start(Bars.MenuBar(), False)
vbox.pack_start(Bars.Toolbar(), False)
#setup scrolled window