summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grc/gui/Actions.py2
-rw-r--r--grc/gui/DrawingArea.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py
index 90e23d7fb7..c63c8fa5ea 100644
--- a/grc/gui/Actions.py
+++ b/grc/gui/Actions.py
@@ -301,7 +301,7 @@ RELOAD_BLOCKS = Action(
stock_id=gtk.STOCK_REFRESH
)
FIND_BLOCKS = Action(
- label='Find Blocks',
+ label='_Find Blocks',
tooltip='Search for a block by name (and key)',
stock_id=gtk.STOCK_FIND,
keypresses=(gtk.keysyms.f, gtk.gdk.CONTROL_MASK,
diff --git a/grc/gui/DrawingArea.py b/grc/gui/DrawingArea.py
index c4440d3f7a..9fac791284 100644
--- a/grc/gui/DrawingArea.py
+++ b/grc/gui/DrawingArea.py
@@ -140,7 +140,7 @@ class DrawingArea(gtk.DrawingArea):
def _handle_focus_lost_event(self, widget, event):
# don't clear selection while context menu is active
- if self._flow_graph.get_context_menu().get_active(): return
+ if self._flow_graph.get_context_menu().get_visible(): return
self._flow_graph.unselect()
self._flow_graph.update_selected()
- self._flow_graph.queue_draw() \ No newline at end of file
+ self._flow_graph.queue_draw()