Commit Graph

228 Commits

Author SHA1 Message Date
Dan Williams
039ac19432 datastore fixes 2006-12-11 17:25:48 -05:00
Dan Williams
dbca112368 don't allow blank property values in find(); handle property deletion 2006-12-11 10:59:30 -05:00
Dan Williams
74d9555796 Remove useless dbus service file; the datastore is a session service and doesn't need one 2006-12-11 08:02:09 -05:00
Dan Williams
ff53fdc185 Add a simple prototype data store 2006-12-11 07:55:01 -05:00
Marco Pesenti Gritti
37853ad836 Fix up service installation path 2006-12-04 14:32:48 -05:00
Marco Pesenti Gritti
bd906334ea Fix a few indentation screw ups 2006-12-04 14:27:08 -05:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Tomeu Vizoso
59d57a03d9 First implementation of ClipboardService. Implement pdf viewing and downloading via ClipboardService. 2006-11-15 13:56:19 +01:00
Dan Williams
a6aaff912b NM applet: store and return allowed networks correctly 2006-11-13 12:56:12 -05:00
Dan Williams
0ed4d028e2 Remove debugging code 2006-11-12 23:24:27 -05:00
Dan Williams
08bde38ebf Make the WEP key dialog work in async mode 2006-11-12 23:16:31 -05:00
Dan Williams
9c1f76b042 Fix returned dbus args so the applet works with WEP 2006-11-12 19:21:13 -05:00
Dan Williams
5e4d972f40 Fix more key dialog interaction 2006-11-12 19:12:17 -05:00
Dan Williams
9e6f1b6619 Fix icon update on NM going away 2006-11-12 18:37:25 -05:00
Dan Williams
fa94236b78 Add wepkeydialog to the makefile 2006-11-12 18:37:03 -05:00
Marco Pesenti Gritti
a3d9a93d82 More fixes, nearly there but not quite yet. 2006-11-13 00:10:49 +01:00
Marco Pesenti Gritti
4cd09ed5f8 Add a simple dialog to enter the web hex key. Several typo fixed.
Merged a patch from Dan.
2006-11-12 22:44:28 +01:00
Dan Williams
f5d2fd969c Hook up more of the key dialog bits 2006-11-12 14:42:30 -05: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
a6503b8bd8 Merge branch 'master' of git://dev.laptop.org/sugar 2006-11-02 17:21:00 +01:00
Dan Williams
823f1cf6f7 Work around non-bound HippoCanvas 'clickable' property by using button-press-event instead 2006-11-01 16:55:24 -05:00
Dan Williams
a6ff123ffe Do rollovers on menu items and stub code for activating a connection 2006-11-01 15:43:30 -05:00
Dan Williams
9ef18ffe99 Rollovers in NM applet menu 2006-11-01 14:25:47 -05:00
Dan Williams
a8fda48c72 Don't draw progress bar when % is 0 2006-11-01 14:25:31 -05: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
cf508c1d22 Do not resize the icon, use the original icon size. 2006-10-31 23:18:43 +01:00
Dan Williams
1088013f92 Fix active device handling 2006-10-30 14:28:28 -05:00
Dan Williams
37b4d2bb05 Switch back to 75x75 icons 2006-10-30 14:27:23 -05:00
Dan Williams
710c225e64 Organize menu items to conform with Eben's mockups 2006-10-30 13:16:40 -05:00
Dan Williams
b241defcb2 Make the Hippo-fied menu much prettier 2006-10-30 12:40:33 -05:00
Dan Williams
72832e0174 Convert to an ugly Hippo menu 2006-10-29 22:42:51 -05:00
Dan Williams
ce107c30f6 Load icons at start and scale to 25x25 2006-10-29 16:21:00 -05:00
Marco Pesenti Gritti
546dc26bea Activate the logger before importing the ps, so that we
show meaningful errors if avahi is missing.
2006-10-29 22:43:52 +01:00
Dan Williams
4071b1970e Change to /usr/bin/python instead of /bin/env python 2006-10-29 11:06:21 -05:00
Dan Williams
f679b4b3cc Add copyright header 2006-10-29 11:05:50 -05:00
Marco Pesenti Gritti
de7c2bba5e Import pygtk 2006-10-29 11:50:47 +01:00
Dan Williams
b2983ac763 Better working nm-applet
- Start nm-applet when the shell starts
- Use the artwork
- Respond to signals and get initial states
2006-10-29 01:33:42 -04:00
Dan Williams
5ff6ba45d4 Build up a network menu
Build up the networks menu of wired and wireless devices, using
GtkMenu for now.  Doesn't respond to interaction yet.
2006-10-26 15:48:27 -04:00
Dan Williams
b148a0a6aa Install the nm-applet dbus config file in the right place 2006-10-26 14:12:03 -04:00
Dan Williams
88ddaab1c7 Add (slightly) sugarized NetworkManager applet
An implementation of the NetworkManagerInfo service (for storing local
networking config) and GUI bits for discovering network status and
controlling networking, written in Python.
2006-10-26 13:04:39 -04:00
Dan Williams
6290a5fae9 Retry resolution of a buddy presence service up to 3 times 2006-10-20 15:01:08 -04: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
f7f1455b46 Revert to IP4 only since Avahi mixes up IP4 and IP6 when using PROTO_UNSPEC 2006-10-20 12:29:11 -04:00
Marco Pesenti Gritti
54941c542b Do not traceback on properties containing = 2006-10-19 17:09:42 +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
4e88e927fb Remove the old dbus stuff, use one log file per process 2006-10-16 15:56:22 +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
94dcfa8a94 Add GPL headers 2006-10-15 01:25:50 +02:00
Marco Pesenti Gritti
cbd3a52a68 Do not set up the owner of the presence service if there
is no nick name in the env. I'm not sure this is the best
approach, we need to figure it out.

