Commit Graph

153 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
e25c95ebaf My brain is dead, it really is. Actually setup gettext on the server... 2007-03-23 17:57:36 +01:00
Marco Pesenti Gritti
dd6b0c0b7e Remove debug code 2007-03-23 17:46:55 +01:00
Marco Pesenti Gritti
6352ea9e20 Unused 2007-03-23 17:45:48 +01:00
Marco Pesenti Gritti
ba242f34b7 Fix locale path handling 2007-03-23 17:43:40 +01:00
Marco Pesenti Gritti
ca9199e994 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-23 17:27:47 +01:00
Marco Pesenti Gritti
d17e733677 Add support to read linfo.
Refactor locale to actually use gettext.
2007-03-23 17:27:31 +01:00
Tomeu Vizoso
5881121ad4 Added operations genpot and genmo to bundlebuilder.py for localization. 2007-03-23 15:26:37 +01:00
Tomeu Vizoso
c820ca1aa6 First step at activities localization. 2007-03-23 10:35:48 +01:00
Marco Pesenti Gritti
08b378e5f8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-19 15:19:56 +01:00
Tomeu Vizoso
07b8cad5b9 Set the DPI on activity startup. In the future we should have a xsetting for this. 2007-03-19 14:24:35 +01:00
Marco Pesenti Gritti
154a0e91ff Create ~/Activities only when necessary 2007-03-18 13:48:34 +01:00
Tomeu Vizoso
4fbfd1625c Make create_activity_id() a public function. 2007-03-15 12:47:10 +01:00
Marco Pesenti Gritti
a5d303f9ff Smarter bundle name matching 2007-03-09 16:55:18 +01:00
Marco Pesenti Gritti
d3493aea9e Smarter sugar-activity which can make itself the factory and open
one instance.
2007-03-09 16:35:53 +01:00
Marco Pesenti Gritti
57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
dacf05fcd9 Intialize the service to None, we are freeing it later. 2007-03-07 10:59:48 +01:00
Owen Williams
2c7a22b157 Fix bug for activities with spaces in the name 2007-03-06 08:01:46 -05:00
John (J5) Palmieri
b21f1a3b80 workaround to fix blocking when launching activities
* set follow_name_owner_changes to true when creating a proxy for an activity
  which causes proxies to be late bound and not make a blocking call to
  start a service
2007-03-05 16:14:11 -05:00
Tomeu Vizoso
d027761209 Added create_with_object_id() func. 2007-03-02 22:22:19 +01:00
Marco Pesenti Gritti
8763d9d5e2 Typo 2007-03-02 22:22:20 +01:00
Marco Pesenti Gritti
1cadd9c1ce Add object_id 2007-03-02 21:58:36 +01:00
Marco Pesenti Gritti
5f288b68c9 Typo 2007-02-27 23:19:02 +01:00
Marco Pesenti Gritti
e478de4224 Use Window, add a compatibility hack to not break API 2007-02-27 15:05:44 +01:00
Marco Pesenti Gritti
3b7670a364 Don't present from inside the Activity constructor 2007-02-24 17:40:18 +01:00
Tomeu Vizoso
a2e5b9308e Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color. 2007-02-23 17:08:37 +01:00
Marco Pesenti Gritti
fc805d3a88 Adapt to activity api change 2007-02-22 17:27:00 +01:00
Marco Pesenti Gritti
c4435397fc Remove bundle specific stuff from env.
Move get_bundle_path to activity.
2007-02-22 15:55:07 +01:00
Marco Pesenti Gritti
02f375b710 Add a class attribute as per the updated spec.
Cleanups.
2007-02-22 15:46:13 +01:00
Marco Pesenti Gritti
995c59cb3e Make sugar-activity-factory just a wrapper. 2007-02-22 14:11:50 +01:00
Marco Pesenti Gritti
1b5ac988d7 Put exec back, I forgot it was used by the camera.
Helper method to create an activity with an uri.
2007-02-22 01:23:58 +01:00
Marco Pesenti Gritti
0b6b6cd6ac Cleanup the Activity API, code needs more love. 2007-02-22 00:57:49 +01:00
Marco Pesenti Gritti
0d7bdeb20a Improve handle marshalling. Add an uri to the handle. 2007-02-22 00:41:26 +01:00
Marco Pesenti Gritti
0556d5f51f Fix caps 2007-02-22 00:14:00 +01:00
Marco Pesenti Gritti
5cf2b49cc1 Add an handle argument to the factory and to the activity constructor. 2007-02-22 00:07:08 +01:00
Marco Pesenti Gritti
9ba487fa1f Generate the id in ActivityFactory. I want it to be easy to
run activities without using the shell. Some regression in
the debug messages, which I'll fix as part of further
refactoring.
2007-02-21 20:56:14 +01:00
Marco Pesenti Gritti
ef3f861954 Fix caps 2007-02-21 20:20:36 +01:00
Marco Pesenti Gritti
70da5fa7bd More cleanups 2007-02-21 20:15:39 +01:00
Marco Pesenti Gritti
3fa653ed63 Split out Activity client/server 2007-02-21 19:39:11 +01:00
Marco Pesenti Gritti
3d3c730f22 Rename the class 2007-02-21 18:09:02 +01:00
Marco Pesenti Gritti
11264b48b2 Split factory client and server 2007-02-21 18:06:39 +01:00
Marco Pesenti Gritti
7db372cc1c Make bundle registry a singleton. Get the object path from the registry. 2007-02-21 17:53:44 +01:00
Marco Pesenti Gritti
f5b13b716e Do not expose the service names from Activity.
This create quite a bit of duplication, but I have to start somewhere cleaning this mess :/
2007-02-21 17:28:49 +01:00
Marco Pesenti Gritti
7e96b1afb7 Get rid of the old grid. Never use absolute positioning. 2007-02-20 16:23:49 +01:00
Marco Pesenti Gritti
39678b8bb8 Patch by Owen Williams to accept custom MANIFEST filename. 2007-02-08 22:27:03 +01:00
Marco Pesenti Gritti
c44084df09 Make the icon colors list private 2007-02-07 16:55:22 +01:00
Marco Pesenti Gritti
292c648612 Use MANIFEST instead of MANIFEST-OLPC.
Package activity/ and setup.py stuff by default.
2007-02-07 11:33:24 +01:00
Tomeu Vizoso
9b6d7c6292 Simple fix for getting the activities dir. 2007-02-03 11:10:49 +01:00
Marco Pesenti Gritti
6527077928 Do not look in the icon theme for activity icons 2007-01-31 15:00:13 -05:00
Tomeu Vizoso
9d13a9836d Added new tool sugar-install-bundle. 2007-01-27 12:54:56 +01:00
Marco Pesenti Gritti
4cdf88f31d Do not hardcode /usr/bin/python 2007-01-20 13:38:58 +01:00