Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [33mcommit a47db0c
- Author: Johan Dahlin <johan@gnome.org>
- Date: 2011-04-04 10:43:36 -0300
- Add a .gitignore
- diff --git a/.gitignore b/.gitignore
- new file mode 100644
- index 0000000..0d20b64
- --- /dev/null
- +++ b/.gitignore
- @@ -0,0 +1 @@
- +*.pyc
- [33mcommit 5f3197e
- Author: Johan Dahlin <johan@gnome.org>
- Date: 2011-04-04 10:26:29 -0300
- Add a is_developer_mode() function
- diff --git a/stoqlib/lib/parameters.py b/stoqlib/lib/parameters.py
- index 5926b75..2f537a0 100644
- --- a/stoqlib/lib/parameters.py
- +++ b/stoqlib/lib/parameters.py
- @@ -30,6 +30,7 @@ from kiwi.log import Logger
- from kiwi.python import namedAny, ClassInittableObject
- from stoqdrivers.enum import TaxType
- +import stoqlib
- from stoqlib.database.runtime import new_transaction
- from stoqlib.domain.parameter import ParameterData
- from stoqlib.domain.interfaces import ISupplier, IBranch
- @@ -760,3 +761,6 @@ def ensure_system_parameters(update=False):
- param = sysparam(trans)
- param.set_defaults(update)
- trans.commit(close=True)
- +
- +def is_developer_mode():
- + return stoqlib.uninstalled
- [33mcommit 6dee6fa
- Author: Johan Dahlin <johan@gnome.org>
- Date: 2011-04-04 10:25:14 -0300
- Update documentation comment
- diff --git a/stoqlib/domain/test/test_transaction.py b/stoqlib/domain/test/test_transaction.py
- index eb12dce..0b8f17a 100644
- --- a/stoqlib/domain/test/test_transaction.py
- +++ b/stoqlib/domain/test/test_transaction.py
- @@ -21,7 +21,7 @@
- ##
- ## Author(s): Stoq Team <stoq-devel@async.com.br>
- ##
- -""" This module test all class in stoq/domain/transaction.py """
- +""" This module test all class in stoq/domain/system.py """
- import datetime
- import time
- [33mcommit 602a28a
- Author: Johan Dahlin <johan@gnome.org>
- Date: 2011-04-04 10:24:52 -0300
- Fix up a broken import
- diff --git a/tests/sync/test_clone.py b/tests/sync/test_clone.py
- index 5bc4a8b..75f8a93 100644
- --- a/tests/sync/test_clone.py
- +++ b/tests/sync/test_clone.py
- @@ -26,7 +26,7 @@ from tests.sync.base import SyncTest
- from stoqlib.database.policy import get_policy_by_name
- from stoqlib.database.synchronization import get_tables
- from stoqlib.database.runtime import new_transaction
- -from stoqlib.domain.transaction import TransactionEntry
- +from stoqlib.domain.system import TransactionEntry
- from stoqlib.enums import SyncPolicy
- class TestClone(SyncTest):
- [33mcommit 21151d0
- Author: jdahlin@async.com.br <>
- Date: 2011-03-31 14:21:15 -0300
- Add icon used by financial application
- diff --git a/stoqlib/gui/base/gtkadds.py b/stoqlib/gui/base/gtkadds.py
- index ca384e0..ebea36e 100644
- --- a/stoqlib/gui/base/gtkadds.py
- +++ b/stoqlib/gui/base/gtkadds.py
- @@ -32,6 +32,7 @@ def register_iconsets():
- ("stoq-searchtool-icon2", "searchtool-animation2.png"),
- ("stoq-searchtool-icon3", "searchtool-animation3.png"),
- ("stoq-searchtool-icon4", "searchtool-animation4.png"),
- + ("stoq-money", "money24px.png"),
- ("stoq-products", "products_24.png"),
- ("stoq-purchase-quote", "gnome-gnomine24px.png"),
- ("stoq-deliveries", "delivery24px.png"),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement