Dan Williams
2d6e577a16
Enable caching of rendered icon surfaces during launch feedback
2007-01-14 18:22:43 -05:00
Dan Williams
8ca1e36b7f
Optionally cache rendered icon surfaces
2007-01-14 18:20:43 -05:00
Dan Williams
8e614af2de
Precompute color fade values; longer redraw interval
...
cycles be precious, don't waste them
2007-01-14 14:22:12 -05:00
Dan Williams
ff2776ef25
Use themed stock-missing
2007-01-14 14:08:24 -05:00
Dan Williams
185b14130b
Optimize the CanvasIcon cache
...
- Cache all icons, not just themed ones
- Clear icons from the cache if it gets too big
2007-01-14 13:59:11 -05:00
Dan Williams
018867a9a8
Remove debug print
2007-01-08 22:56:45 -05:00
Dan Williams
621a9b1680
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-01-08 22:55:19 -05:00
Dan Williams
e7956a7bc1
Pulse icons while activity is launching
...
Saturate/desaturate the icon's colors on a sin curve while launching
2007-01-08 22:55:12 -05:00
Dan Williams
0265f06b3e
Add a _sugar.cairo_surface_from_gdk_pixbuf() function
...
generic function to create a surface from a gdk pixbuf
2007-01-07 01:20:42 -05:00
Dan Williams
70a5e27edd
Refactor activity icon handling in the Home View donut
...
Give each activity icon in the donut its own class to track
launch status in preparation for pulsing launch feedback.
2007-01-07 01:18:57 -05: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
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
Dan Williams
5512f8461b
Re-enable buddy icons in rollover menus
2006-12-21 02:10:21 -05:00
Dan Williams
af889e2b89
Add function to set the 'image' property of a HippoCanvasImage
2006-12-21 02:09:05 -05:00
Dan Williams
b960533fb4
Convert shared activity type to an activity bundle service name for activation via DBus
2006-12-20 23:42:16 -05:00
Dan Williams
e586cd66c0
Add activity objects to the data store
2006-12-20 14:04:52 -05:00
Dan Williams
d46c922350
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-12-19 17:50:25 -05:00
Dan Williams
5aedeae62f
Validate colors; ensure that Owner's color is a string
2006-12-19 17:50:13 -05:00
Dan Williams
f63456c089
Tell activities to start after launching them
2006-12-19 16:35:24 -05:00
Dan Williams
baab27377f
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-12-19 16:00:55 -05:00
Dan Williams
cebf9cfe33
Use correct DBus session bus when launching activities
2006-12-19 16:00:50 -05:00
Dan Williams
5103f1fb27
run data store from emulator when needed
2006-12-14 17:21:46 -05:00
Dan Williams
72b5383214
Export session bus address for testing purposes
2006-12-14 17:21:25 -05:00
Dan Williams
461b5ae2a9
Fix name so imports work
2006-12-14 17:21:04 -05:00
Dan Williams
238912cc21
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-12-14 13:45:16 -05:00
Dan Williams
cb38a2c1fa
Install a service file for activating the datastore upon demand
2006-12-14 13:45:13 -05:00
Dan Williams
039ac19432
datastore fixes
2006-12-11 17:25:48 -05:00
Dan Williams
dbca112368
don't allow blank property values in find(); handle property deletion
2006-12-11 10:59:30 -05:00
Dan Williams
74d9555796
Remove useless dbus service file; the datastore is a session service and doesn't need one
2006-12-11 08:02:09 -05:00
Dan Williams
ff53fdc185
Add a simple prototype data store
2006-12-11 07:55:01 -05:00
Dan Williams
fefe201d24
Patch from Owen Williams:
...
Switch terminal colors to black-on-white for readability, especially in
no-backlight situations.
2006-12-07 12:55:56 -05:00
Dan Williams
880842dd86
don't kill the shell when a non-activity window is brought to front
...
(cherry picked from 5f03e1deb014d91af7deea5051011a67bc2dde5c commit)
2006-11-17 15:31:53 -05:00
Dan Williams
0c47294dbd
Merge
2006-11-16 16:55:58 -05:00
Dan Williams
a029157488
Remap keys to match OLPC keyboard and use Shift+Alt for non-OLPC machines
2006-11-16 16:50:36 -05:00
Dan Williams
b51b2917d0
Rearrange keymappings for the real B1 machines' keyboards
...
(cherry picked from cda50cbf099f1db64f3cd95aeb05b54444fd66d0 commit)
2006-11-15 17:13:45 -05:00
Dan Williams
3919643c7d
Expose local name collision errors (ie, somebody else registered that service)
2006-10-02 17:11:20 -04:00
Dan Williams
3524042ad7
Update makefile
2006-10-02 15:46:37 -04:00
Dan Williams
88da2c7e2d
Update makefile
2006-10-02 15:41:44 -04:00
Dan Williams
fc9c923da9
Ignore local name collisions again
2006-09-29 16:53:42 -04:00
Dan Williams
ca56406aa4
Add OverlayWindow to makefile
2006-09-29 16:46:12 -04:00
Dan Williams
72562502b9
Add composited overlay window underneath chat
2006-09-29 13:35:48 -04:00
Dan Williams
ba05afdc53
Activate chat service when activity gets shared
2006-09-28 17:08:42 -04:00
Dan Williams
a09dc48669
Fix missing icon check
2006-09-28 17:03:24 -04:00
Dan Williams
8e7fe5dd65
Deal with missing icons
2006-09-28 17:00:15 -04:00
Dan Williams
5db9888666
Set default chat window size
2006-09-28 17:00:03 -04:00
Dan Williams
a55242d798
Center chat window, and give it a frame
2006-09-28 16:20:48 -04:00
Dan Williams
e2225c443f
Initialize _frame_was_visible, and move signal connections lower
2006-09-28 16:13:48 -04:00
Dan Williams
ef539c50d9
Fix frame behavior on chat; when we show the chat remember previous frame state and return to it when we hide chat
2006-09-28 16:12:07 -04:00
Dan Williams
a91738d3a9
Default values for args for do_slide_in and do_slide_out, and add is_visisble()
2006-09-28 16:11:29 -04:00
Dan Williams
5a6a0d2d7d
Start making activity chat work; hit F9 to activate
2006-09-28 15:52:56 -04:00
Dan Williams
e95e6c2a4e
Import the PS correctly
2006-09-28 15:51:40 -04:00
Dan Williams
ddef3947d4
Import gobject
2006-09-28 14:45:32 -04: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
Dan Williams
22be6cb0da
Work around bug where Avahi passes back a blank service type; and don't traceback on invalid service types
2006-09-27 16:47:23 -04:00
Dan Williams
70cbd90c7a
Fix signal args
2006-09-27 15:01:40 -04:00
Dan Williams
71b0e7c3a9
Don't traceback on unknown image formats
2006-09-27 14:27:17 -04:00
Dan Williams
0064e6c3ff
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-09-27 11:43:27 -04:00
Dan Williams
9ce768ca39
Add and remove activities to/from Buddy objects at appropriate times
2006-09-27 11:35:34 -04:00
Dan Williams
38e85f3987
Ignore duplicate activity additions
2006-09-27 11:35:15 -04:00
Dan Williams
ba21a36ef8
Correctly deal with current activities on startup, buddy presence changes, and current activity changes
2006-09-26 13:40:52 -04:00
Dan Williams
c9533d448b
Fix current activity handling
2006-09-26 13:39:42 -04:00
Dan Williams
ce577a6376
Refactor current activity handling to be top-level attributes and D-Bus signals, not stuck in the property dict
2006-09-26 13:31:14 -04:00
Dan Williams
31c69ed167
Hook up Buddy.add_activity() and Buddy.remove_activity()
2006-09-26 13:23:12 -04:00
Dan Williams
ef24aa7553
Scale the icon to a paritcular size
2006-09-25 15:36:40 -04:00
Dan Williams
5343a4d6ef
Fix mixup of set_constraints() args
2006-09-25 15:27:52 -04:00
Dan Williams
6e28f4467d
Add buddy icon to the buddy menu
2006-09-25 15:20:28 -04:00
Dan Williams
d585a251bd
Do simple height-flow layout on menu items, and add an add_image() function
2006-09-25 15:20:08 -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
0e67d939a8
Set icon cache earlier
2006-09-25 14:15:42 -04:00
Dan Williams
d0664dc801
Add icon-changed signal
2006-09-25 14:05:01 -04:00
Dan Williams
7ba30ea0d2
Clean up debug messages
2006-09-25 13:42:37 -04:00
Dan Williams
b1354cf711
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-09-25 13:24:40 -04:00
Dan Williams
e89c88b191
Fix location of cache debug prints
2006-09-25 13:24:27 -04:00
Dan Williams
5e3d56fe77
Rename function to match previous _request_buddy_icon->_get_buddy_icon
2006-09-25 13:15:36 -04:00
Dan Williams
709eefc5bd
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-09-25 13:14:36 -04:00
Dan Williams
de23158979
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-09-25 10:57:26 -04:00
Dan Williams
85d70f2383
Use the buddy icon cache
2006-09-25 10:57:21 -04:00
Dan Williams
f6c043b204
Add a buddy icon cache
2006-09-25 10:56:31 -04:00
Dan Williams
ea5b59dca7
Send buddy icon hash in presence service announcement too
2006-09-25 10:56:12 -04:00
Dan Williams
804848ba47
_stringify_hash -> printable_hash; generalize, make more public
2006-09-25 09:45:24 -04:00
Dan Williams
9fa9bd9583
Add BuddyActivityView.py to makefile
2006-09-25 09:25:44 -04:00
Dan Williams
aa0adcf0c5
Unconditionally reschedule current activity switch timeout
2006-09-25 07:35:44 -04:00
Dan Williams
3e4c8cabc7
Switch to BuddyActivityView to show current activity
2006-09-24 23:15:53 -04:00
Dan Williams
da221ee84e
Add get_current_activity accessor
2006-09-24 23:12:46 -04:00
Dan Williams
07c0ffbb7d
Use two different activity types
2006-09-24 23:12:09 -04:00
Dan Williams
f83567ba32
Determine scale as a float so it's not clamped at 0
2006-09-24 21:53:39 -04:00
Dan Williams
e2f82f02a0
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
...
Conflicts:
shell/view/home/IconLayout.py
2006-09-24 21:37:46 -04:00
Dan Williams
701cef3f1d
Only broadcast and activity change if it actually changed
2006-09-24 21:31:48 -04:00
Dan Williams
b67c0a6b3d
Don't print EntryGroup messages for now
2006-09-24 21:30:48 -04:00
Dan Williams
d2e235838e
Only print out service resolutions, not updates
2006-09-24 21:30:28 -04:00
Dan Williams
7268d8803d
Ensure owner validity before using
2006-09-24 21:29:11 -04:00
Dan Williams
d42b9da06d
Use get/set_property rather than direct accessors
2006-09-24 18:52:10 -04:00
Dan Williams
e92548df5c
Use the new BuddyModel color-changed signal
2006-09-22 17:37:41 -04:00
Dan Williams
d12c57895c
Add color-changed and current-activity-changed signals
2006-09-22 17:37:16 -04:00
Dan Williams
188394f09f
- Track BuddyModel appeared/disappeared signals, and update our icon colors accordingly
...
- s/friend/buddy since BuddyModel isn't just for friends
2006-09-22 17:24:56 -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
6473444e09
Add a 'Disappeared' signal on the buddy object
2006-09-22 17:21:34 -04:00
Dan Williams
0aea72f485
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-09-22 16:35:09 -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