Commit Graph

143 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
1796cbc0c7 Remove print 2007-07-04 11:24:06 +02:00
Marco Pesenti Gritti
ab370bd04e Make the battery device use HAL 2007-07-04 11:12:22 +02:00
Marco Pesenti Gritti
ddecddcb42 Remove unused methods from the activity services. Cleanups. 2007-07-03 20:55:46 +02:00
Marco Pesenti Gritti
778e65f610 Notify zoom level change 2007-07-02 15:00:55 +02:00
Marco Pesenti Gritti
41af921826 Cleanup zoom level management 2007-07-02 14:53:50 +02:00
Marco Pesenti Gritti
7024f93a43 Move the zoom levels inside the model 2007-07-02 14:34:41 +02:00
Tomeu Vizoso
11ac82143a Corrected some formatting issues with imports. 2007-07-02 10:21:58 +02:00
Tomeu Vizoso
84c94ecabe Restrict palette positioning to screen height/width - 1 grid cell. 2007-07-01 11:25:35 +02:00
Marco Pesenti Gritti
e3e69f42a2 Add a bunch of GPL headers 2007-06-24 15:01:30 +02:00
Marco Pesenti Gritti
8505a18652 Fix copyright year 2007-06-24 14:45:05 +02:00
Bert Freudenberg
bd86aee0d4 use activity_id in service name
- construct service name from activity id instead of X window id
- cleanup unused declarations in activityfactory.py
- remove obsolete _dbus_name_owner_changed_cb()
- see http://dev.laptop.org/ticket/1767
- cleared by marcopg
2007-06-20 11:52:29 +02:00
Marco Pesenti Gritti
2b7ffe41d9 Make bundle_id and activity_id window properties to
avoid races.
2007-06-01 21:21:30 +02:00
Marco Pesenti Gritti
d4bd7a5d05 Do not index icons by activity id. Raw X windows does not have one. 2007-06-01 14:19:14 +02:00
Marco Pesenti Gritti
cd3efeba49 Fix raw X windows 2007-06-01 14:04:54 +02:00
Marco Pesenti Gritti
b1a62c2fc0 Refactor part of the Home model. Should be much
cleaner and reliable. If you find bugs with it
please let me know.
2007-06-01 13:38:34 +02:00
Marco Pesenti Gritti
2f6790105d Make launching a property of the activity model 2007-06-01 11:03:18 +02:00
Marco Pesenti Gritti
38c0cf411c Remove our custom launch timeout. The dbus timeout
is enough.
2007-06-01 10:24:13 +02:00
Marco Pesenti Gritti
42fef182f4 Refactor the bundle registry. Move it inside
the shell and expose the parts that should be
public to the shell dbus service.
2007-05-27 20:24:10 +02:00
Bert Freudenberg
c89de594d3 Use proper "org.laptop.Activity" interface when talking to activities 2007-05-23 18:38:22 +02:00
Bert Freudenberg
677c4bc199 Reliably detect activity launch (fix for #1560) 2007-05-23 18:33:30 +02:00
Tomeu Vizoso
3a1d514e9f Save to the journal when switching to another activity. 2007-05-16 21:30:49 +02:00
Dan Williams
28e8b9025e Show activity title in mesh view 2007-05-15 16:21:40 -04:00
Dan Williams
02c99e2a0c Handle buddy nick changes 2007-05-14 01:21:22 -04:00
Dan Williams
b3a403c8f0 Fix more debug printout; print type not method itself 2007-05-02 23:16:14 -04:00
Dan Williams
886dbf288b Fix debug printout; print type not method itself 2007-05-02 23:13:09 -04:00
Dan Williams
3502c58c47 Remove unused import 2007-05-02 22:19:58 -04:00
Dan Williams
16162f74ff Fix shell for sugar.presence.activity API changes 2007-04-27 12:56:13 -04:00
Guillaume Desmottes
83b712bcb1 Fix properties bugs 2007-04-25 19:35:08 +02:00
Dan Williams
d450ea2dd6 Clean up buddy activity changed signals in MeshModel 2007-04-20 13:56:46 -04:00
Dan Williams
e46d31e0f4 Fix current-activity-changed signals in BuddyModel 2007-04-20 12:38:04 -04:00
Marco Pesenti Gritti
92416d1519 Fix typo in the fallback code path 2007-04-17 18:17:26 +02:00
Marco Pesenti Gritti
5bfc64d9be Always center the owner in the home views 2007-04-16 10:36:15 +02:00
Dan Williams
559c75a317 Fix friending somebody for real this time 2007-04-13 14:20:05 -04:00
Dan Williams
894fcea9fc Remove get_default_type() and bundle default types; obsolete 2007-04-11 15:08:40 -04:00
Dan Williams
6710618a43 Use public keys rather than nicknames to differentiate buddies 2007-04-10 15:55:55 -04:00
Dan Williams
bf9a375836 Send correct object in signal emission 2007-04-10 14:49:43 -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
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
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
Dan Williams
396ca0e64e Don't hiccup on NM start/stop 2007-04-05 00:22:13 -04:00
Dan Williams
4b4cf9673c Cleanup of sugar device handling code 2007-04-04 23:48:09 -04:00
Dan Williams
6c9eb64de3 Handle device addition and activation correctly 2007-03-29 15:02:36 -04:00
Dan Williams
d0fdf59486 Really add mesh device bits 2007-03-29 10:10:34 -04:00
Dan Williams
1352e5be94 Mesh network device support 2007-03-28 17:38:47 -04: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
Dan Williams
dee3953e34 Add property for mode 2007-03-15 22:00:35 -04:00