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
Marco Pesenti Gritti
4c07e090fa
Get the icon from activity not root
2007-01-12 21:48:06 +01:00
Marco Pesenti Gritti
6971ddb9a4
Support for activity icons inside the bundle.
...
Patch by Gonzalo Odiard <godiard@gmail.com>
Modified by me to allow icon theme to override the bundle one.
2007-01-12 21:35:53 +01:00
Dan Williams
fb716ae046
Make activity launching asynchronous
...
The ActivityFactory create() method now returns a handler GObject,
which callers may attach signals to to receive success and error
signals from the result of the activity launch request.
2007-01-07 00:04:30 -05:00
Dan Williams
b27257fadb
Make shell responsible for activity ID generation
...
Enables tracking of activity launch throughout the whole process, so that
the shell can be aware of the activity ID from the moment the activity
is started by the shell, until the activity becomes active. Previously,
the activity itself generated its own ID and told the shell what it was.
2007-01-06 16:29:13 -05:00
Marco Pesenti Gritti
e8b8e0e367
Do not try to connect to notify::title, for some reason it breaks the browser.
...
It was only used for the journal anyway.
2007-01-05 11:18:24 +01:00
Marco Pesenti Gritti
53b14ad081
Comment out the journal stuff for now.
2007-01-05 10:58:29 +01:00
Marco Pesenti Gritti
0d1e07d9c3
Split ActivityHost in model/view. Refactor accordingly.
2006-12-24 14:35:02 +01:00
Marco Pesenti Gritti
db6f615198
Start the journal activity by default
2006-12-24 02:59:20 +01:00
Marco Pesenti Gritti
dce69ef995
Refactor a bit to simply __init__
2006-12-24 02:51:37 +01:00
Marco Pesenti Gritti
d56ccc60e7
Update help message, thanks again to erikos
2006-12-21 14:21:58 +01:00
Marco Pesenti Gritti
95a878036c
Typo, thanks to erikos!
2006-12-21 14:17:44 +01:00
Marco Pesenti Gritti
5623c8a3b1
Change the Activity execute method to add a result boolean (handle/not handled).
...
When the camera key is pressed the Shell send and command to the active activity,
if that's not handled than it startup org.laptop.CameraActivity.
2006-12-21 12:37:02 +01:00
Marco Pesenti Gritti
e023d1c345
Get back mesh view to work. It got broken when refactoring bundles.
2006-12-20 13:58:29 +01:00
Marco Pesenti Gritti
99cce220cd
Get the default type from env, clean stuff a bit
2006-12-20 13:43:54 +01:00
Marco Pesenti Gritti
ab3535e6fd
Guard against multiple activities start
2006-12-20 13:24:37 +01:00
Marco Pesenti Gritti
1c1fd35541
Present the window only after start/join
2006-12-20 00:53:27 +01:00
Marco Pesenti Gritti
6b09475b99
Add a start method to the activity. It's parallel/alternative to join.
2006-12-18 14:24:28 +01:00
Marco Pesenti Gritti
ad31376488
Add docstring, missing import
2006-12-18 14:05:34 +01:00
Marco Pesenti Gritti
956256313a
Get the activity type from env, rather than requiring set_type
2006-12-18 13:56:41 +01:00
Marco Pesenti Gritti
e0bd5d1df4
Cleanup activity factory startup, remove duplicated argument from the Exec field
2006-12-18 13:47:49 +01:00
Marco Pesenti Gritti
474313ffde
Fix dev command
2006-12-13 01:37:03 +01:00
Owen Williams
a21af251e1
Added support for MANIFEST-OLPC files in bundlebuilder
2006-12-04 16:06:12 -05:00
Owen Williams
b8f44c00c7
Added support for MANIFEST-OLPC files in bundlebuilder
2006-12-04 16:05:09 -05:00
Justin Gallardo
b9f9ef0fe9
Changed all tabs to 4 spaces for python style
2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
6971c1a676
Add FIXME about Exec field
2006-12-01 23:25:14 +01:00
Marco Pesenti Gritti
165fe0b00e
Several cleanups
2006-12-01 23:23:58 +01:00
Marco Pesenti Gritti
6bdda47901
Since service name and bundle id corrisponds, there
...
is no need to query the register anymore.
2006-12-01 22:22:09 +01:00
Marco Pesenti Gritti
cf156fac07
Get rid of our custom dbus config, simplify stuff
2006-12-01 21:24:24 +01:00
Marco Pesenti Gritti
86770c93fd
Forgot to add file
2006-11-27 17:43:44 +01:00
Marco Pesenti Gritti
cb70561dcd
Add a simple bundle builder, based on the setup.py we
...
have been using for btest-1
2006-11-27 14:56:48 +01:00
Eduardo Silva
d51031d882
New developer-console
2006-11-16 14:47:07 +01:00
Marco Pesenti Gritti
9a7518f230
Get rid of dbus 0.94 compatibility, since we build dbus in jhbuild now. Yay!
2006-11-16 11:07:30 +01:00
Marco Pesenti Gritti
503d21cff4
show_launcher true by default
2006-11-03 16:18:03 +01:00
Marco Pesenti Gritti
da3c550bfd
Fix show_launcher logic
2006-11-03 16:01:46 +01:00
Marco Pesenti Gritti
561169809b
Install services in user dir if dbus is recent enough.
2006-11-02 20:16:36 +01:00
Marco Pesenti Gritti
26b04db5e3
Add activity_version support
2006-11-02 11:10:37 +01:00
Marco Pesenti Gritti
8571920734
Tweak activity search path. Use ~/Activities and XDG_DATA_DIRS/activities
2006-10-31 13:10:34 +01:00
Marco Pesenti Gritti
cb285aba06
Get running activities to work. Still hacky.
2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
92f37d31da
Several fixes, generate the service, add a test bundle
2006-10-31 10:48:45 +01:00
Marco Pesenti Gritti
b44dac1010
Don't crash if bundles dir doesn't exist in the profiles
2006-10-29 21:03:28 +01:00
Marco Pesenti Gritti
9a0401e0d0
Fix makefiles
2006-10-29 19:09:13 +01:00
Marco Pesenti Gritti
d150ac40cc
More work on bundles support
2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
87274fd89f
Initial bundle registry code
2006-10-29 18:28:48 +01:00
Dan Williams
fe448938b1
Add default_type accessort to Activity class
2006-10-20 12:30:29 -04:00
Marco Pesenti Gritti
96867a37bf
Fix browser initialization
2006-10-17 14:51:20 +02:00
Marco Pesenti Gritti
615242f4f8
Add LGPL header
2006-10-15 01:08:44 +02:00
Marco Pesenti Gritti
1df5b0020d
Fix get_published_values to actually return the dict.
...
Get rid of the activity title property, we are not using it anyway.
2006-10-13 13:03:24 +02:00
Marco Pesenti Gritti
395472edea
Shutdown the factory when all activities has been destroyed.
...
Initialize the profile.
2006-10-13 11:24:07 +02:00
Marco Pesenti Gritti
d01a5cdf95
Move font size in the theme
2006-10-12 02:59:20 +02:00
Marco Pesenti Gritti
d791577e79
Set default font size to 14
2006-10-11 21:55:10 +02:00
Marco Pesenti Gritti
0ec5283081
Adapt gtk icon size to the grid
2006-10-11 19:58:57 +02:00
Marco Pesenti Gritti
72d43fde28
Add a start method to the activity module, for initialization.
2006-09-26 22:12:18 +02:00
Marco Pesenti Gritti
01c4658ee0
Make conf private, expose the nick name from env
2006-09-04 21:34:54 +02:00
Marco Pesenti Gritti
98c301568d
Remove unnecessary method from the dbus service
2006-09-02 11:43:32 +02:00
Marco Pesenti Gritti
58a79eb123
Get rid of default type from the activity definition.
...
Modify code to use activity type id instead, except
from mapping service to activity.
2006-09-02 10:54:34 +02:00
Marco Pesenti Gritti
7fe9f84a0a
Initialize the service to None
2006-08-25 01:06:37 +02:00
Marco Pesenti Gritti
fc1aefc72c
Use dbus-launch with the --exit-with-session. dbus not exiting still not fully solved.
2006-08-12 01:29:55 +02:00
Marco Pesenti Gritti
9585330e43
Add a way to enable/disable displaying debug messages
2006-08-11 17:05:06 +02:00
Marco Pesenti Gritti
9b12b11534
Get one-to-one chat back to work
2006-08-10 00:54:54 +02:00
Marco Pesenti Gritti
0dcaf314f7
Several fixes and cleanups
2006-08-09 18:29:33 +02:00
Marco Pesenti Gritti
95d9b7fe8e
More work on the chat. Fix terminal api
2006-08-09 15:53:10 +02:00
Marco Pesenti Gritti
7db5479c5c
It's not necessary to pass the default_type around anymore.
2006-08-09 13:01:47 +02:00
Marco Pesenti Gritti
7e85c5160e
Setup the activity from the shell process, through dbus,
...
this simplifies things a lot...
2006-08-09 12:57:42 +02:00
Marco Pesenti Gritti
4d67407f6a
Cleanups
2006-08-09 02:13:56 +02:00
Marco Pesenti Gritti
70485218c0
Split the factory to his own module
2006-08-09 02:02:34 +02:00
Marco Pesenti Gritti
7ab6da7278
Actually join the activity, check for duplicates in the model.
2006-08-09 01:50:35 +02:00
Marco Pesenti Gritti
c6d59fd7b4
Improve the activity api
2006-08-09 01:08:19 +02:00
Marco Pesenti Gritti
f1821704e7
Cleanups and document a bit
2006-08-08 12:34:04 +02:00
Marco Pesenti Gritti
892c61e63a
Publish and use title for the activities model
2006-08-08 12:08:16 +02:00
Marco Pesenti Gritti
2535a88645
Use the default service to get activity informations, instead
...
of Activity ps object.
2006-08-08 12:01:45 +02:00
Marco Pesenti Gritti
544e47cbe0
Move activity service registration in Activity
2006-08-07 16:42:36 +02:00
Marco Pesenti Gritti
9274f9707f
Remove args from the factory interface
2006-08-07 16:26:54 +02:00
Marco Pesenti Gritti
d919848324
Rework to not use protected API
2006-08-07 11:08:10 +02:00
Marco Pesenti Gritti
86bd6f50f0
Use dbus activation to launch factories. This breaks
...
p-to-p chat and ./sugar/activities. Will fix tomorrow.
2006-07-28 01:25:08 +02:00
Marco Pesenti Gritti
0947581a11
A bunch of fixes...
2006-07-26 12:57:54 +02:00
Dan Williams
80b92fe2aa
Merge branch 'master' of git+ssh://dcbw@dev.laptop.org/git/sugar
2006-07-25 19:04:20 -05:00
Dan Williams
164add907d
Make shareActivity work
2006-07-25 19:04:15 -05:00
Marco Pesenti Gritti
2e58cc8786
Work around for dbus locking issue
2006-07-26 01:14:31 +02:00
Dan Williams
e5065263a9
s/publish/share
2006-07-25 17:17:05 -05:00
Dan Williams
8d232ae292
Fix spacing
2006-07-25 16:46:09 -05:00
Marco Pesenti Gritti
48a21ef143
Add each activity to a separate window group to get
...
a correct behavior with transient windows in matchbox.
Thanks to Matthew Allum for suggesting this.
2006-07-20 17:52:31 +02:00
Marco Pesenti Gritti
d6ec6db880
Make the console contextual to the activity and use the
...
window manager to activate it.
2006-07-20 12:13:47 +02:00
Marco Pesenti Gritti
5daa5aa69b
Missing return, yay for python
2006-07-19 19:35:32 +02:00
Marco Pesenti Gritti
21b46a0022
Bunch of fixes, sharing should be back to work
2006-07-15 12:31:06 +02:00
Marco Pesenti Gritti
db08c3795f
Read service type from the .activity file
2006-07-14 16:40:45 +02:00
Marco Pesenti Gritti
2bbedf988b
Fix a bunch of bugs, more cleanups
2006-07-12 22:17:57 +02:00
Marco Pesenti Gritti
d12b780074
More work on session refactoring
2006-07-12 17:21:22 +02:00
Marco Pesenti Gritti
be806eb191
More cleanups and some fixes
2006-07-12 14:02:29 +02:00
Marco Pesenti Gritti
ca2b08f8b6
Cleanup and document session creation and activity registry
2006-07-12 13:20:41 +02:00
Marco Pesenti Gritti
9f9f420863
Add tasks to the home window. A bunch of fixes.
2006-07-10 13:42:34 +02:00
Marco Pesenti Gritti
1cc14e406a
More work on the window management refactor
2006-07-09 17:37:54 +02:00
Marco Pesenti Gritti
d4cb9a2714
More work on the new design
2006-07-08 15:47:51 +02:00
Marco Pesenti Gritti
2999244b54
Stat refactoring the shell to use windows rather than tabs.
...
Initial implementation of the new activity menu
2006-07-08 11:55:33 +02:00
Marco Pesenti Gritti
270bb8aaf6
This should fix one-to-one chat, can't test now though
2006-07-06 23:08:35 +02:00
Marco Pesenti Gritti
6f9ae0c769
Initialize the console
2006-07-06 16:06:07 +02:00
Marco Pesenti Gritti
85ff44db1c
Forgot to commit changes... This breaks one-to-one chat,
...
I'm going to fix it.
2006-07-06 15:59:48 +02:00
Dan Williams
7e50e0c8a1
Use correct arguments
2006-06-23 11:17:33 -04:00
Dan Williams
22dd92db71
Remove debug print
2006-06-23 11:13:47 -04:00
Dan Williams
f2ef2a6847
Make activities emit an ActivityShared dbus signal; and have the shell & presence window detect that and disable the 'share' button
2006-06-22 22:42:29 -04:00
Dan Williams
2840af85ce
Stop abusing ZeroConf by overloading the service type field; overload the service name field instead like everyone else does
2006-06-22 14:05:38 -04:00
Marco Pesenti Gritti
37ad383be3
Forgot to add these
2006-06-21 16:06:56 -04:00
Marco Pesenti Gritti
9ea6805174
More work on packages refactoring, mostly working
2006-06-21 16:05:52 -04:00
Marco Pesenti Gritti
f4e2791c89
Big refactor of the directory structure and packages to
...
reflect private/public
2006-06-21 14:23:18 -04:00