[hamster-applet] standalone mode



commit 9f5d9350aad78059d064bf3da4cae40233d91844
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sun Dec 27 21:16:49 2009 +0000

    standalone mode

 hamster/stats_stats.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/hamster/stats_stats.py b/hamster/stats_stats.py
index 7bc7ad9..4c90a26 100644
--- a/hamster/stats_stats.py
+++ b/hamster/stats_stats.py
@@ -415,7 +415,9 @@ if __name__ == "__main__":
     window.set_title("Hamster - statistics")
     window.set_size_request(800, 600)
     
-    window.add(StatsBox())
+    stats_box = StatsBox() 
+    window.add(stats_box)
 
     window.show_all()    
+    stats_box.stats()
     gtk.main()    



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]