Commit Graph

42 Commits

Author SHA1 Message Date
Dan Winship
8a733eea5d redo the smaps-parsing code to be a little more efficient. part of #3096 2007-09-11 11:42:22 -04:00
Marco Pesenti Gritti
34e9d30a9c Improved icon caching logic 2007-09-08 12:10:35 +02:00
Tomeu Vizoso
be99aa6dcf Fix typos in activitiesdonut.py 2007-08-26 16:14:29 +02:00
Marco Pesenti Gritti
ba4f68ef58 Cache the donut animation. 2007-08-26 14:45:59 +02:00
Marco Pesenti Gritti
98157bbccb Make CanvasIcon use IconBuffer. Change the API to use
a separate property for icon_name and file_name.
2007-08-26 14:16:09 +02:00
Marco Pesenti Gritti
f1d588452e Reorganize canvas items. 2007-08-25 13:15:28 +02:00
Dan Winship
ebe2b4765e Fix up the activity ring drawing to be more accurate and stable. #2030
TODO: move some of this code into shell/model rather than shell/view
2007-08-24 10:28:33 -04:00
Dan Winship
10dc80c8be Add icons to the activity ring palette. Part of #2028 2007-08-21 15:39:05 -04:00
Dan Winship
723429fb80 Include free swap space in the activity ring's "free memory" slice
Mostly only affects sugar-jhbuild, but also people with USB/SD swap on B2s
2007-08-17 11:52:22 -04:00
Dan Winship
7b21f752ad Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-08-08 09:30:50 -04:00
Dan Winship
c85c89ce83 Make Journal active at startup. #2159
Also distinguish between "active" in the sense of "the user is actually
using this activity" and "active" in the sense of "the activity would
be active *if* the user switched to Activity view". It's the latter sense,
now called "pending" that the Journal is in at startup. Pending is also
used for the next-up activity when you quit the current active activity.
2007-08-08 09:30:45 -04:00
Marco Pesenti Gritti
6dd6b0275b Expose palette.menu rather than wrapping methods. 2007-08-08 12:56:19 +02:00
Dan Winship
2485e15030 Add a basic palette with "Resume" and "Stop" to activity ring icons. #2028 2007-08-06 15:33:27 -04:00
Dan Winship
88401d31b4 Make activity ring wedges represent approximate size of the activity. #2030 2007-08-03 11:31:21 -04:00
Dan Winship
f52e55381a Make the whole wedge in the activity ring clickable. #2029 2007-08-02 14:14:21 -04:00
Marco Pesenti Gritti
b3f7e0e632 Move from scaling to sizes in CanvasIcon. 2007-07-31 16:46:06 +02:00
Tomeu Vizoso
501022c88d #775 Show the activity's creator colors in the donut. (Patch from Dan Winship) 2007-07-15 12:51:06 +02:00
Marco Pesenti Gritti
8505a18652 Fix copyright year 2007-06-24 14:45:05 +02:00
Marco Pesenti Gritti
d4bd7a5d05 Do not index icons by activity id. Raw X windows does not have one. 2007-06-01 14:19:14 +02:00
Marco Pesenti Gritti
b1a62c2fc0 Refactor part of the Home model. Should be much
cleaner and reliable. If you find bugs with it
please let me know.
2007-06-01 13:38:34 +02:00
Marco Pesenti Gritti
2f6790105d Make launching a property of the activity model 2007-06-01 11:03:18 +02:00
Marco Pesenti Gritti
09304e8e5a Accept raw X windows in the shell 2007-04-08 19:20:59 +02: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
Tomeu Vizoso
cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +01:00
Marco Pesenti Gritti
ee66b2237d More work to get rid of stylesheets, some regressions. 2007-02-20 14:57:50 +01:00
Marco Pesenti Gritti
c44084df09 Make the icon colors list private 2007-02-07 16:55:22 +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
Marco Pesenti Gritti
5ca728b1d3 Fix API for hippo-canvas 0.2 2007-01-19 15:47:33 +01:00
Owen Williams
3bedd451e3 Fix redundancy 2007-01-18 21:52:48 +01:00
Dan Williams
55a459e63d Reduce launch feedback interval to boost launch times 2007-01-16 10:44:43 -05:00
Dan Williams
2d6e577a16 Enable caching of rendered icon surfaces during launch feedback 2007-01-14 18:22: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
John (J5) Palmieri
4869f74642 add prelight on mouse enter to activity icons
* prelight uses profile.get_color()
2007-01-09 15:25:51 -05:00
Dan Williams
018867a9a8 Remove debug print 2007-01-08 22:56:45 -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
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
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
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
43bd44b407 Add GPL headers 2006-10-15 01:24:45 +02:00
Marco Pesenti Gritti
250060b7f8 Remove several hardcoded sizes, substitute them with stylesheets. 2006-10-05 14:38:37 +02:00
Marco Pesenti Gritti
72a4aa6fe2 Reimplement the donut using hippo canvas 2006-10-04 14:23:15 +02:00