First go at the new simulator.
2006-10-09 15:11:15 +02:00
Dan Williams
75fb1a33de Send empty lists rather than NotFoundError exceptions where appropriate; compact some code 2006-10-06 11:05:27 -04:00
Dan Williams
022c183016 Fix wrong conversion of typechecking to isinstance 2006-10-06 10:46:17 -04:00
John (J5) Palmieri
6f337e0b14 Changed all type checking to use isinstance 2006-10-03 17:06:48 -04:00
John (J5) Palmieri
7c342e75bf s/type(val) == type({})/isinstance(val, dict)
This needs to be changed everwhere in the code because
isinstance will match derived types where == will not
2006-10-03 14:32:29 -04:00
Dan Williams
3919643c7d Expose local name collision errors (ie, somebody else registered that service) 2006-10-02 17:11:20 -04:00
Dan Williams
fc9c923da9 Ignore local name collisions again 2006-09-29 16:53:42 -04:00
Dan Williams
22be6cb0da Work around bug where Avahi passes back a blank service type; and don't traceback on invalid service types 2006-09-27 16:47:23 -04:00
Dan Williams
9ce768ca39 Add and remove activities to/from Buddy objects at appropriate times 2006-09-27 11:35:34 -04:00
Dan Williams
38e85f3987 Ignore duplicate activity additions 2006-09-27 11:35:15 -04:00
Dan Williams
ce577a6376 Refactor current activity handling to be top-level attributes and D-Bus signals, not stuck in the property dict 2006-09-26 13:31:14 -04:00
Dan Williams
31c69ed167 Hook up Buddy.add_activity() and Buddy.remove_activity() 2006-09-26 13:23:12 -04:00
Dan Williams
0e67d939a8 Set icon cache earlier 2006-09-25 14:15:42 -04:00
Dan Williams
7ba30ea0d2 Clean up debug messages 2006-09-25 13:42:37 -04:00
Dan Williams
e89c88b191 Fix location of cache debug prints 2006-09-25 13:24:27 -04:00
Dan Williams
5e3d56fe77 Rename function to match previous _request_buddy_icon->_get_buddy_icon 2006-09-25 13:15:36 -04:00
Dan Williams
85d70f2383 Use the buddy icon cache 2006-09-25 10:57:21 -04:00
Dan Williams
f6c043b204 Add a buddy icon cache 2006-09-25 10:56:31 -04:00
Dan Williams
b67c0a6b3d Don't print EntryGroup messages for now 2006-09-24 21:30:48 -04:00
Dan Williams
d2e235838e Only print out service resolutions, not updates 2006-09-24 21:30:28 -04:00
Dan Williams
7268d8803d Ensure owner validity before using 2006-09-24 21:29:11 -04:00
Dan Williams
6473444e09 Add a 'Disappeared' signal on the buddy object 2006-09-22 17:21:34 -04:00
Dan Williams
fcef47181b Don't hardcode property key names; protect against spurious _presence_olpc services; watch for changes on the _presence_olpc service, like current activity updates 2006-09-22 15:47:12 -04:00
Dan Williams
1ab8089457 Make Service a GObject subclass, and add a property-changed signal
Also fix bug where all property keys were sent in the property-changed signal
because the properties dict was cleared too early.
2006-09-22 15:44:25 -04:00
Dan Williams
d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -04:00
Dan Williams
14763c0f5c Fix up registered service type checking code 2006-09-15 18:37:54 -04:00
Dan Williams
922b7238b9 Merge 2006-09-15 16:50:06 -04:00
Marco Pesenti Gritti
5f99dcf9a5 Move the presence service out of the shell 2006-09-15 13:54:16 +02:00