diff options
author | Seth Hitefield <sdhitefield@gmail.com> | 2017-05-03 07:06:54 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-05-03 07:07:59 -0700 |
commit | 486e0a9d06e43f3b8669471bef13a5eeedbda4c6 (patch) | |
tree | 7d35c5e7fd530f7ff420b9d3bb77ff5fc9fb2ecf /grc/gui/StateCache.py | |
parent | 97b842874193394285ca4cdc11da381647c285fd (diff) |
grc: gtk3: Converted actions to Gio.Action instead of Gtk.Action
Diffstat (limited to 'grc/gui/StateCache.py')
-rw-r--r-- | grc/gui/StateCache.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |