Commit Graph

94 Commits

Author SHA1 Message Date
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
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
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
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
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
Marco Pesenti Gritti
560a914997 Make Activity update the presence service activity
name and listen to the name changes in the mesh view.
2007-08-31 11:37:42 +02:00
Simon McVittie
02a727198f sugar.activity.activity.Activity.share: Add comment indicating how to change activity privacy after creation 2007-08-30 12:13:31 +01:00
Simon Schampijer
55d1acde0e get_sensitive() does not exist for a toolbar. 2007-08-29 00:40:05 +02:00
Dan Williams
8b326fda61 Re-share an activity when it gets launched from the journal if it was shared before 2007-08-28 17:07:57 -04:00
Tomeu Vizoso
405dafc908 Adapt to changes in the icon API. 2007-08-26 20:44:51 +02:00
Morgan Collett
d2261e4051 Fix sharing publicly 2007-08-23 13:48:16 +01:00
Morgan Collett
63f987594b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-22 15:55:16 +01:00
Morgan Collett
52f2bea3ed Use new PresenceService API for sharing by invitation only 2007-08-22 15:54:12 +01:00
Tomeu Vizoso
254433a393 Save the sharing info about the activity to the datastore. 2007-08-21 12:12:13 +02:00
Marco Pesenti Gritti
cace8c0a47 Hide the combo when max_participants == 1 2007-08-16 20:43:05 +02:00
Marco Pesenti Gritti
d33b74469d Add max_participants property. 2007-08-16 17:55:52 +02:00
Marco Pesenti Gritti
f056056691 Patch by Simon to make sugar start when not connected to wireless. 2007-08-16 17:32:29 +02:00
Tomeu Vizoso
4c812eb210 Set ACTIVITY_ROOT environment variable. 2007-08-13 21:14:25 +02:00
Marco Pesenti Gritti
d8faf0ba04 Get rid of some of the obsolete units usage. 2007-07-31 14:56:05 +02:00
Marco Pesenti Gritti
6fcad53763 Add icons for the private/shared dropdown. 2007-07-25 15:05:07 +02:00
Marco Pesenti Gritti
1b292a7514 Combo for shared/private in the activity menu. 2007-07-24 11:29:14 +02:00
Tomeu Vizoso
32074713c8 Clean up only when latest call to the DS has finished. 2007-07-23 13:45:46 +02:00
Tomeu Vizoso
cb6d459815 Fix some temp file leaks. 2007-07-20 19:50:49 +02:00
Marco Pesenti Gritti
19c8532d09 Ensure activity uniquness in the shell 2007-07-20 13:15:11 +02:00
Tomeu Vizoso
91f0eb52aa Adapt to datastore API changes. 2007-07-13 13:20:44 +02:00
Tomeu Vizoso
bbbea6167d gtk.gdk.pixbuf.get_from_drawable can return None in many occasions (patch from Reinier Heeres). 2007-07-11 11:02:43 +02:00
Marco Pesenti Gritti
ac082511a2 Use the new activity-stop icon. 2007-07-10 16:09:21 +02:00
Marco Pesenti Gritti
071cc596c5 Rename close to stop and save to keep 2007-07-10 15:18:08 +02:00
Tomeu Vizoso
52fff021d0 #1930: Only take preview before closing. 2007-07-06 22:43:16 +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
1d4112a882 Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
2007-06-29 22:11:28 +02:00
Tomeu Vizoso
a609da166b Don't create so many objects until we have differential versioning support in the datastore. 2007-06-29 20:24:22 +02:00
Marco Pesenti Gritti
03ef9c034e Translate the default activity toolbar 2007-06-28 15:55:33 +02:00
Marco Pesenti Gritti
51c66de817 Do not allow to close the journal 2007-06-28 12:03:12 +02:00
John (J5) Palmieri
9cdd9058da add process title setting to activities
* they now will show up as Activity Name <id> in the process list
     truncated to 15 characters though
2007-06-27 17:12:32 -04:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Tomeu Vizoso
c1d4f3ce7a Add keep-in-journal button to the activity toolbar. 2007-06-22 14:11:39 +02:00
Marco Pesenti Gritti
f7b6a0c0af Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-06-19 15:54:05 +02:00
Marco Pesenti Gritti
737a8b3932 Cleanup activity closing 2007-06-19 15:51:56 +02:00
Tomeu Vizoso
99369114cb Set title on change. Fixes #1715. 2007-06-18 20:38:20 +02:00
Tomeu Vizoso
d4323957a1 Change preview image size. 2007-06-17 14:25:13 +02:00
Tomeu Vizoso
f0e18ba785 Support for previews in the journal. 2007-06-15 18:03:17 +02:00
Tomeu Vizoso
a9600516fb Take screenshot and save it to the journal (<alt>1). 2007-06-04 18:35:05 +01:00
Marco Pesenti Gritti
b2980d7bd6 Restore get_id/get_service_name, didn't realize they was used by subclasses. 2007-06-03 22:12:47 +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