hamster-applet r782 - in trunk: data hamster po
- From: tbaugis svn gnome org
- To: svn-commits-list gnome org
- Subject: hamster-applet r782 - in trunk: data hamster po
- Date: Sun, 22 Feb 2009 11:10:21 +0000 (UTC)
Author: tbaugis
Date: Sun Feb 22 11:10:21 2009
New Revision: 782
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=782&view=rev
Log:
Moving furniture: renamed add_custom_fact to edit_activity.
Added:
trunk/data/edit_activity.glade (props changed)
- copied unchanged from r764, /trunk/data/add_custom_fact.glade
trunk/hamster/edit_activity.py (contents, props changed)
- copied, changed from r764, /trunk/hamster/add_custom_fact.py
Removed:
trunk/data/add_custom_fact.glade
trunk/hamster/add_custom_fact.py
Modified:
trunk/data/Makefile.am
trunk/hamster/Makefile.am
trunk/hamster/applet.py
trunk/hamster/stats.py
trunk/po/POTFILES.in
trunk/po/ar.po
trunk/po/bg.po
trunk/po/bn_IN.po
trunk/po/ca.po
trunk/po/cs.po
trunk/po/da.po
trunk/po/de.po
trunk/po/el.po
trunk/po/en_GB.po
trunk/po/es.po
trunk/po/et.po
trunk/po/eu.po
trunk/po/fi.po
trunk/po/fr.po
trunk/po/gl.po
trunk/po/gu.po
trunk/po/he.po
trunk/po/hi.po
trunk/po/hu.po
trunk/po/it.po
trunk/po/ja.po
trunk/po/kn.po
trunk/po/ko.po
trunk/po/ku.po
trunk/po/lt.po
trunk/po/lv.po
trunk/po/mk.po
trunk/po/ml.po
trunk/po/mr.po
trunk/po/nb.po
trunk/po/nl.po
trunk/po/or.po
trunk/po/pa.po
trunk/po/pl.po
trunk/po/pt.po
trunk/po/pt_BR.po
trunk/po/ru.po
trunk/po/sl.po
trunk/po/sq.po
trunk/po/sr.po
trunk/po/sr latin po
trunk/po/sv.po
trunk/po/ta.po
trunk/po/th.po
trunk/po/tr.po (contents, props changed)
trunk/po/vi.po
trunk/po/zh_CN.po
trunk/po/zh_HK.po
trunk/po/zh_TW.po
Modified: trunk/data/Makefile.am
==============================================================================
--- trunk/data/Makefile.am (original)
+++ trunk/data/Makefile.am Sun Feb 22 11:10:21 2009
@@ -23,7 +23,7 @@
Hamster_Applet.xml \
preferences.glade \
stats.glade \
- add_custom_fact.glade \
+ edit_activity.glade \
menu.glade \
hamster.db
Modified: trunk/hamster/Makefile.am
==============================================================================
--- trunk/hamster/Makefile.am (original)
+++ trunk/hamster/Makefile.am Sun Feb 22 11:10:21 2009
@@ -24,7 +24,7 @@
KeyBinder.py \
preferences.py \
stuff.py \
- add_custom_fact.py \
+ edit_activity.py \
applet.py \
about.py \
hamsterdbus.py \
Modified: trunk/hamster/applet.py
==============================================================================
--- trunk/hamster/applet.py (original)
+++ trunk/hamster/applet.py Sun Feb 22 11:10:21 2009
@@ -43,7 +43,7 @@
from hamster.hamsterdbus import HAMSTER_URI, HamsterDbusController
# controllers for other windows
-from hamster.add_custom_fact import CustomFactController
+from hamster.edit_activity import CustomFactController
from hamster.stats import StatsViewer
from hamster.about import show_about
from hamster.preferences import PreferencesEditor
@@ -203,6 +203,7 @@
self.preferences_editor = None
self.applet.about = None
+ self.open_fact_editors = []
self.button = PanelButton()
Copied: trunk/hamster/edit_activity.py (from r764, /trunk/hamster/add_custom_fact.py)
==============================================================================
--- /trunk/hamster/add_custom_fact.py (original)
+++ trunk/hamster/edit_activity.py Sun Feb 22 11:10:21 2009
@@ -34,7 +34,7 @@
import time
import datetime
-GLADE_FILE = "add_custom_fact.glade"
+GLADE_FILE = "edit_activity.glade"
class CustomFactController:
def __init__(self, fact_date = None, fact_id = None):
Modified: trunk/hamster/stats.py
==============================================================================
--- trunk/hamster/stats.py (original)
+++ trunk/hamster/stats.py Sun Feb 22 11:10:21 2009
@@ -28,7 +28,7 @@
from hamster import dispatcher, storage, SHARED_DATA_DIR, stuff
from hamster import charting
-from hamster.add_custom_fact import CustomFactController
+from hamster.edit_activity import CustomFactController
import datetime as dt
import calendar
@@ -143,6 +143,20 @@
self.glade.signal_autoconnect(self)
self.fact_tree.grab_focus()
+
+ """
+ # this will help when profiling!
+ import gobject
+ self.i = 0
+ def redraw():
+ self.do_graph()
+ self.start_date -= dt.timedelta(7)
+ self.end_date -= dt.timedelta(7)
+ self.i +=1
+ return self.i < 50
+
+ gobject.timeout_add(400, redraw)
+ """
self.do_graph()
def locale_first_weekday(self):
@@ -379,6 +393,7 @@
category_totals = [[sum(value) for value in zip(*day_category_totals['values'])]]
self.category_chart.plot([_("Total")], category_totals,
stack_keys = day_category_totals['keys'])
+
#total string in right bottom corner, maybe temporar
Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in (original)
+++ trunk/po/POTFILES.in Sun Feb 22 11:10:21 2009
@@ -3,13 +3,13 @@
data/Hamster_Applet.server.in.in
data/Hamster_Applet.xml
data/preferences.glade
-data/add_custom_fact.glade
+data/edit_activity.glade
data/hamster-applet.schemas.in
data/menu.glade
data/stats.glade
hamster/about.py
hamster/preferences.py
-hamster/add_custom_fact.py
+hamster/edit_activity.py
hamster/applet.py
hamster/db.py
hamster/reports.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]