[hamster-applet] minor bits
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] minor bits
- Date: Wed, 14 Jul 2010 12:26:03 +0000 (UTC)
commit 0a4c7a0e998169836df30fedd7a9a3ad78164882
Author: Toms Bauģis <toms baugis gmail com>
Date: Wed Jul 14 13:23:14 2010 +0100
minor bits
src/hamster/overview.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/hamster/overview.py b/src/hamster/overview.py
index 3979de0..b9f2039 100644
--- a/src/hamster/overview.py
+++ b/src/hamster/overview.py
@@ -70,7 +70,6 @@ class Overview(object):
self.end_date = self.start_date + dt.timedelta(6)
-
self.overview = OverviewBox()
self.get_widget("overview_tab").add(self.overview)
self.fact_tree = self.overview.fact_tree # TODO - this is upside down, should maybe get the overview tab over here
@@ -101,14 +100,14 @@ class Overview(object):
else:
window_box = conf.get("overview_window_box")
if window_box:
- x,y,w,h = (int(i) for i in window_box)
- self.window.move(x, y)
+ x, y, w, h = (int(i) for i in window_box)
self.window.move(x, y)
self.window.resize(w, h)
else:
self.window.set_position(gtk.WIN_POS_CENTER)
self.window.show_all()
+
self.search()
def on_fact_tree_button_press(self, treeview, event):
@@ -159,7 +158,6 @@ class Overview(object):
durations = [(fact["start_time"], fact["delta"]) for fact in self.facts]
self.timechart.draw(durations, self.start_date, self.end_date)
-
if self.get_widget("window_tabs").get_current_page() == 0:
self.overview.search(self.start_date, self.end_date, self.facts)
self.reports.search(self.start_date, self.end_date, self.facts)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]