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
Marco Pesenti Gritti
1c1fd35541
Present the window only after start/join
2006-12-20 00:53:27 +01:00
Marco Pesenti Gritti
6b09475b99
Add a start method to the activity. It's parallel/alternative to join.
2006-12-18 14:24:28 +01:00
Marco Pesenti Gritti
ad31376488
Add docstring, missing import
2006-12-18 14:05:34 +01:00
Marco Pesenti Gritti
956256313a
Get the activity type from env, rather than requiring set_type
2006-12-18 13:56:41 +01:00
Marco Pesenti Gritti
e0bd5d1df4
Cleanup activity factory startup, remove duplicated argument from the Exec field
2006-12-18 13:47:49 +01:00
Tomeu Vizoso
e68f0e00e9
Added c&v and dnd support to the clipboard.
2006-12-13 22:36:05 +01:00
Marco Pesenti Gritti
474313ffde
Fix dev command
2006-12-13 01:37:03 +01:00
Dan Williams
039ac19432
datastore fixes
2006-12-11 17:25:48 -05:00
Dan Williams
ff53fdc185
Add a simple prototype data store
2006-12-11 07:55:01 -05:00
Owen Williams
a21af251e1
Added support for MANIFEST-OLPC files in bundlebuilder
2006-12-04 16:06:12 -05:00
Owen Williams
b8f44c00c7
Added support for MANIFEST-OLPC files in bundlebuilder
2006-12-04 16:05:09 -05:00
Justin Gallardo
b9f9ef0fe9
Changed all tabs to 4 spaces for python style
2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
78c538535b
Fixup makefiles
2006-12-01 23:30:32 +01:00
Marco Pesenti Gritti
6971c1a676
Add FIXME about Exec field
2006-12-01 23:25:14 +01:00
Marco Pesenti Gritti
165fe0b00e
Several cleanups
2006-12-01 23:23:58 +01:00
Marco Pesenti Gritti
7152755c5e
Remove more unused old activities stuff
2006-12-01 23:11:56 +01:00
Marco Pesenti Gritti
6bdda47901
Since service name and bundle id corrisponds, there
...
is no need to query the register anymore.
2006-12-01 22:22:09 +01:00
Marco Pesenti Gritti
833e7633e9
Leftover
2006-12-01 21:25:14 +01:00
Marco Pesenti Gritti
cf156fac07
Get rid of our custom dbus config, simplify stuff
2006-12-01 21:24:24 +01:00
Marco Pesenti Gritti
0e2d9b496a
Remove unused method
2006-12-01 20:47:40 +01:00
Marco Pesenti Gritti
86770c93fd
Forgot to add file
2006-11-27 17:43:44 +01:00
Marco Pesenti Gritti
cb70561dcd
Add a simple bundle builder, based on the setup.py we
...
have been using for btest-1
2006-11-27 14:56:48 +01:00
Eduardo Silva
d51031d882
New developer-console
2006-11-16 14:47:07 +01:00
Marco Pesenti Gritti
9a7518f230
Get rid of dbus 0.94 compatibility, since we build dbus in jhbuild now. Yay!
2006-11-16 11:07:30 +01:00
Tomeu Vizoso
59d57a03d9
First implementation of ClipboardService. Implement pdf viewing and downloading via ClipboardService.
2006-11-15 13:56:19 +01:00
Marco Pesenti Gritti
d3e99e76ef
Add a shutdown button
2006-11-11 23:51:16 +01:00
Tomeu Vizoso
61f24de748
Reverting clipboard changes pushed by mistake. These are commits 23565cfd48
and a7e4092b0e
.
2006-11-10 14:14:15 +01:00
Tomeu Vizoso
a7e4092b0e
Created SugarDownloadManager and ClipboardService's wrapper. Show and hide the frame when adding an object to the clipboard.
2006-11-05 19:52:46 +01:00
Tomeu Vizoso
b9f75c1472
Merge branch 'master' of git://dev.laptop.org/sugar
2006-11-05 18:51:05 +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
Tomeu Vizoso
2ad31b35d1
Merge branch 'master' of git://dev.laptop.org/sugar
2006-11-05 10:52:11 +01:00
Marco Pesenti Gritti
4b328c8417
Less invasive solution for the reverted commit
2006-11-05 03:41:44 +01:00
Marco Pesenti Gritti
984035f933
Revert "Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain!"
...
This reverts commit 6d84d886e1
.
2006-11-05 03:33:49 +01:00
Marco Pesenti Gritti
6d84d886e1
Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain!
2006-11-05 03:25:51 +01:00
Tomeu Vizoso
d67afd1a79
Merge branch 'master' of git://dev.laptop.org/sugar
2006-11-03 16:24:56 +01:00
Marco Pesenti Gritti
503d21cff4
show_launcher true by default
2006-11-03 16:18:03 +01:00
Tomeu Vizoso
be3bc5ed00
Merge branch 'master' of git://dev.laptop.org/sugar
2006-11-03 16:08:41 +01:00
Marco Pesenti Gritti
da3c550bfd
Fix show_launcher logic
2006-11-03 16:01:46 +01:00
Tomeu Vizoso
c7dbfdb067
Merge branch 'master' of git://dev.laptop.org/sugar
2006-11-03 08:39:21 +01:00
Marco Pesenti Gritti
561169809b
Install services in user dir if dbus is recent enough.
2006-11-02 20:16:36 +01:00
Tomeu Vizoso
a6503b8bd8
Merge branch 'master' of git://dev.laptop.org/sugar
2006-11-02 17:21:00 +01:00
Marco Pesenti Gritti
26b04db5e3
Add activity_version support
2006-11-02 11:10:37 +01:00
Tomeu Vizoso
23565cfd48
First version of the ClipboardService. Added support for showing the progress of a pdf download in the clipboard.
2006-11-01 19:43:59 +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
cb285aba06
Get running activities to work. Still hacky.
2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
92f37d31da
Several fixes, generate the service, add a test bundle
2006-10-31 10:48:45 +01:00
Marco Pesenti Gritti
3e4f570d16
Do not catch exceptions from the called method
2006-10-30 17:05:01 +01:00
Dan Williams
4bf76960a0
Add a text style
2006-10-29 22:41:52 -05:00
Marco Pesenti Gritti
b44dac1010
Don't crash if bundles dir doesn't exist in the profiles
2006-10-29 21:03:28 +01:00
Marco Pesenti Gritti
9a0401e0d0
Fix makefiles
2006-10-29 19:09:13 +01:00
Marco Pesenti Gritti
d150ac40cc
More work on bundles support
2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
87274fd89f
Initial bundle registry code
2006-10-29 18:28:48 +01:00
Marco Pesenti Gritti
7a6c1595e3
Removed by mistake
2006-10-25 18:00:52 +02:00
Marco Pesenti Gritti
b873bfe18d
Fix icon background color
2006-10-25 15:45:55 +02:00
Marco Pesenti Gritti
96b150d2bb
Add stdout and stderr to the logs
2006-10-25 15:24:40 +02:00
Marco Pesenti Gritti
ebb896cb5b
Another iteration on the spread out box. Make it work
...
well also for the mesh.
2006-10-25 14:31:44 +02:00
Marco Pesenti Gritti
159349e7e0
Unused variable
2006-10-25 01:21:49 +02:00
Marco Pesenti Gritti
03d82108d7
Write a chat activity, remove some unused code
2006-10-25 00:36:42 +02:00
Marco Pesenti Gritti
ffbed76210
We was missing the warning level
2006-10-24 20:15:41 +02:00
Marco Pesenti Gritti
6ab3b3c07e
Cleanup logs dir on shell startup
2006-10-24 20:00:14 +02:00
Marco Pesenti Gritti
31f6ffe916
Fix up buffering. Improve perf and avoid flickering.
2006-10-23 18:31:13 +02:00
Marco Pesenti Gritti
1ed5450651
Do not trap all exceptions grrr
2006-10-23 17:22:26 +02:00
Dan Williams
1226b0b6b9
Fix Buddy object's get_service_of_type() method
...
This call would always fail for activity services because the
dbus bindings for it did not pass in the activity at all. Fix
that.
2006-10-20 13:15:23 -04:00
Dan Williams
fe448938b1
Add default_type accessort to Activity class
2006-10-20 12:30:29 -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
Dan Williams
941345d649
Add stylesheet.py to Makefile.am
2006-10-19 10:04:07 -04:00
Dan Williams
4260c5a4a5
Enhance SketchPad for easier subclass usage
...
- New 'new-user-sketch' signal when a local path is closed
- Trap BUTTON_RELEASE_EVENTs now
2006-10-19 09:54:51 -04:00
Dan Williams
4f54f7921f
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-10-19 09:52:55 -04:00
Dan Williams
5a3e7c3c0a
Add get_points accessor
2006-10-19 09:52:15 -04:00
Marco Pesenti Gritti
cd29967c2e
Refactor a bit to keep host independent from the shell
2006-10-19 15:22:42 +02:00
Marco Pesenti Gritti
cf13a7ff5b
Unregister the chat service on destroy.
2006-10-19 14:51:13 +02:00
Marco Pesenti Gritti
fafa1ae35e
Refactor stylsheets code a bit to load the global stylsheet
...
for all modules.
Implement the links sidebar per discussion with Eben.
2006-10-19 11:54:51 +02:00
Marco Pesenti Gritti
e098bdf8eb
Fix out of screen computation. Release 0.37
2006-10-18 21:50:14 +02:00
Marco Pesenti Gritti
6c375a20f3
Center the icon in the allocation space
2006-10-18 19:41:34 +02:00
Marco Pesenti Gritti
ea8d801ad8
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2006-10-18 17:59:40 +02:00
Marco Pesenti Gritti
f3fbea70a3
Rework menu positioning logic
2006-10-18 17:57:41 +02:00
Dan Williams
ea103dc6d8
Make SketchPad background color settable at object creation time rather than hardcoded to ugly green
2006-10-18 11:14:02 -04:00
Marco Pesenti Gritti
54dcb672e5
Move the menu positioning code inside menu shell and
...
unify it.
2006-10-18 16:23:06 +02:00
Marco Pesenti Gritti
7a06102b2e
Fix programmatical popdown
2006-10-18 14:26:07 +02:00
Marco Pesenti Gritti
a4ef03fbda
Rewrite the menu activation/deactivation logic using a timeline
2006-10-18 14:05:50 +02:00
Marco Pesenti Gritti
ddac6e07d0
Remove debug code
2006-10-17 14:52:55 +02:00
Marco Pesenti Gritti
96867a37bf
Fix browser initialization
2006-10-17 14:51:20 +02:00
Marco Pesenti Gritti
84a2dfac31
Missing var
2006-10-17 14:48:03 +02:00
Marco Pesenti Gritti
637a08154e
Fix some path bugs. Reload the profile when first time dialog wrote it.
2006-10-17 14:31:04 +02:00
Marco Pesenti Gritti
99cd1512ae
Some cleanups
2006-10-17 10:35:38 +02:00
Marco Pesenti Gritti
ec3094e08b
Move the running from source dir hacks in the emulator.
2006-10-17 10:25:47 +02:00
Marco Pesenti Gritti
0836c57f76
Get rid of the global python path extensions
2006-10-17 10:14:42 +02:00
Marco Pesenti Gritti
77f2de8f73
Let activities extend their own path
2006-10-17 10:07:35 +02:00
Marco Pesenti Gritti
4b7b1586d2
Remove unnecessary path
2006-10-17 09:58:35 +02:00
Marco Pesenti Gritti
dc0de1d35d
Let the presence service set his own path
2006-10-17 09:57:00 +02:00
Marco Pesenti Gritti
f74614a02b
Let the shell deal with extending his own path
2006-10-17 09:39:31 +02:00
Marco Pesenti Gritti
535b67ea41
alt+q shutdown the emulator
2006-10-17 01:09:44 +02:00
Marco Pesenti Gritti
781988589a
Add a fullscreen option to the emulator
2006-10-16 17:22:05 +02:00
Marco Pesenti Gritti
f98956acda
Cleanup the messages
2006-10-16 17:04:26 +02:00
Marco Pesenti Gritti
4a65739b71
Flush the stream after writing a log
2006-10-16 16:56:48 +02:00
Marco Pesenti Gritti
4e88e927fb
Remove the old dbus stuff, use one log file per process
2006-10-16 15:56:22 +02:00
Marco Pesenti Gritti
096d5c5238
Fix makefiles
2006-10-16 13:40:59 +02:00
Marco Pesenti Gritti
6bd4e0f793
Forgot to add these
2006-10-16 13:35:07 +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
a3be4492b2
Delete unused p2p model code. Fix distcheck.
2006-10-15 02:03:58 +02:00
Marco Pesenti Gritti
615242f4f8
Add LGPL header
2006-10-15 01:08:44 +02:00
Marco Pesenti Gritti
e176a531ab
Remove old browser and fix makefiles
2006-10-13 21:31:51 +02:00
Marco Pesenti Gritti
63e12fbd5e
More work on links
2006-10-13 18:05:48 +02:00
Marco Pesenti Gritti
75b158c3d7
First go at shared links (not functional)
2006-10-13 15:46:11 +02:00
Marco Pesenti Gritti
1df5b0020d
Fix get_published_values to actually return the dict.
...
Get rid of the activity title property, we are not using it anyway.
2006-10-13 13:03:24 +02:00
Marco Pesenti Gritti
395472edea
Shutdown the factory when all activities has been destroyed.
...
Initialize the profile.
2006-10-13 11:24:07 +02:00
Marco Pesenti Gritti
62a46ff92b
Create a private sugar lib and put our extensions there.
2006-10-12 12:47:17 +02:00
Marco Pesenti Gritti
d01a5cdf95
Move font size in the theme
2006-10-12 02:59:20 +02:00
Marco Pesenti Gritti
d791577e79
Set default font size to 14
2006-10-11 21:55:10 +02:00
Marco Pesenti Gritti
0ec5283081
Adapt gtk icon size to the grid
2006-10-11 19:58:57 +02:00
Marco Pesenti Gritti
3f68640c13
Get rid of the old simulator
2006-10-10 16:35:52 +02:00
Marco Pesenti Gritti
f1f0e9d26c
Get names in random order
2006-10-10 10:02:03 +02:00