summaryrefslogtreecommitdiff
path: root/grc/gui/Dialogs.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Dialogs.py')
-rw-r--r--grc/gui/Dialogs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/gui/Dialogs.py b/grc/gui/Dialogs.py
index f9a355128d..1b7be1a11a 100644
--- a/grc/gui/Dialogs.py
+++ b/grc/gui/Dialogs.py
@@ -21,6 +21,7 @@ import pygtk
pygtk.require('2.0')
import gtk
import Utils
+import Actions
class TextDisplay(gtk.TextView):
"""A non editable gtk text view."""
@@ -82,10 +83,9 @@ class TextDisplay(gtk.TextView):
# Callback functions to handle the scrolling lock and clear context menus options
# Action functions are set by the ActionHandler's init function
def clear_cb(self, menu_item, web_view):
- self.clear_action()
+ Actions.CLEAR_REPORTS()
def scroll_back_cb(self, menu_item, web_view):
- # Trigger the toggle action
- self.scroll_action()
+ Actions.TOGGLE_SCROLL_LOCK()
# Create a popup menu for the scroll lock and clear functions.
def populate_popup(self, view, menu):