diff options
author | Daniel Francis <francis@sugarlabs.org> | 2012-07-15 21:32:08 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2012-07-15 21:32:08 (GMT) |
commit | 7a51e0574c7083793bbe64eb618ec5fa0c173315 (patch) | |
tree | e8cced3914c63e150fa08bc60d4ace6d7d8f4c61 /activity.py | |
parent | d2f4c8bb96a394cbfef6d9525e7619e00f90bc49 (diff) |
Hide separator sometimes
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activity.py b/activity.py index 890a9b7..95fd217 100644 --- a/activity.py +++ b/activity.py @@ -183,10 +183,12 @@ class GraphPlotter(activity.Activity): self.graph.queue_draw() self.toolbar_box.xlabel.set_text('') self.toolbar_box.ylabel.set_text('') + self.toolbar_box.separator.hide() def _update_coordinates(self, widget, x, y): self.toolbar_box.xlabel.set_text("x = " + str(int(x * 100) / 100.0)) self.toolbar_box.ylabel.set_text("y = " + str(int(y * 100) / 100.0)) + self.toolbar_box.separator.show() def _fullscreen(self, widget): self._resize_queue = 0 |