From e09b3e3c3e4e223616bf3ee6154b30729d533b30 Mon Sep 17 00:00:00 2001 From: einarr Date: Sat, 14 Oct 2006 14:50:27 +0000 Subject: [PATCH] Changing active plot when plot title is clicked. --- system/plots.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/plots.py b/system/plots.py index b6c2f21..b4f03ec 100644 --- a/system/plots.py +++ b/system/plots.py @@ -76,6 +76,8 @@ class ViewFrame (gtk.Frame): vbox.pack_start(ebox, expand=False) vbox.pack_start(gtk.HSeparator(), expand=False) + self._ebox_button_event = ebox.connect("button-press-event", + self.on_button_press_event) ## Keep the references for later use. self._vbox = vbox self._ebox = ebox