Commit Graph

2389 Commits

Author SHA1 Message Date
Dan Williams
9d837710f5 Listen for and respond to Owner property changes
Pass the PS's owner object to each plugin.  Make the server plugin
listen to property changes and push those changes to the Jabber
server when they occur.
2007-03-09 16:29:49 -05:00
Dan Williams
d299cd4032 Update Owner properties on signals from the Shell
Listen to the shell's D-Bus service for property updates
of the Owner, and push those into the presence service.

Add test code to randomly change the properties, useful
when running the PS standalone without a shell.
2007-03-09 16:28:35 -05:00
Dan Williams
f5c60b44c1 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 15:36:20 -05:00
Marco Pesenti Gritti
cc7ad2d42b Missing imports 2007-03-09 17:43:55 +01:00
Marco Pesenti Gritti
b8cc8ec68f Drop support for running from source dir. As it is now it's just confusing.
Will have to figure out the exact needs and rewrite in a better way.
2007-03-09 17:38:05 +01:00
Marco Pesenti Gritti
6c5d28ecf5 Save also the sugar session display and use it in sugar-activity. 2007-03-09 17:29:03 +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
Dan Williams
f1aa2cf11a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 10:18:37 -05:00
Dan Williams
723bd21e77 Require jpeg format buddy icon
Since the intro screen ensures that a buddy icon exists and
is in jpg format, we can simplify the buddy icon code in the
ShellOwner object.
2007-03-09 10:18:23 -05:00
Marco Pesenti Gritti
1587218e9e Remove unused files 2007-03-09 15:07:08 +01:00
Marco Pesenti Gritti
8a98cdc6e0 Fix matchbox invocation 2007-03-09 14:59:47 +01:00
Marco Pesenti Gritti
62a1b69bcf Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 14:58:09 +01:00
Marco Pesenti Gritti
57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Tomeu Vizoso
410e58aa6f Fix typo. 2007-03-09 14:32:43 +01:00
Marco Pesenti Gritti
a380b7f915 Move data to be relative to the code. 2007-03-09 14:07:17 +01:00
Marco Pesenti Gritti
73c1dbe4a7 CLeanup emulator shutdown 2007-03-09 13:53:26 +01:00
Marco Pesenti Gritti
6afd512d55 Cleanup kbd config passing 2007-03-09 13:47:17 +01:00
Marco Pesenti Gritti
c255a7b544 Remove unused var 2007-03-09 13:28:00 +01:00
Marco Pesenti Gritti
66e341c58e Use button_press virtual method instead of the connect_after hacks. 2007-03-09 13:12:52 +01:00
Marco Pesenti Gritti
2d9a06ec9a Add the root path of the services to python path, not services/.
Get rid of the now useless env.get_services_dir
2007-03-09 12:32:32 +01:00
Marco Pesenti Gritti
810bea6772 Remove unused var 2007-03-09 12:08:10 +01:00
Marco Pesenti Gritti
1d70e212c7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 11:24:38 +01:00
Marco Pesenti Gritti
cda47a41f4 Implement ToggleIconButton 2007-03-09 11:22:51 +01:00
Dan Williams
8dc201bc5f Expose owner details through the Shell's DBus service
For security, we need the PresenceService to listen for changes to the
owner's attributes, like changed color, nickname, icon, and current activity,
rather than having D-Bus API in the PS itself that any process could call.

So, the shell provides signals when these attributes change, which the PS
listens to and pushes out over the network accordingly.
2007-03-08 22:17:33 -05:00
Dan Williams
5210231e8f Merge 2007-03-08 12:52:19 -05:00
Dan Williams
d46382921a Convert Activity objects to gobjects and ensure validity before using 2007-03-08 12:51:10 -05:00
Guillaume Desmottes
6247c61ee7 add mising "=" 2007-03-08 16:43:04 +01:00
Guillaume Desmottes
afcfdaa239 add GetType() method on Activity 2007-03-08 16:16:06 +01:00
Marco Pesenti Gritti
e9f3099635 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-08 15:50:54 +01:00
Marco Pesenti Gritti
751fa0f663 Correct sugar-shell path logic 2007-03-08 15:50:29 +01:00
Guillaume Desmottes
517bab0973 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-03-08 15:50:23 +01:00
Guillaume Desmottes
2312aa6a99 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-03-08 15:47:40 +01:00
Guillaume Desmottes
2262b5fd49 update nick when receive AliasChanged signal 2007-03-08 15:45:12 +01:00
Tomeu Vizoso
66b1c48211 Remove theme hack for tests. Marco has fixed the tests in sugar-emulator. 2007-03-08 11:47:39 +01:00
Marco Pesenti Gritti
e1f0ba15f4 Make sugar-emulator [program] actually work again 2007-03-08 11:44:00 +01:00
Marco Pesenti Gritti
8ddaa516b3 Add a default picture, so that we don't force people to find one.
Implementation is ugly but the cleanest I could come with :(
2007-03-08 01:33:55 +01:00
Marco Pesenti Gritti
655e4018f2 Do not show the battery device since it's not hooked up 2007-03-07 22:30:52 +01:00
Tomeu Vizoso
08e6546489 Fix for keyboard focus bug when <alt>f. 2007-03-07 22:23:11 +01:00
Dan Williams
44f00a9cd8 Fix traceback due to bad merge 2007-03-07 16:24:21 -05:00
Dan Williams
a2bd1194f3 Work around bus-python bug with named exceptions 2007-03-07 16:23:52 -05:00
Dan Williams
11320e8883 Ensure entry can accept input 2007-03-07 16:23:33 -05:00
Dan Williams
4c05c4247c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-07 14:22:16 -05:00
Guillaume Desmottes
abf60c1c89 add GetName method 2007-03-07 20:09:40 +01:00
Dan Williams
9fa72e4cba Remove some erroneous error handler code 2007-03-07 13:56:22 -05:00
Guillaume Desmottes
cb2489bff6 implement ActivityInvitation and PrivateInvitation signals 2007-03-07 19:46:48 +01:00
Guillaume Desmottes
c07596a1ea Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-03-07 18:12:46 +01:00
Dan Williams
550fe95b5a Clean up sugar + NM client interaction
Change "init-failed" signal to 'initialized' so uninitialized
devices don't leak in the sugar model.

Get rid of 'ssid-changed' signal on Network objects, makes no
sense conceptually, plus new 'initialized' signal replaces
what it was used for.
2007-03-07 11:40:04 -05:00
Guillaume Desmottes
9b52da2247 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-03-07 15:27:57 +01:00
Guillaume Desmottes
139b190650 catch invitations request 2007-03-07 15:27:47 +01:00