Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-08 18:17:31 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-08 18:17:31 (GMT)
commit070923f77c21296807deffd86eba637c0b1e51d6 (patch)
tree5ff1879f4b6706da3ef61716066eaa0246a929f6
parentd201e867930666c627db1a6d5b87f969dfd1e401 (diff)
Make visible the period controls on budget screen
-rw-r--r--finance.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/finance.py b/finance.py
index 69cf2eb..d5abd41 100644
--- a/finance.py
+++ b/finance.py
@@ -295,13 +295,11 @@ class Finance(Activity):
for child in self.headerbox.get_children():
child.show()
if self._active_panel == self.budget:
- if child not in (self._header_separator,
- self._period_label_item):
+ if child in (self.newcreditbtn, self.newdebitbtn,
+ self.eraseitembtn):
child.hide()
elif self._active_panel == self.chart:
- if child not in (self.newcreditbtn, self.newdebitbtn,
- self._header_separator,
- self._period_label_item):
+ if child not in (self.newcreditbtn, self.newdebitbtn):
child.hide()
def register_cb(self, widget):