Dan Williams
511c666a4a
Fix current activity property; get activities when buddy is created
2007-04-26 16:51:37 -04:00
Marco Pesenti Gritti
2d2e1368fb
Add missing files
2007-04-26 12:21:03 +02:00
Marco Pesenti Gritti
e49146752f
More work on the new graphics API.
2007-04-26 11:31:41 +02:00
Guillaume Desmottes
a22d8a65f1
Fix logging.warn arguments
2007-04-25 12:47:29 +02:00
Dan Williams
5d11e7fdd9
Convert activity properties to gproperties
2007-04-24 11:49:43 -04:00
Dan Williams
86ab6ca36b
Reconnect to the PS if it goes away and comes back
2007-04-23 13:11:21 -04:00
Dan Williams
30a50bd9fc
Add test allow_offline_iface to get_instance()
2007-04-23 12:47:50 -04:00
Dan Williams
4ca4e5564e
Add test code for Sugar PresenceService bindings
2007-04-23 12:06:41 -04:00
Dan Williams
6513fef6b2
Cleanups; replace ObjectCache with a straight dict; fix signal name; doc cleanups
2007-04-23 10:08:55 -04:00
Mike C. Fletcher
96ab3a10fe
More code to handle service-offline cases and log messages to tell the
...
user/admin what's going on.
2007-04-22 00:31:32 -04:00
Mike C. Fletcher
a7af5b06cd
Try to avoid Sugar's shell just crashing and leaving a blank X server
...
when the PresenceService isn't available on the back-end for whatever
reason, whether mis-configuration, corrupted installation, unexpected
circumstances, or what have you.
This patch makes as few changes as possible to the code,
simply replacing the _ps member with a property that re-attempts
connection on each access until an attempt is successful.
2007-04-22 00:23:19 -04:00
Mike C. Fletcher
df4919de2f
Merge branch 'master' of git+ssh://mcfletch@dev.laptop.org/git/sugar
2007-04-21 14:05:08 -04:00
Marco Pesenti Gritti
76e375749a
Add more toolbars and a text area
2007-04-20 15:38:34 +02:00
Marco Pesenti Gritti
f6a93fd8e9
Some initial work on graphics2
2007-04-20 14:45:39 +02:00
Tomeu Vizoso
734d16022e
Don't try to show the popup of a detached canvas icon.
2007-04-17 16:54:01 -03:00
Guillaume Desmottes
9bc3edabb8
Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar
2007-04-16 16:52:16 +02:00
Guillaume Desmottes
a4e18cf9c5
add get_preferred_connection method to PresenceService
2007-04-16 16:41:00 +02:00
Marco Pesenti Gritti
f67a243653
Get rid of the notebook which was causing strange flickering.
2007-04-16 12:26:17 +02:00
Marco Pesenti Gritti
f55a19b73c
Implement the transition between zoom view.
2007-04-16 11:40:28 +02:00
Marco Pesenti Gritti
5bfc64d9be
Always center the owner in the home views
2007-04-16 10:36:15 +02:00
Marco Pesenti Gritti
e793614464
Fallback to ltihooks
2007-04-15 15:41:47 +02:00
Marco Pesenti Gritti
218f9e10ae
Load the modules from .la if the normal import fails
2007-04-15 15:06:04 +02:00
Marco Pesenti Gritti
ba23a6ed3a
Add a SUGAR_PATH env to override $prefix/share/sugar
2007-04-15 13:54:53 +02:00
Marco Pesenti Gritti
5a4bf4be6b
Some paths tweaks, refactorings to make sugar self contained as much as possible
2007-04-15 13:04:38 +02:00
Marco Pesenti Gritti
d49b0ed6fb
Use sys.path.append, not insert
2007-04-15 12:26:50 +02:00
Marco Pesenti Gritti
ee400fa602
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-04-15 11:42:06 +02:00
Marco Pesenti Gritti
c738ac488e
Fix SnowflakeBox
2007-04-15 11:39:06 +02:00
Mike C. Fletcher
e571b3bff9
Fix a few syntax errors so that compileall can process the module
2007-04-15 00:35:49 -04:00
Mike C. Fletcher
8635a702c6
Documentation for the activity and buddy presence objects
2007-04-15 00:27:48 -04:00
Mike C. Fletcher
0fc5e67dcc
More documentation, mostly for the sugar.presence.presenceservice
...
module.
2007-04-14 23:38:21 -04:00
Mike C. Fletcher
5efe3ef532
Initial documentation pass for the sugar.clipboard.clipboardservice module.
2007-04-14 02:00:51 -04:00
Mike C. Fletcher
2ca12e9da2
Overall roles and operation of the activity classes.
...
Note on return value for factory service.
2007-04-14 01:17:59 -04:00
Dan Williams
99737f8273
Clear share signal ID after disconnecting it
2007-04-13 16:58:32 -04:00
Dan Williams
3abe79353a
Asynchronize activity sharing on the client side
2007-04-13 16:27:58 -04:00
Dan Williams
894fcea9fc
Remove get_default_type() and bundle default types; obsolete
2007-04-11 15:08:40 -04:00
Marco Pesenti Gritti
eeb09294d8
Revert "Start reworking the cliboard services to use the types registry."
...
This reverts commit fcb57779a2
.
2007-04-11 18:22:52 +02:00
Marco Pesenti Gritti
c74a629080
Revert "Merge type definitions from the old registry."
...
This reverts commit 57e9789b8a
.
2007-04-11 18:22:30 +02:00
Marco Pesenti Gritti
57e9789b8a
Merge type definitions from the old registry.
2007-04-11 16:33:13 +02:00
Marco Pesenti Gritti
fcb57779a2
Start reworking the cliboard services to use the types registry.
2007-04-11 16:14:58 +02:00
Marco Pesenti Gritti
73f2577397
First go at the new type registry.
2007-04-11 14:06:27 +02:00
Dan Williams
defd9f76e3
Convert icon data to python string before exposing it
2007-04-10 22:24:31 -04:00
Dan Williams
bf4b1a3f8f
Fix icon changed signal handling in sugar PS bindings
2007-04-10 15:23:01 -04:00
Dan Williams
eee98e1f82
Re-enable new PresenceService by default
2007-04-10 14:49:14 -04:00
Dan Williams
a07e946cc4
Readd mock presence service and enable it by default
2007-04-10 08:39:02 -04:00
Mike C. Fletcher
3f10890319
Docstrings for modules all over sugar and shell.
...
These are just the doc strings I created as I was spelunking
through to see how Sugar manages launching applications. The
resulting auto-documentation is neither polished or finished,
but it should help people reading the code somewhat.
There are a few minor code cleanups:
* activityhandle (replacing C idiom for initialisation with
a Python one)
* bundle registry (using a parameterised directory name so
that it shows up in the documentation)
* validate_activity_id function, use isinstance( item, (str,unicode))
for the query, rather than two separate checks with isinstance
2007-04-09 22:47:37 -04:00
Dan Williams
76a0f45aa8
More new PS fixes
2007-04-09 16:05:32 -04:00
Dan Williams
4cf8f321f0
Fix activity ID generation logic
2007-04-09 15:08:04 -04:00
Dan Williams
bc083dae5a
Cut over to new PresenceService
2007-04-09 14:40:56 -04:00
Dan Williams
2509d990e4
Cut over to new PresenceService
2007-04-09 14:40:50 -04:00
Marco Pesenti Gritti
3da95e9236
Really commit this, stupid git.
2007-04-07 15:44:48 +02:00
Marco Pesenti Gritti
5343752c35
Make browser a modules inside sugar library
2007-04-07 13:17:36 +02:00
Marco Pesenti Gritti
4828870afd
Use gtk to detect dpi.
2007-04-07 03:42:51 +02:00
Marco Pesenti Gritti
c9c1117872
Remove the threadframe stuff which went unused.
2007-04-06 20:13:37 +02:00
Marco Pesenti Gritti
f59fab783f
Change the feedback for connected/connecting/disconnected access point,
...
using two different types of pulsing.
2007-03-29 17:25:47 +02:00
Tomeu Vizoso
2e73999004
Relativize bubble radius to screen proportions.
2007-03-28 20:23:51 +02:00
Tomeu Vizoso
a6c1ef6080
Popup/popdown fixes.
2007-03-28 19:34:11 +02:00
Marco Pesenti Gritti
bf805bfa2f
Disable the presence service. You can reenable it by just
...
changing the _ENABLE var to True.
2007-03-28 12:17:34 +02:00
Marco Pesenti Gritti
2a36387ad7
Remove some unused imports
2007-03-28 11:42:50 +02:00
Marco Pesenti Gritti
b6a1445573
Kill a lot of old old unused code
2007-03-28 11:40:22 +02:00
Marco Pesenti Gritti
b5e4aa43a9
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-03-26 12:42:17 +02:00
Marco Pesenti Gritti
7267047ce6
Strip the MANIFEST lines
2007-03-26 12:38:34 +02:00
Tomeu Vizoso
ad23ceac8d
Fix last fix.
2007-03-25 19:34:11 +02:00
Tomeu Vizoso
318439ab27
Fix for #1157 . Thanks to leejc.
2007-03-25 11:42:26 +02:00
Tomeu Vizoso
01edb130c1
Compile and include .mo in ./setup.py dist.
2007-03-23 20:13:41 +01:00
Marco Pesenti Gritti
aa8debb4cb
Fix up translations support
2007-03-23 18:18:42 +01:00
Marco Pesenti Gritti
e25c95ebaf
My brain is dead, it really is. Actually setup gettext on the server...
2007-03-23 17:57:36 +01:00
Marco Pesenti Gritti
dd6b0c0b7e
Remove debug code
2007-03-23 17:46:55 +01:00
Marco Pesenti Gritti
6352ea9e20
Unused
2007-03-23 17:45:48 +01:00
Marco Pesenti Gritti
ba242f34b7
Fix locale path handling
2007-03-23 17:43:40 +01:00
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