[hamster-applet] fixed the import thing that was introduced by dialogs thing, thing.
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet] fixed the import thing that was introduced by dialogs thing, thing.
- Date: Mon, 28 Dec 2009 02:04:34 +0000 (UTC)
commit 7e448a4a1d375c8582cb9911b4da7bfce73c51c7
Author: Toms Bauģis <toms baugis gmail com>
Date: Mon Dec 28 01:53:05 2009 +0000
fixed the import thing that was introduced by dialogs thing, thing.
hamster/edit_activity.py | 2 +-
hamster/preferences.py | 8 +++-----
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/hamster/edit_activity.py b/hamster/edit_activity.py
index fa4265e..ab3f799 100644
--- a/hamster/edit_activity.py
+++ b/hamster/edit_activity.py
@@ -26,10 +26,10 @@ import datetime as dt
fact window has dared to edit facts
"""
from configuration import runtime
+import stuff, widgets
class CustomFactController:
def __init__(self, parent = None, fact_date = None, fact_id = None):
- import stuff, widgets
self._gui = stuff.load_ui_file("edit_activity.ui")
self.window = self.get_widget('custom_fact_window')
diff --git a/hamster/preferences.py b/hamster/preferences.py
index 3e2ecb7..3fcca83 100755
--- a/hamster/preferences.py
+++ b/hamster/preferences.py
@@ -81,7 +81,9 @@ class ActivityStore(gtk.ListStore):
formats = ["fixed", "symbolic", "minutes"]
appearances = ["text", "icon", "both"]
-from configuration import runtime
+from configuration import runtime, GconfStore
+import widgets
+import dispatcher, storage, stuff
class PreferencesEditor:
TARGETS = [
@@ -91,10 +93,6 @@ class PreferencesEditor:
def __init__(self, parent = None):
- import widgets
- import dispatcher, storage, stuff
- from configuration import GconfStore
-
self.parent = parent
self._gui = stuff.load_ui_file("preferences.ui")
self.config = GconfStore()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]