From 486e0a9d06e43f3b8669471bef13a5eeedbda4c6 Mon Sep 17 00:00:00 2001 From: Seth Hitefield <sdhitefield@gmail.com> Date: Wed, 3 May 2017 07:06:54 -0700 Subject: grc: gtk3: Converted actions to Gio.Action instead of Gtk.Action --- grc/gui/StateCache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grc/gui/StateCache.py') diff --git a/grc/gui/StateCache.py b/grc/gui/StateCache.py index b109a1281b..ef260d6091 100644 --- a/grc/gui/StateCache.py +++ b/grc/gui/StateCache.py @@ -99,5 +99,5 @@ class StateCache(object): """ Update the undo and redo actions based on the number of next and prev states. """ - Actions.FLOW_GRAPH_REDO.set_sensitive(self.num_next_states != 0) - Actions.FLOW_GRAPH_UNDO.set_sensitive(self.num_prev_states != 0) + Actions.FLOW_GRAPH_REDO.set_enabled(self.num_next_states != 0) + Actions.FLOW_GRAPH_UNDO.set_enabled(self.num_prev_states != 0) -- cgit v1.2.3