Commit Graph

803 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
5d57b261ee Add a color class, not used yet 2007-02-07 17:34:29 +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
Dan Williams
c07dcbb28b Fix the fix for python 2.5 2007-02-03 14:41:31 -05:00
Dan Williams
63b2c74f90 Fix for python 2.5 2007-02-03 14:40:31 -05:00
Tomeu Vizoso
9b6d7c6292 Simple fix for getting the activities dir. 2007-02-03 11:10:49 +01:00
Tomeu Vizoso
4e267c18bf Improved connection to clipboard service. 2007-02-01 20:21:56 +01:00
Marco Pesenti Gritti
6527077928 Do not look in the icon theme for activity icons 2007-01-31 15:00:13 -05:00
Marco Pesenti Gritti
c1c5a78ca8 Try harder to support wide screen 2007-01-31 11:49:56 -05:00
Marco Pesenti Gritti
fbdc1579f4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-27 14:31:38 +01:00
Marco Pesenti Gritti
204aac8658 Drop Xnest support. Start fullscreen if widht <= 900. 2007-01-27 14:31:13 +01:00
Tomeu Vizoso
9d13a9836d Added new tool sugar-install-bundle. 2007-01-27 12:54:56 +01:00
Marco Pesenti Gritti
eeaf517049 We was no more scaling icons depending on screen resolution, fix it 2007-01-27 02:45:09 +01:00
Marco Pesenti Gritti
cdf46c52af Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	sugar/graphics/canvasicon.py
2007-01-27 01:39:22 +01:00
Marco Pesenti Gritti
fd40c138c6 Rework icon sizing (unfinished, but more or less functional) 2007-01-27 01:36:31 +01:00
Dan Williams
6930a8c11a Correctly set height/width the right way 2007-01-26 18:27:59 -05:00
Dan Williams
759c477e1f Revert "Set width/height the right way"
This reverts commit 0eaa29ee9d.
2007-01-26 11:28:45 -05:00
Dan Williams
0eaa29ee9d Set width/height the right way 2007-01-26 09:21:56 -05:00
Dan Williams
9faf8bedd7 Fix GlibXMLRPCServer for Python 2.5 2007-01-24 14:24:55 -05:00
Marco Pesenti Gritti
4cdf88f31d Do not hardcode /usr/bin/python 2007-01-20 13:38:58 +01:00
Marco Pesenti Gritti
6de66d38ae Get rid of obsolete var 2007-01-19 16:04:48 +01:00
Marco Pesenti Gritti
5ca728b1d3 Fix API for hippo-canvas 0.2 2007-01-19 15:47:33 +01:00
Marco Pesenti Gritti
0584ac7529 Use fullscreen if the screen is not big enough to do a 1200x900 window.
The logic might need tweaking.
2007-01-16 01:21:15 +01:00
Marco Pesenti Gritti
8ff9d66f64 Fix wrong method signatures 2007-01-16 00:33:04 +01:00
Dan Williams
9c75c80d7f Don't clear the current buffer on cleanup 2007-01-15 09:53:41 -05:00
Dan Williams
8ca1e36b7f Optionally cache rendered icon surfaces 2007-01-14 18:20:43 -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
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
Tomeu Vizoso
334be3331b Some more usability fixes for the clipboard. 2007-01-11 23:57:06 +01:00
Marco Pesenti Gritti
297381cad7 Basic implementation of the shutdown graphics 2007-01-11 11:20:08 +01:00
Dan Williams
6b67c410e0 Delete old surfaces when no longer used 2007-01-08 17:12:20 -05:00
Tomeu Vizoso
1ee6b7faf0 Some clipboard fixes. 2007-01-07 23:38:33 +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
Tomeu Vizoso
f50d9f5f9a Added icon, title and preview for clipboard objects. Also allow for opening docs and rtfs from the web. 2007-01-05 21:13:46 +01: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
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
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
Dan Williams
e586cd66c0 Add activity objects to the data store 2006-12-20 14:04:52 -05: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