Morgan Collett
a13ef2209b
Fix bundlebuilder - pylint patch 050e9 broke some indentation
2008-04-25 13:17:50 +02:00
Simon Schampijer
83f76f115a
Use new style for unused variables
2008-04-24 16:55:19 +02:00
Tomeu Vizoso
84e2e2bd14
Correctly use tempfile.mkstemp().
2008-04-22 19:32:38 +02:00
Marco Pesenti Gritti
050e9b54c3
pylint sugar.activity, mostly clean
2008-04-19 11:10:03 +02:00
Tomeu Vizoso
bb924b48cd
Add favorite support to the activity registry.
2008-04-02 11:23:10 +02:00
Tomeu Vizoso
ef40555ed3
Add support for accelerators to buttons.
2008-04-01 11:52:11 +02:00
Marco Pesenti Gritti
d959426744
Make install take the full path rather than prefix. That way
...
it can be used to install in ~/Activities.
2008-03-30 23:03:39 +02:00
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
c975b11606
Try to cleanup the activity destruction mess.
2007-10-15 23:47:02 +02: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
Michael Stone
9c5755d85a
Direct Rainbow to capture activity stdio output.
2007-10-10 19:23:59 -04: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
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
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
177ee7220a
Add $bundlepath/bin to the PATH when launching an
...
activity.
2007-10-09 12:08:03 +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
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
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
Marco Pesenti Gritti
e543eada4e
Revert "Adapt to dbus-python API change"
...
This reverts commit 7391e4a3c3
.
2007-09-27 20:53:41 +02:00
Marco Pesenti Gritti
7391e4a3c3
Adapt to dbus-python API change
2007-09-27 20:46:20 +02:00
Simon McVittie
a2e7d03686
Refactoring and beginnings of scope-change support in client library (partially addresses #3378 )
2007-09-24 12:02:51 +01:00
Michael Stone
46357bdc66
Fixes #3723 , "Fix Rainbow/Sugar Integration."
2007-09-21 17:26:58 -04:00
Simon Schampijer
2a91e02444
Copy and paste error in the EditToolbar
2007-09-21 11:37:46 +02:00
Dan Winship
f377d6e519
Redo activity bundles in terms of sugar.bundle.bundle
2007-09-20 12:20:21 -04:00
Marco Pesenti Gritti
8aecf00060
Use logging.error or dbus errors. Launch the activity
...
even if the dbus call on the datastore to find object_id
fails.
2007-09-15 00:08:49 +02:00
Marco Pesenti Gritti
0a666e23cf
When starting an activity with activity_id but no object_id
...
try to figure out from the journal which object it was
associated to.
2007-09-14 16:16:54 +02:00
Simon McVittie
bc49fc4257
When joining an activity, pick up its sharing scope.
...
This avoids trying to re-share already shared activities in order to invite someone (#3364 )
2007-09-12 12:35:39 +01:00
Marco Pesenti Gritti
971fd857e0
Hook up private activities and share invite-only
...
implicitly.
2007-09-11 19:59:40 +02:00
Marco Pesenti Gritti
fdb9c57e65
Handle invitations inside Activity.
2007-09-11 17:53:27 +02:00
Tomeu Vizoso
e9449d0ab0
Do sync the DS creates.
2007-09-10 17:58:01 +02:00
Tomeu Vizoso
8ced2dccbe
Generate context comments in .po files.
2007-09-08 19:40:22 +02:00
Tomeu Vizoso
b3ad232b0c
#2909 : Make python activities more tolerant to missing metadata properties.
2007-09-08 16:11:47 +02:00
Dan Williams
9e2a9c4c02
Support moving of files to datastore when using write_file()
...
Using the transfer_ownership argument, activities using the default activity
datastore integration methods (namely write_file) will now tell the datastore
that it can move the files by default. This reduces the copies required, which
is slow on flash. For activities not using the standard APIs (Record, etc),
the datastore bindings allow the activity to specify when ownership should
transfer.
2007-09-07 21:53:32 -04:00
Dan Winship
7b760686a7
Add support for content bundles
2007-09-07 13:31:45 -04:00
Tomeu Vizoso
9858a190fd
Expose the separator in the edit toolbar so it can be hidden by activities.
2007-09-07 18:08:48 +02:00
Marco Pesenti Gritti
3ae5186b7a
Use the activity service name for logs rather than
...
the user visible name.
2007-09-04 15:55:21 +02:00
Marco Pesenti Gritti
f6239d6df8
Handle exceptions in the activity constructor so that
...
log messages ends up in the activity log rather than
in shell/journal.
2007-09-03 23:42:17 +02:00
Marco Pesenti Gritti
3617dd1635
Cleanup Bundle to not require SUGAR_PREFIX to
...
be set. Also start using properties rather than
set/getters.
2007-09-03 23:08:49 +02:00
Tomeu Vizoso
d207faddad
Add tooltips to buttons in the activity toolbar.
2007-09-03 12:38:16 +02:00
Dan Williams
739b9160b1
Refactor activity share/join in Activity.__init__() to be clearer and cover all cases
...
Remove the 'pservice_id' attribute of the ActivityHandle too, since it was
completely pointless and should have been the same as the activity id anyway.
Share/join is handled in the Activity.__init__() method and the shell doesn't
really need to know about it at all.
2007-09-01 13:07:49 -04:00
Tomeu Vizoso
0e60f07dd2
Save the temp file for the icon with the svg suffix so Icon will recognize it as a svg.
2007-08-31 19:57:45 +02:00
Tomeu Vizoso
ad1818f985
#3063 : Make the 'Keep' button in the activity toolbar create a copy of the activity in the journal. Add a copy() method for activities to use.
2007-08-31 15:43:38 +02:00