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
Marco Pesenti Gritti
655e4018f2
Do not show the battery device since it's not hooked up
2007-03-07 22:30:52 +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
Marco Pesenti Gritti
eefad0aeed
Do not try to add access points on model removed signal!
...
Some fixes to access point state.
2007-03-07 14:23:44 +01:00
Marco Pesenti Gritti
e62fcbd296
Call remove access point with the right signature
2007-03-05 20:32:39 +01:00
Marco Pesenti Gritti
8f57bf7c9d
Support running without network manager service.
...
Rework code to run without hardware manager service.
2007-02-26 14:42:39 +01:00
Marco Pesenti Gritti
4c23a821ef
Missing file
2007-02-26 14:11:55 +01:00
Marco Pesenti Gritti
6fadbde8bc
Fix up propagation of the state property changes
2007-02-26 13:20:36 +01:00
Marco Pesenti Gritti
fa1d25d441
Add a device-added signal
2007-02-26 12:26:10 +01:00
Marco Pesenti Gritti
89a91954c9
More work on network devices, getting there
2007-02-26 12:23:00 +01:00
Marco Pesenti Gritti
69b48ade35
s/essid/ssid
2007-02-25 21:19:18 +01:00
Marco Pesenti Gritti
4299dd6765
Cleanups
2007-02-25 17:51:30 +01:00
Marco Pesenti Gritti
66f26e4b8b
Fixup tooltips. Still not working for the home page case, since
...
the active device logic is pretty broken.
2007-02-25 17:34:15 +01:00
Marco Pesenti Gritti
e803f6534f
Add ssid tooltip to the home too. Not working yet.
2007-02-25 15:24:04 +01:00
Marco Pesenti Gritti
10bfe004a8
Fix strength propagation
2007-02-25 15:05:56 +01:00
Marco Pesenti Gritti
f907ceeae6
Display strength of wireless device/networks
2007-02-25 14:30:17 +01:00
Marco Pesenti Gritti
7c135804bc
Handle device removal
2007-02-25 12:36:44 +01:00
Marco Pesenti Gritti
38ac42d665
Activate the network on click
2007-02-25 12:17:45 +01:00
Marco Pesenti Gritti
06e0923687
First go at access points on the mesh view
2007-02-25 11:39:35 +01:00
Marco Pesenti Gritti
6a4170a51e
Get the wireless device to show.
2007-02-25 02:28:14 +01:00
Marco Pesenti Gritti
755250947a
Some work on the network devices
2007-02-25 02:00:40 +01:00
Tomeu Vizoso
cb0d75eb59
Rename IconColor to XoColor.
2007-02-23 13:09:33 +01:00
Marco Pesenti Gritti
2c896e35b1
Pass the right parameters to HomeActivity
2007-02-22 17:55:46 +01:00
Tomeu Vizoso
8679737d86
Rename for new API.
2007-02-22 17:39:06 +01:00
Marco Pesenti Gritti
fc805d3a88
Adapt to activity api change
2007-02-22 17:27:00 +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
e0dd1f5232
Infrastructure for the home page devices
2007-02-20 11:48:03 +01:00
Marco Pesenti Gritti
892caab0d8
Give precendence to user dir over system dir
2007-02-13 13:01:58 +01:00
Owen Williams
165bb9213f
Update look of activities donut to match wiki
...
If we remove current activity, set _current_activity to None
2007-01-31 11:16:33 -05:00
Tomeu Vizoso
9d13a9836d
Added new tool sugar-install-bundle.
2007-01-27 12:54:56 +01:00
Owen Williams
f2c3505f7e
Fix homemodel to return properly-ordered activities (based on timestamp)
2007-01-25 21:30:37 -05:00
Dan Williams
0c66dd5fa2
Re-enable buddy streams now that XMLRPC is fixed for python 2.5
2007-01-24 14:25:31 -05:00
Marco Pesenti Gritti
d36e20159e
Our xmlrpc implementation does not work with python 2.5.
...
Try/except it and log an error.
2007-01-20 13:46:32 +01:00
Marco Pesenti Gritti
297381cad7
Basic implementation of the shutdown graphics
2007-01-11 11:20:08 +01:00
John (J5) Palmieri
b2bf400b67
add import for sugar.graphics.IconColor
2007-01-10 16:55:12 -05:00
Dan Williams
e14c928640
Increase launch timeout to 20s
2007-01-09 14:21:40 -05:00
Marco Pesenti Gritti
429a7ff970
Ensure to emit an activity changed signal when closing the last window. Fix #690 .
2007-01-09 17:55:35 +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
8cea4c5fc6
Track activities while they launch
...
HomeModel now uses the activity ID to track activities, and creates
the HomeActivity object when the activity is launched, not when
its window appears.
2007-01-06 19:31:19 -05:00
Marco Pesenti Gritti
a4e1b6b3ff
Fix handling of the no activities case
2006-12-24 15:58:53 +01:00
Marco Pesenti Gritti
b3c2368eac
Complete the shell model/view split, finally
2006-12-24 15:39:00 +01:00
Marco Pesenti Gritti
0d1e07d9c3
Split ActivityHost in model/view. Refactor accordingly.
2006-12-24 14:35:02 +01:00
Marco Pesenti Gritti
2db2ae5312
Split model/view in the activities donut.
...
Provide some infrastructure for Alt+Tab implementation.
2006-12-24 12:19:24 +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
Justin Gallardo
b9f9ef0fe9
Changed all tabs to 4 spaces for python style
2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
518d2d61d0
Remove unused old registry code
2006-12-01 23:09:02 +01:00
Marco Pesenti Gritti
ba5d1b4804
Finish up porting to the new registry
2006-12-01 23:04:14 +01:00
Marco Pesenti Gritti
ee62ed69b4
Pick up system bundles even if xdg dir env is undefined
2006-11-05 18:14:00 +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
d150ac40cc
More work on bundles support
2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
077bc6a4f1
Do not return the whole dict, just the values!
2006-10-20 18:24:17 +02:00
Dan Williams
d784a906e4
Add initial buddies, protect against buddies we don't know about before using them
2006-10-19 15:07:21 -04:00
Marco Pesenti Gritti
4f81f305b2
Fix a race in the spread box. Adapt to api change.
2006-10-19 16:49:53 +02:00
Marco Pesenti Gritti
36e535a29a
More fixes
2006-10-19 16:12:55 +02:00
Marco Pesenti Gritti
cf13a7ff5b
Unregister the chat service on destroy.
2006-10-19 14:51:13 +02:00
Marco Pesenti Gritti
21aa37cc24
Do not assume when curactivity change we already know about that activity.
2006-10-19 13:28:59 +02:00
Marco Pesenti Gritti
bc0ee6d34c
Refactor startup. In progress, give me a couple hours.
...
For now start sugar with "sugar-emulator shell/sugar-shell"
2006-10-16 13:34:43 +02:00
Marco Pesenti Gritti
43bd44b407
Add GPL headers
2006-10-15 01:24:45 +02:00
Marco Pesenti Gritti
1f8ff1db1f
Move all the canvas code that doesn't depend on goocanvas anymore in graphics.
2006-10-04 00:55:20 +02:00
Ian Bicking
56281c804f
Revert "Make ShellModel emit signals on activity change, and make Owner listen for them. Fix Owner's current activity update code to actually update at the correct interval"
...
This reverts 906f5bbed0
commit.
2006-09-27 16:51:56 -05:00
Dan Williams
906f5bbed0
Make ShellModel emit signals on activity change, and make Owner listen for them. Fix Owner's current activity update code to actually update at the correct interval
2006-09-27 17:00:12 -04:00
Marco Pesenti Gritti
92e37fd904
Fix add and remove friends
2006-09-26 19:49:41 +02:00
Dan Williams
c9533d448b
Fix current activity handling
2006-09-26 13:39:42 -04:00
Dan Williams
550c201101
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-09-25 14:15:49 -04:00
Dan Williams
d0664dc801
Add icon-changed signal
2006-09-25 14:05:01 -04:00
Marco Pesenti Gritti
57992d3fb4
Handle None current activity case
2006-09-25 19:41:08 +02:00
Dan Williams
ea5b59dca7
Send buddy icon hash in presence service announcement too
2006-09-25 10:56:12 -04:00
Marco Pesenti Gritti
56229aad36
Write a mesh model and start using it in the mesh view
2006-09-25 16:01:11 +02:00
Dan Williams
da221ee84e
Add get_current_activity accessor
2006-09-24 23:12:46 -04:00
Dan Williams
d12c57895c
Add color-changed and current-activity-changed signals
2006-09-22 17:37:16 -04:00
Dan Williams
2031eb650a
- don't hardcode inactive buddy color
...
- shorten signal handler id variable names
- add appeared/disappeared signals to BuddyModel
- deal with buddy disappearance
2006-09-22 17:24:00 -04:00
Dan Williams
940329703f
Clean up buddy checking & retrieval; make constructor choice between name & real buddy explicit.
2006-09-22 16:35:03 -04:00
Dan Williams
2f7b3abef7
Monitor buddy property change signals on creation; misc cleanups
2006-09-22 15:49:16 -04:00
Dan Williams
801d020058
Don't die on malformed friends config file
2006-09-22 12:50:55 -04:00
Dan Williams
3c11feca6f
Start trying to deal with current activity changes
2006-09-21 16:49:25 -04:00
Marco Pesenti Gritti
09db49cc18
s/BuddyInfo/BuddyModel
2006-09-20 12:27:38 +02:00
Dan Williams
d0f23744f0
Use asynchronous service resolution to capture service updates too
2006-09-19 13:54:32 -04:00
Marco Pesenti Gritti
1f3187e0b5
Cleanup shell model/view separation
2006-09-18 11:48:33 +02:00
Marco Pesenti Gritti
11a013aff2
For the owner show only nick name
2006-09-16 10:46:10 +02:00
Dan Williams
922b7238b9
Merge
2006-09-15 16:50:06 -04:00
Marco Pesenti Gritti
e79a5f5e98
Really fix invites
2006-09-15 16:19:56 +02:00
Marco Pesenti Gritti
fe64b7c6d4
Fix invites
2006-09-15 16:04:30 +02:00
Marco Pesenti Gritti
a2655faa7d
Fix makefiles
2006-09-15 15:35:20 +02:00
Marco Pesenti Gritti
7b37c4d38b
Fix opening new activities
2006-09-15 15:30:46 +02:00
Marco Pesenti Gritti
f2f25f874d
Implement friends removal, lots of cleanups
2006-09-15 15:28:18 +02:00
Marco Pesenti Gritti
ca19f0f251
Move the model to his own module
2006-09-15 12:52:37 +02:00