Commit Graph

1670 Commits

Author SHA1 Message Date
Tomeu Vizoso
8e6a5b42be Use the right gettext domain. 2008-02-09 12:27:22 +01:00
Marco Pesenti Gritti
488402df7d Split sugar-toolkit out of sugar shell. 2008-02-06 10:20:33 +01:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00
Marco Pesenti Gritti
087856f233 Remove ltihooks since we are not loading from the source
directory at the moment.
2007-10-16 10:32:03 +02:00
Marco Pesenti Gritti
1eb9932ab3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-15 23:48:17 +02:00
Marco Pesenti Gritti
c975b11606 Try to cleanup the activity destruction mess. 2007-10-15 23:47:02 +02:00
Simon Schampijer
33143f4e0e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-15 19:04:05 +02:00
Simon Schampijer
1ee7191b5d Added a TimeoutAlert and use GTK Response Type Constants 2007-10-15 19:03:48 +02:00
Morgan Collett
a9a9b4c733 Improve docstring for class Activity 2007-10-15 17:20:22 +01:00
Morgan Collett
cd03544dec Handle failure to get buddy from handle 2007-10-15 17:17:53 +01:00
Morgan Collett
d4f16ac02a Change _buddy_to_handle to _buddy_path_to_handle to avoid mad creation of buddy object when they leave 2007-10-15 17:17:28 +01:00
Morgan Collett
dd83813b9e Revert to tracking BuddyLeft not BuddyHandleLeft. Track buddy_to_handle to get back to the handle 2007-10-15 17:17:13 +01:00
Morgan Collett
61d236e5d4 Fix _buddy_handle_joined_cb, make _buddy_handle_left_cb more robust 2007-10-15 17:16:59 +01:00
Morgan Collett
a618c95fe3 Use BuddyHandleJoined/Left to track buddy handles 2007-10-15 17:16:48 +01:00
Morgan Collett
f1df5361e1 Cache handle-buddies so we can get them when the buddy has already left 2007-10-15 17:16:31 +01:00
Morgan Collett
c9908a6d27 Call new GetBuddyByHandle to convert handles to buddies 2007-10-15 17:16:21 +01:00
Morgan Collett
4853beb4fb Document get_channels 2007-10-15 17:15:48 +01:00
Morgan Collett
10f2932b5a Add logging to _leave_error_cb 2007-10-15 17:15:23 +01:00
Marco Pesenti Gritti
68ff71a0cb Split part of the sugar library to sugar-base 2007-10-15 15:39:07 +02:00
Marco Pesenti Gritti
29bc0a8a20 Fix native applications handling 2007-10-14 00:25:53 +02:00
Marco Pesenti Gritti
c34b5204ac Registration menu 2007-10-12 19:07:02 +02:00
Simon Schampijer
05668dfad7 fixed alert doku 2007-10-11 21:04:40 +02:00
Simon Schampijer
ddb400df91 First implementation of the alert bar #2822
Hooked it up to the activity window as well
2007-10-11 20:04:04 +02:00
Michael Stone
9c5755d85a Direct Rainbow to capture activity stdio output. 2007-10-10 19:23:59 -04:00
Benjamin Berg
7634b8f915 Put toolbars into event boxes. This means that they will be filled with
the background color by X which makes the frame animations nicer.
2007-10-09 23:54:47 +02:00
Marco Pesenti Gritti
3dd77cdd0b Use incremental numbers to avoid double logs, nicer
than timestamps.
2007-10-09 22:38:57 +02:00
Marco Pesenti Gritti
2a47190f28 When running from a terminal don't use logs. 2007-10-09 21:50:48 +02:00
Marco Pesenti Gritti
56ecabbd78 Readd timestamps to the logs 2007-10-09 21:43:55 +02:00
Marco Pesenti Gritti
50344772eb Looks like I can't dup2 and stream logs on the same file. 2007-10-09 21:30:28 +02:00
Marco Pesenti Gritti
46d128c85a Cleanup the logs stuff a bit. 2007-10-09 21:18:54 +02:00
Marco Pesenti Gritti
b44a2916ba Rework sugar.logger and make activities just
redirect their output to a log.
2007-10-09 18:58:39 +02:00
Marco Pesenti Gritti
b03cf6c5e8 More service_name -> bundle_id renaming 2007-10-09 17:03:00 +02:00
Marco Pesenti Gritti
c2982f2774 Implement a sugar-launch command. Works like the old sugar-activity
but should deal fine with native activities too.
2007-10-09 15:25:24 +02:00
Marco Pesenti Gritti
6073a396b3 Rename activity service_name to bundle_id 2007-10-09 13:15:06 +02:00
Marco Pesenti Gritti
57961d17bc Leftover service initialization 2007-10-09 12:29:20 +02:00
Marco Pesenti Gritti
fc6ded013f Remove activity services creation. 2007-10-09 12:22:20 +02:00
Marco Pesenti Gritti
177ee7220a Add $bundlepath/bin to the PATH when launching an
activity.
2007-10-09 12:08:03 +02:00
Marco Pesenti Gritti
f82e79e27c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-08 14:58:36 +02:00
Marco Pesenti Gritti
6ebe910e93 In preparation of enabling rainbow by default, remove
the factory service from the public API. The Exec field
will now launch an activity instance.
Add a -s argument to sugar-activity to enable the single
process mode for activities that really need it.
2007-10-08 14:56:12 +02:00
Benjamin Berg
af77859c21 Don't fail to expose if there is no invoker. 2007-10-08 13:54:27 +02:00
Marco Pesenti Gritti
c74013db1f Timeout of 120 seconds for mount to work around jffs2 issues. 2007-10-06 11:15:36 +02:00
Tomeu Vizoso
eeae5d011f Save activity previews to the datastore as binary png images. 2007-10-05 22:39:45 +02:00
Dan Winship
2bcbde6e44 Add bundle removing methods/signals to the activity registry, and use them 2007-10-04 15:59:23 -04:00
Dan Winship
b82c9c2c2f Reorganize the uninstall code for #3151
(Make it so you can build a Bundle object from the zip file but still use
its uninstall() method to uninstall the unzipped version.)
2007-10-04 14:58:43 -04:00
Tomeu Vizoso
fab9ac8972 Add DSMetadata.get() method. 2007-10-03 21:33:34 +02:00
Simon Schampijer
03e6db4393 Add support for 'keys' and 'in' method in datastore metadata 2007-10-02 23:40:39 +02:00
Dan Winship
53adb39e84 Allow the first file in a bundle to be "mimetype", and ignore it if it's there 2007-10-01 11:48:46 -04:00
Benjamin Berg
45efe5eff6 Call the correct remove function when removing old content from palettes. 2007-09-30 00:20:27 +02:00
Simon Schampijer
b8ec83c5b8 This prevented activties whith no share-scope set to set the window title 2007-09-28 16:32:22 +02:00
Simon McVittie
d60cc6ae39 activityfactory: Cope with dbus-python 0.82.2's fix to non-default timeouts. In 0.82.1 async call timeouts were wrongly in milliseconds, in >= 0.82.2 they are correctly in seconds. Synchronous timeouts have always been in seconds.
This patch can be simplified once dbus-python gets into builds (#3903).
2007-09-27 20:57:44 +02:00