From 8949a9e00e989e98abf334f839b7a4e91a2339e4 Mon Sep 17 00:00:00 2001 From: Seth Hitefield <sdhitefield@gmail.com> Date: Thu, 5 Jun 2014 14:23:50 -0400 Subject: grc: Fixed scroll functionality in GRC. Also added clear and scrollback capability for the logging window --- grc/gui/Actions.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'grc/gui/Actions.py') diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py index f633e7ced0..bf05ea71e5 100644 --- a/grc/gui/Actions.py +++ b/grc/gui/Actions.py @@ -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='_Scroll Lock', + tooltip='Toggle scrool lock of the logging 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 Logs', + tooltip='Clear Logs', + stock_id=gtk.STOCK_CLEAR, +) OPEN_HIER = Action( label='Open H_ier', tooltip='Open the source of the selected hierarchical block', -- cgit v1.2.3