Marco Pesenti Gritti
ca9199e994
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-03-23 17:27:47 +01:00
Marco Pesenti Gritti
d17e733677
Add support to read linfo.
...
Refactor locale to actually use gettext.
2007-03-23 17:27:31 +01:00
Tomeu Vizoso
5881121ad4
Added operations genpot and genmo to bundlebuilder.py for localization.
2007-03-23 15:26:37 +01:00
Marco Pesenti Gritti
a11809cccc
Actually setup translations in the shell.
...
Fix the it translation to use utf8.
2007-03-23 15:05:42 +01:00
Tomeu Vizoso
c820ca1aa6
First step at activities localization.
2007-03-23 10:35:48 +01:00
Marco Pesenti Gritti
9af06c0b26
Add a script to start sugar. Move the gtkrc to avoid conflicts when
...
installing on a complete system.
2007-03-22 20:34:07 +01:00
Marco Pesenti Gritti
0dfec679d7
Don't prelight when toggled
2007-03-21 17:21:52 +01:00
Marco Pesenti Gritti
261a7e743f
Emit the activated signal also on toggles
2007-03-21 00:04:04 +01:00
Tomeu Vizoso
ed99a8bbff
Style fixes for the menu.
2007-03-20 12:55:42 +01:00
Tomeu Vizoso
8a02afb408
Style fixes for the toolbar.
2007-03-20 12:01:01 +01:00
Marco Pesenti Gritti
96243824bb
Remove our own sizing
2007-03-19 15:20:44 +01:00
Marco Pesenti Gritti
08b378e5f8
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-03-19 15:19:56 +01:00
Tomeu Vizoso
07b8cad5b9
Set the DPI on activity startup. In the future we should have a xsetting for this.
2007-03-19 14:24:35 +01:00
Marco Pesenti Gritti
154a0e91ff
Create ~/Activities only when necessary
2007-03-18 13:48:34 +01:00
Marco Pesenti Gritti
c9f28b7317
Rework the emulator. Move matchbox in the shell.
2007-03-16 18:12:47 +01:00
Tomeu Vizoso
7beb2b24ac
Use Animation for popdown.
2007-03-16 14:29:39 +01:00
Tomeu Vizoso
84dcb022cb
Don't popdown the same control we are told to popup.
2007-03-16 14:28:25 +01:00
Tomeu Vizoso
8a88de864b
Fix tooltip popup.
2007-03-16 12:20:03 +01:00
Marco Pesenti Gritti
71b0a5dc56
Actually pass buttons to the gtk file picker
2007-03-16 10:48:40 +01:00
Dan Williams
d0c5050a25
Randomize color list so it can be indexed into with a hashed value
2007-03-15 22:02:41 -04:00
Dan Williams
4371fb0883
Update another get_width_request() for new hippo
2007-03-15 16:56:29 -04:00
Tomeu Vizoso
d001c70443
Tweaked sizes of home xo icon, donut radius and device icons.
2007-03-15 19:19:38 +01:00
Marco Pesenti Gritti
9f5d642591
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-03-15 17:10:27 +01:00
Marco Pesenti Gritti
fbeaf5fb66
Add a filechooser subclass which sizes correctly on the OLPC.
...
This is temporary, gtk needs to be fixed.
2007-03-15 17:10:12 +01:00
Dan Williams
a83211dbb9
Fix tracebacks in snowflakeboxes
2007-03-15 11:21:35 -04:00
Tomeu Vizoso
4fbfd1625c
Make create_activity_id() a public function.
2007-03-15 12:47:10 +01:00
Dan Williams
8b4ccf3eb1
Cleanup clipboard D-Bus API
...
- The clipboard now determines each objects unique id and
returns it from add_object()
- The ID is opaque to the client and should not be used/accessed
other than with the clipboard service
- Add object type hints for dbus-python
- Sugar clipboard bindings for get_object() now return a dict rather
than a tuple
- ClipboardIcon now retrieves the real file path and uses that
to open the file
- Adapt sugar bits to clipboard changes
2007-03-14 00:50:06 -04:00
Marco Pesenti Gritti
4960ddae25
Adapt to the new hippo canvas sizing API
2007-03-14 03:19:24 +01:00
Dan Williams
c58bb3549f
Ensure animations reach last frame
2007-03-13 08:19:50 -04:00
Marco Pesenti Gritti
ac8805246d
Actually use EASE_OUT by default, add EASE_IN.
...
Thanks to Dan to point this out.
2007-03-13 00:25:41 +01:00
Dan Williams
78fef2a48e
Implement set_title
2007-03-12 16:52:11 -04:00
Marco Pesenti Gritti
d389933b77
Remove the old timeline
2007-03-12 18:13:01 +01:00
Marco Pesenti Gritti
d91c7a90e4
Rework the popup animation to use the new API
2007-03-12 17:47:09 +01:00
Marco Pesenti Gritti
ce91f2df99
Force hiding when running an activity even if the user hover the frame again.
2007-03-12 16:57:52 +01:00
Marco Pesenti Gritti
0984938f95
New animation API. Start rewriting the frame slidein slideout logic.
...
(Use the keys for now, mouse is not working)
2007-03-12 12:39:29 +01:00
Marco Pesenti Gritti
6c5d28ecf5
Save also the sugar session display and use it in sugar-activity.
2007-03-09 17:29:03 +01:00
Marco Pesenti Gritti
a5d303f9ff
Smarter bundle name matching
2007-03-09 16:55:18 +01:00
Marco Pesenti Gritti
d3493aea9e
Smarter sugar-activity which can make itself the factory and open
...
one instance.
2007-03-09 16:35:53 +01:00
Marco Pesenti Gritti
1587218e9e
Remove unused files
2007-03-09 15:07:08 +01:00
Marco Pesenti Gritti
8a98cdc6e0
Fix matchbox invocation
2007-03-09 14:59:47 +01:00
Marco Pesenti Gritti
57c928916c
Refactor sugar.env and paths
2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
73c1dbe4a7
CLeanup emulator shutdown
2007-03-09 13:53:26 +01:00
Marco Pesenti Gritti
6afd512d55
Cleanup kbd config passing
2007-03-09 13:47:17 +01:00
Marco Pesenti Gritti
c255a7b544
Remove unused var
2007-03-09 13:28:00 +01:00
Marco Pesenti Gritti
66e341c58e
Use button_press virtual method instead of the connect_after hacks.
2007-03-09 13:12:52 +01:00
Marco Pesenti Gritti
2d9a06ec9a
Add the root path of the services to python path, not services/.
...
Get rid of the now useless env.get_services_dir
2007-03-09 12:32:32 +01:00
Marco Pesenti Gritti
810bea6772
Remove unused var
2007-03-09 12:08:10 +01:00
Marco Pesenti Gritti
cda47a41f4
Implement ToggleIconButton
2007-03-09 11:22:51 +01:00
Marco Pesenti Gritti
ce6d21075f
Simplified logic using a grid. It looks ugly but we don't care right now.
2007-03-07 12:11:14 +01:00
Marco Pesenti Gritti
dacf05fcd9
Intialize the service to None, we are freeing it later.
2007-03-07 10:59:48 +01:00
Owen Williams
2c7a22b157
Fix bug for activities with spaces in the name
2007-03-06 08:01:46 -05:00
John (J5) Palmieri
b21f1a3b80
workaround to fix blocking when launching activities
...
* set follow_name_owner_changes to true when creating a proxy for an activity
which causes proxies to be late bound and not make a blocking call to
start a service
2007-03-05 16:14:11 -05:00
Marco Pesenti Gritti
d06c1af638
Tweak menu layout
2007-03-05 13:34:31 +01:00
Marco Pesenti Gritti
5cc06cb5eb
Tweak optionmenu and entry paddings
2007-03-05 12:43:32 +01:00
Marco Pesenti Gritti
5ae521be77
Fix aligment of menu icons
2007-03-05 12:29:52 +01:00
Tomeu Vizoso
4b1ca7056e
Make action-id in MenuItem be object, not int.
2007-03-04 19:49:03 +01:00
Tomeu Vizoso
a585221b16
Added object update to the datastore.
2007-03-04 11:27:33 +01:00
Tomeu Vizoso
d027761209
Added create_with_object_id() func.
2007-03-02 22:22:19 +01:00
Marco Pesenti Gritti
8763d9d5e2
Typo
2007-03-02 22:22:20 +01:00
Marco Pesenti Gritti
1cadd9c1ce
Add object_id
2007-03-02 21:58:36 +01:00
Tomeu Vizoso
d504124cc2
Hack Dan's DataStore for doing what we need for 6th March demo.
2007-03-02 21:17:03 +01:00
Marco Pesenti Gritti
d1a29ecf32
Set font to 7 points. Tweak zoom levels.
2007-03-01 21:38:38 +01:00
Marco Pesenti Gritti
1c69095310
Remove TODO
2007-03-01 16:31:14 +01:00
Marco Pesenti Gritti
8ec1e2b524
Use the dropdown icon. Quite an hack to get the icon size right,
...
we will have to fix this properly.
2007-03-01 15:52:36 +01:00
Marco Pesenti Gritti
6c16653173
Convert points correctly to device. Tweak zoom factor logic a bit
2007-02-28 21:04:26 +01:00
Tomeu Vizoso
1b869a04f8
Icon and Button fixes.
2007-02-28 19:53:06 +01:00
Marco Pesenti Gritti
abc400f841
Fix points_to_pixels impl
2007-02-28 19:05:56 +01:00
Tomeu Vizoso
6704e1bfd3
Button fixes and fix launching activities from the clipboard.
2007-02-28 16:41:50 +01:00
Marco Pesenti Gritti
b364612615
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-28 15:43:11 +01:00
Marco Pesenti Gritti
aec4fcf874
More work on devices, getting there
2007-02-28 15:42:41 +01:00
Tomeu Vizoso
b692eb3833
Entry fixes.
2007-02-28 15:34:40 +01:00
Tomeu Vizoso
0f1adfe1de
Specify font size in pixels, not in points.
2007-02-28 14:47:35 +01:00
Marco Pesenti Gritti
b473b4f17c
Pass the X dpi to Xephyr. Default to a minimum of 96, some distros appear to be broken.
2007-02-28 13:24:47 +01:00
Marco Pesenti Gritti
e3bab8cd12
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-27 23:19:16 +01:00
Marco Pesenti Gritti
5f288b68c9
Typo
2007-02-27 23:19:02 +01:00
Tomeu Vizoso
a6a8ad5677
IconButton hover fix.
2007-02-27 23:05:34 +01:00
Tomeu Vizoso
f09a63930f
Fix stroke/fill on ZoomBox icons.
2007-02-27 22:35:28 +01:00
Guillaume Desmottes
152d95f3de
properly manage the registered field in the config file
2007-02-27 20:22:38 +01:00
Marco Pesenti Gritti
4f4291e41c
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-27 20:09:40 +01:00
Marco Pesenti Gritti
b3452663bc
Use a custom style to get rid of the damned window background
2007-02-27 20:08:33 +01:00
Guillaume Desmottes
17e33c7495
Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar
2007-02-27 19:08:29 +01:00
Guillaume Desmottes
5535aefc75
Add a Server section in the config file and use it to register only when needed
2007-02-27 19:08:17 +01:00
Marco Pesenti Gritti
b2f50f9da4
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-27 17:05:01 +01:00
Marco Pesenti Gritti
7081909d2d
Fix some bugs with frame animation and enable it
2007-02-27 17:04:15 +01:00
Tomeu Vizoso
d398b37645
Button fixes.
2007-02-27 15:31:05 +01:00
Marco Pesenti Gritti
e478de4224
Use Window, add a compatibility hack to not break API
2007-02-27 15:05:44 +01:00
Marco Pesenti Gritti
2e2db562c5
Make the canvas window background transparent
2007-02-27 13:56:00 +01:00
Marco Pesenti Gritti
b04c19efb4
Add a window class to graphics, it contains a canvas.
2007-02-27 13:41:51 +01:00
Tomeu Vizoso
de902c41fd
Added Button control.
2007-02-26 17:35:58 +01:00
Tomeu Vizoso
6b31f57257
Some control fixes.
2007-02-26 12:40:14 +01:00
Dan Williams
c1efa0a266
Ensure correctly formatted color
2007-02-25 22:23:27 -05:00
Dan Williams
0cad068bf4
Merge
2007-02-25 19:27:37 -05:00
Dan Williams
a72175ff68
Create separate plugins for connection methods
2007-02-25 19:24:48 -05:00
Dan Williams
1f91f7f7af
New intro/setup screen
2007-02-25 17:53:10 -05:00
Marco Pesenti Gritti
b26ddc64ba
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-25 15:33:01 +01:00
Marco Pesenti Gritti
10bfe004a8
Fix strength propagation
2007-02-25 15:05:56 +01:00
Tomeu Vizoso
bba86e5b74
First try at menu sizing in OptionMenu.
2007-02-25 14:58:18 +01:00
Marco Pesenti Gritti
cb6a808832
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-24 20:58:51 +01:00
Tomeu Vizoso
067f703bfe
Make OptionMenu grab the pointer on popup.
2007-02-24 18:18:50 +01:00
Marco Pesenti Gritti
39292db23e
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-24 17:52:43 +01:00
Marco Pesenti Gritti
3b7670a364
Don't present from inside the Activity constructor
2007-02-24 17:40:18 +01:00
Tomeu Vizoso
951e92395b
Make the default icon scale depend on the screen resolution.
2007-02-24 17:15:47 +01:00
Tomeu Vizoso
5714396e34
Add hovering to MenuItem.
2007-02-24 15:30:16 +01:00
Tomeu Vizoso
2b1445be6c
Adjusted rounded box radius.
2007-02-24 15:22:16 +01:00
Tomeu Vizoso
ce800fbc66
Add hover to BuddyIcon in the Frame.
2007-02-24 14:58:38 +01:00
Tomeu Vizoso
6a58df67a0
Highlight buttons and change menu background to black.
2007-02-23 20:39:52 +01: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
Marco Pesenti Gritti
7cfeb76d4a
Rework the implementation and add an explanation
...
about units and resolution indipendance in sugar.
2007-02-23 15:29:59 +01:00
Tomeu Vizoso
cb0d75eb59
Rename IconColor to XoColor.
2007-02-23 13:09:33 +01:00
Tomeu Vizoso
b8792c5c32
Added some SystemColors for the buttons.
2007-02-23 12:45:06 +01:00
Tomeu Vizoso
6756c00917
Added tooltips to CanvasIcon and implement popup positioning in the Frame.
2007-02-22 22:51:24 +01:00
Dan Williams
3b863f45a8
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-22 14:08:00 -05:00
Dan Williams
d091c60275
Add public key item to sugar profile
2007-02-22 14:07:53 -05:00
Marco Pesenti Gritti
fc805d3a88
Adapt to activity api change
2007-02-22 17:27:00 +01:00
Marco Pesenti Gritti
c4435397fc
Remove bundle specific stuff from env.
...
Move get_bundle_path to activity.
2007-02-22 15:55:07 +01:00
Marco Pesenti Gritti
02f375b710
Add a class attribute as per the updated spec.
...
Cleanups.
2007-02-22 15:46:13 +01:00
Marco Pesenti Gritti
3742219d6c
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-22 14:12:09 +01:00
Marco Pesenti Gritti
995c59cb3e
Make sugar-activity-factory just a wrapper.
2007-02-22 14:11:50 +01:00
Tomeu Vizoso
2f4822f1cd
Make OptionMenu use the new Menu and MenuItem classes.
2007-02-22 12:34:38 +01:00
Marco Pesenti Gritti
1b5ac988d7
Put exec back, I forgot it was used by the camera.
...
Helper method to create an activity with an uri.
2007-02-22 01:23:58 +01:00
Marco Pesenti Gritti
0b6b6cd6ac
Cleanup the Activity API, code needs more love.
2007-02-22 00:57:49 +01:00
Marco Pesenti Gritti
0d7bdeb20a
Improve handle marshalling. Add an uri to the handle.
2007-02-22 00:41:26 +01:00
Marco Pesenti Gritti
0556d5f51f
Fix caps
2007-02-22 00:14:00 +01:00
Marco Pesenti Gritti
5cf2b49cc1
Add an handle argument to the factory and to the activity constructor.
2007-02-22 00:07:08 +01:00
Tomeu Vizoso
d4639a1764
Use hippo.CanvasContext.translate_to_screen() for positioning popups.
2007-02-21 21:29:08 +01:00
Tomeu Vizoso
c9af045e43
Removed MenuIcon.
2007-02-21 21:15:08 +01:00
Tomeu Vizoso
b452b7d718
Make ClipboardIcon use the new Menu.
2007-02-21 21:12:27 +01:00
Marco Pesenti Gritti
9ba487fa1f
Generate the id in ActivityFactory. I want it to be easy to
...
run activities without using the shell. Some regression in
the debug messages, which I'll fix as part of further
refactoring.
2007-02-21 20:56:14 +01:00
Marco Pesenti Gritti
ef3f861954
Fix caps
2007-02-21 20:20:36 +01:00
Marco Pesenti Gritti
70da5fa7bd
More cleanups
2007-02-21 20:15:39 +01:00
Marco Pesenti Gritti
3fa653ed63
Split out Activity client/server
2007-02-21 19:39:11 +01:00
Marco Pesenti Gritti
3d3c730f22
Rename the class
2007-02-21 18:09:02 +01:00
Marco Pesenti Gritti
2627f7ff93
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-21 18:06:52 +01:00
Marco Pesenti Gritti
11264b48b2
Split factory client and server
2007-02-21 18:06:39 +01:00
Tomeu Vizoso
7be3333671
Make BuddyIcon and BuddyMenu use the new Menu.
2007-02-21 17:55:44 +01:00
Marco Pesenti Gritti
3fbc00f74a
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-02-21 17:54:01 +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
Tomeu Vizoso
3ce2a67304
Refactored Menu out of Popup.
2007-02-21 17:05:41 +01:00
Tomeu Vizoso
c05b179675
Fix wrong import.
2007-02-21 15:45:19 +01:00
Tomeu Vizoso
00db5e15a5
Move popup activation logic from IconButton to CanvasIcon.
2007-02-21 14:13:52 +01:00
Tomeu Vizoso
c58b6c5587
Make IconButton inherit from Button instead of containing it.
2007-02-21 13:51:44 +01:00
Tomeu Vizoso
500f979302
Renamed Button to IconButton.
2007-02-21 13:01:20 +01:00
Tomeu Vizoso
abff0a8cec
Throw NotImplementedError in abstract method.
2007-02-21 12:02:57 +01:00
Tomeu Vizoso
111da5911a
Allow for having the popup positioning logic in PopupContext.
2007-02-21 11:42:47 +01:00
Tomeu Vizoso
bbfe539429
Renamed Rollover to Popup.
2007-02-21 10:16:03 +01:00
Marco Pesenti Gritti
affba784cf
Add missing files
2007-02-20 22:34:36 +01:00
Marco Pesenti Gritti
0ccaf0dac8
Remove the style stuff
2007-02-20 22:15:31 +01:00
Tomeu Vizoso
f3cf928f31
Added Rollover control.
2007-02-20 16:38:25 +01:00
Marco Pesenti Gritti
7e96b1afb7
Get rid of the old grid. Never use absolute positioning.
2007-02-20 16:23:49 +01:00
Marco Pesenti Gritti
3de915db96
Completely drop stylesheets. Move some of it inside the nm service, don't want to touch that code because it will be rewritten.
2007-02-20 15:10:18 +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
b44715cf08
Remove deprecated style stuff
2007-02-20 14:28:49 +01:00
Marco Pesenti Gritti
c9b103dfef
Refactor button a bit to support different sizes. Use it for the overlaybox.
2007-02-16 15:24:02 +01:00
Tomeu Vizoso
6ee8067b06
Temporary fix until the next hippo-canvas.
2007-02-15 20:32:25 +01:00
Tomeu Vizoso
28f10bf142
OptionMenu fixes and API updates.
2007-02-15 19:18:15 +01:00
Marco Pesenti Gritti
fa4c775bc9
Add icon sizes
2007-02-15 19:03:24 +01:00
Marco Pesenti Gritti
67c9268a75
Take in account screen size
2007-02-15 18:55:32 +01:00
Marco Pesenti Gritti
2e8bd12f8b
Rework color and fonts to be more pytonish. Add units conversions.
2007-02-15 18:48:58 +01:00
Tomeu Vizoso
32c89a1fcb
New widget OptionMenu.
2007-02-15 18:23:52 +01:00
Marco Pesenti Gritti
e08ad4baf5
Add some infrastructure for font sizes.
2007-02-15 15:09:38 +01:00
Marco Pesenti Gritti
bcdff5ddd3
Move Color inside style
2007-02-14 16:20:00 +01:00
Tomeu Vizoso
b4a461605d
Label fixes.
2007-02-13 18:09:45 +01:00
Tomeu Vizoso
b48c5c0beb
Fix Entry.
2007-02-13 17:08:27 +01:00
Marco Pesenti Gritti
bf29a98b82
Actually commit the file
2007-02-13 15:54:24 +01:00
Marco Pesenti Gritti
64b92c4398
Simple date object to handle string conversions in a UI friendly way.
2007-02-13 15:51:08 +01:00
Marco Pesenti Gritti
8f3fb612fd
Reenable the journal. Add desktop background color.
2007-02-13 15:02:39 +01:00
Tomeu Vizoso
63c5bd5dbd
Allow for subclasses of Entry to override the base gtk.Entry.
2007-02-12 23:45:46 +01:00
Tomeu Vizoso
f4a6eb4453
Refactor Frame, create RoundBox, some Entry fixes and new Label control.
2007-02-12 20:37:20 +01:00
Tomeu Vizoso
5aa820d72f
And more text entry stuff.
2007-02-10 17:42:11 +01:00
Tomeu Vizoso
105c66f25b
More text entry stuff.
2007-02-09 17:34:08 +01:00
Tomeu Vizoso
6115b8af10
Added text entry control.
2007-02-09 14:47:11 +01:00
Marco Pesenti Gritti
39678b8bb8
Patch by Owen Williams to accept custom MANIFEST filename.
2007-02-08 22:27:03 +01:00
Marco Pesenti Gritti
f6e1df09f5
Refactor a bit the color stuff. Python doesn't seem to like initializing class members with an instance of the class itself. Initial frame control implementation.
2007-02-08 16:28:05 +01:00
Tomeu Vizoso
7e324af179
Added toolbar and button controls.
2007-02-07 18:26:39 +01:00
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
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