Commit Graph

2349 Commits

Author SHA1 Message Date
Mike C. Fletcher
8302be4544 A few more docstrings 2007-04-09 23:56:14 -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
508a59b99b More Shell fixes for new PS 2007-04-09 16:30:30 -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
3eeec9bf07 Remove references to obsolete p2p.Stream classes 2007-04-09 15:07:40 -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
2f2f756939 Forgot to add this 2007-04-08 19:24:02 +02:00
Marco Pesenti Gritti
09304e8e5a Accept raw X windows in the shell 2007-04-08 19:20:59 +02:00
Marco Pesenti Gritti
3da95e9236 Really commit this, stupid git. 2007-04-07 15:44:48 +02:00
Marco Pesenti Gritti
fb9f53c8a1 Oops missing \ in the Makefile 2007-04-07 15:43:29 +02:00
Marco Pesenti Gritti
bd34f54d9a Forgot to add these. 2007-04-07 15:36:54 +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
e3cf7aa1d3 Unused 2007-04-07 00:22:03 +02:00
Marco Pesenti Gritti
60557533a7 Remove,unused 2007-04-07 00:21:13 +02:00
Marco Pesenti Gritti
2d08ff0163 Move private extensions out of the lib, inside the shell. 2007-04-07 00:08:54 +02:00
Dan Williams
1d25366c4f Don't show Ad-Hoc mode networks in mesh view 2007-04-06 15:50:57 -04:00
Dan Williams
fc12f73fba Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-06 15:29:14 -04:00
Dan Williams
e37bba0094 PresenceService fixes; don't traceback on avahi errors 2007-04-06 15:29:11 -04:00
Marco Pesenti Gritti
c9c1117872 Remove the threadframe stuff which went unused. 2007-04-06 20:13:37 +02:00
Dan Williams
9c0e0783db Fix execute command when using the new dbus-python 2007-04-06 10:27:14 -04:00
Marco Pesenti Gritti
66d0a402e1 Remove the unused push scroller code. 2007-04-06 15:52:49 +02:00
Marco Pesenti Gritti
c2b0b2ae98 Move data in the lib to the toplevel dir. 2007-04-06 15:36:52 +02:00
Marco Pesenti Gritti
49ff2f86de Move not shell specific scripts in bin 2007-04-06 15:22:22 +02:00
Marco Pesenti Gritti
faeb35347f Remove obsolete stuff, get rid of the tools dir. 2007-04-06 15:16:44 +02:00
Marco Pesenti Gritti
94f36e8b7d Obsolete activity examples 2007-04-06 15:15:23 +02:00
Tomeu
5990e5bfd1 Return TRUE again in drag_motion_cb for accepting dnd drops. 2007-04-05 17:22:27 +02:00
Marco Pesenti Gritti
bd3e084805 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-05 12:45:57 +02:00
Marco Pesenti Gritti
3a90cef5b6 Rework corner detection to use 1 pixel window. 2007-04-05 12:44:03 +02:00
Dan Williams
396ca0e64e Don't hiccup on NM start/stop 2007-04-05 00:22:13 -04:00
Dan Williams
7a2a480850 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-04 23:48:18 -04:00
Dan Williams
4b4cf9673c Cleanup of sugar device handling code 2007-04-04 23:48:09 -04:00
Marco Pesenti Gritti
29d518eb55 Do not abort on X errors 2007-04-04 14:11:38 +02:00
Tomeu
164df7bf85 Add XSetErrorHandler for not crashing on X errors caused by Gecko plugins. 2007-04-03 20:17:30 +02:00
Marco Pesenti Gritti
ba08492778 Fix problem with back/forward and frames 2007-03-31 11:47:58 +02:00
Tomeu
6dc536058b Deactivate extension based type checking for Gecko 1.8. 2007-03-30 16:41:51 +02:00
Marco Pesenti Gritti
ca3b37c660 Use xulrunner 2007-03-30 16:18:26 +02:00
Tomeu
891624888f If we receive an application/octet-stream, check the mime type by looking at its extension. 2007-03-30 14:32:07 +02:00
Marco Pesenti Gritti
e179dbae14 Increase timeouts a bit 2007-03-30 01:40:05 +02:00
Marco Pesenti Gritti
87f1e9bcc9 Suspend the mesh view when it's not active so that
we don't keep blinking the icon in the background.
2007-03-30 01:08:44 +02:00
Dan Williams
6c9eb64de3 Handle device addition and activation correctly 2007-03-29 15:02:36 -04:00
Dan Williams
83a86e0ea1 Add a 'device activating' signal 2007-03-29 15:01:46 -04:00
Dan Williams
40f4c81d06 Make the mesh icon pulse when activated and activating 2007-03-29 15:00:27 -04:00
Dan Williams
d5826d1934 fix typo 2007-03-29 14:41:41 -04:00
Dan Williams
552af8aa56 Fix deprecation warning 2007-03-29 11:48:35 -04:00
Dan Williams
de46d81828 Disable buddy icon request for trial 1 2007-03-29 11:48:21 -04: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
Dan Williams
d0fdf59486 Really add mesh device bits 2007-03-29 10:10:34 -04:00