diff options
Diffstat (limited to 'grc/gui/Actions.py')
-rw-r--r-- | grc/gui/Actions.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py index af07121f3a..3aa9e61472 100644 --- a/grc/gui/Actions.py +++ b/grc/gui/Actions.py @@ -33,10 +33,10 @@ def handle_key_press(event): """ Call the action associated with the key press event. Both the key value and the mask must have a match. - + Args: event: a gtk key press event - + Returns: true if handled """ @@ -281,6 +281,10 @@ TOGGLE_BLOCKS_WINDOW = ToggleAction( tooltip='Toggle visibility of the block tree widget', keypresses=(gtk.keysyms.b, gtk.gdk.CONTROL_MASK), ) +TOGGLE_SCROLL_LOCK = ToggleAction( + label='_Reports Scroll Lock', + tooltip='Toggle scroll lock for the report window', +) ABOUT_WINDOW_DISPLAY = Action( label='_About', tooltip='About this program', @@ -345,6 +349,11 @@ FIND_BLOCKS = Action( keypresses=(gtk.keysyms.f, gtk.gdk.CONTROL_MASK, gtk.keysyms.slash, NO_MODS_MASK), ) +CLEAR_REPORTS = Action( + label='_Clear Reports', + tooltip='Clear Reports', + stock_id=gtk.STOCK_CLEAR, +) OPEN_HIER = Action( label='Open H_ier', tooltip='Open the source of the selected hierarchical block', |