Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. commit a47db0c
  2. Author: Johan Dahlin <johan@gnome.org>
  3. Date: 2011-04-04 10:43:36 -0300
  4.  
  5. Add a .gitignore
  6.  
  7.  
  8. diff --git a/.gitignore b/.gitignore
  9. new file mode 100644
  10. index 0000000..0d20b64
  11. --- /dev/null
  12. +++ b/.gitignore
  13. @@ -0,0 +1 @@
  14. +*.pyc
  15. commit 5f3197e
  16. Author: Johan Dahlin <johan@gnome.org>
  17. Date: 2011-04-04 10:26:29 -0300
  18.  
  19. Add a is_developer_mode() function
  20.  
  21.  
  22. diff --git a/stoqlib/lib/parameters.py b/stoqlib/lib/parameters.py
  23. index 5926b75..2f537a0 100644
  24. --- a/stoqlib/lib/parameters.py
  25. +++ b/stoqlib/lib/parameters.py
  26. @@ -30,6 +30,7 @@ from kiwi.log import Logger
  27. from kiwi.python import namedAny, ClassInittableObject
  28. from stoqdrivers.enum import TaxType
  29.  
  30. +import stoqlib
  31. from stoqlib.database.runtime import new_transaction
  32. from stoqlib.domain.parameter import ParameterData
  33. from stoqlib.domain.interfaces import ISupplier, IBranch
  34. @@ -760,3 +761,6 @@ def ensure_system_parameters(update=False):
  35. param = sysparam(trans)
  36. param.set_defaults(update)
  37. trans.commit(close=True)
  38. +
  39. +def is_developer_mode():
  40. + return stoqlib.uninstalled
  41. commit 6dee6fa
  42. Author: Johan Dahlin <johan@gnome.org>
  43. Date: 2011-04-04 10:25:14 -0300
  44.  
  45. Update documentation comment
  46.  
  47.  
  48. diff --git a/stoqlib/domain/test/test_transaction.py b/stoqlib/domain/test/test_transaction.py
  49. index eb12dce..0b8f17a 100644
  50. --- a/stoqlib/domain/test/test_transaction.py
  51. +++ b/stoqlib/domain/test/test_transaction.py
  52. @@ -21,7 +21,7 @@
  53. ##
  54. ## Author(s): Stoq Team <stoq-devel@async.com.br>
  55. ##
  56. -""" This module test all class in stoq/domain/transaction.py """
  57. +""" This module test all class in stoq/domain/system.py """
  58.  
  59. import datetime
  60. import time
  61. commit 602a28a
  62. Author: Johan Dahlin <johan@gnome.org>
  63. Date: 2011-04-04 10:24:52 -0300
  64.  
  65. Fix up a broken import
  66.  
  67.  
  68. diff --git a/tests/sync/test_clone.py b/tests/sync/test_clone.py
  69. index 5bc4a8b..75f8a93 100644
  70. --- a/tests/sync/test_clone.py
  71. +++ b/tests/sync/test_clone.py
  72. @@ -26,7 +26,7 @@ from tests.sync.base import SyncTest
  73. from stoqlib.database.policy import get_policy_by_name
  74. from stoqlib.database.synchronization import get_tables
  75. from stoqlib.database.runtime import new_transaction
  76. -from stoqlib.domain.transaction import TransactionEntry
  77. +from stoqlib.domain.system import TransactionEntry
  78. from stoqlib.enums import SyncPolicy
  79.  
  80. class TestClone(SyncTest):
  81. commit 21151d0
  82. Author: jdahlin@async.com.br <>
  83. Date: 2011-03-31 14:21:15 -0300
  84.  
  85. Add icon used by financial application
  86.  
  87.  
  88. diff --git a/stoqlib/gui/base/gtkadds.py b/stoqlib/gui/base/gtkadds.py
  89. index ca384e0..ebea36e 100644
  90. --- a/stoqlib/gui/base/gtkadds.py
  91. +++ b/stoqlib/gui/base/gtkadds.py
  92. @@ -32,6 +32,7 @@ def register_iconsets():
  93. ("stoq-searchtool-icon2", "searchtool-animation2.png"),
  94. ("stoq-searchtool-icon3", "searchtool-animation3.png"),
  95. ("stoq-searchtool-icon4", "searchtool-animation4.png"),
  96. + ("stoq-money", "money24px.png"),
  97. ("stoq-products", "products_24.png"),
  98. ("stoq-purchase-quote", "gnome-gnomine24px.png"),
  99. ("stoq-deliveries", "delivery24px.png"),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement