Commit Graph

305 Commits

Author SHA1 Message Date
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
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
93dd18ff0a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-30 15:38:05 +01:00
Marco Pesenti Gritti
e455611525 with the native factory which doesn't have introspection. 2007-08-30 14:42:12 +02:00
Marco Pesenti Gritti
c082757de6 Revert "Make sure the handle dict values are string. Looks"
This reverts commit 0e45b8fcf1.
2007-08-30 14:36:20 +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
John (J5) Palmieri
f5f95f4d7b Merge branch 'master' of git+ssh://j5@dev.laptop.org/git/sugar 2007-08-27 15:51:55 -04:00
John (J5) Palmieri
c06d639487 Make D-Bus calls async on startup 2007-08-27 15:47:58 -04:00
Marco Pesenti Gritti
294a5231b9 2647, if security is enabled let rainbow launch activities.
Also notify rainbow when active activity changes.
Patch by Ashsong, had to merge it manually.
2007-08-27 18:25:45 +02:00
Tomeu Vizoso
405dafc908 Adapt to changes in the icon API. 2007-08-26 20:44:51 +02:00
Morgan Collett
fc4e4692d7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-25 14:58:09 +01:00
John (J5) Palmieri
2cae66b0ea More follow_name_owner_changed optimiztion
* reasoning changed from a FIXME to a NOTE to explain why we need
     to follow_name_owner_changed
2007-08-24 18:25:56 -04:00
Morgan Collett
4cfc941e49 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-24 15:14:48 +01:00
Morgan Collett
d2261e4051 Fix sharing publicly 2007-08-23 13:48:16 +01:00
Dan Winship
da6a31aa80 Revert "Notice when (non-sugar) activity factories fail to launch. #1975"
This reverts commit d2aba901c3.

The change made etoys *always* apparently fail to launch; the problem
is with sugar-native-factory, not activityfactory.py
2007-08-22 18:23:20 -04:00
John (J5) Palmieri
0a18473ca7 Speed up startup by another 2 seconds by using follow_name_owner_changes
* this is a side effect of follow_name_owner_changes which removes some
      blocking calls in the __init__ of proxies.  It introduces some semantics
      we might not want (such as following name owner changes) but which
      are fairly beinign
2007-08-22 17:37:33 -04: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
1c06a44a7d Use CamelCase for the activity service methods. 2007-08-20 15:18:46 +02:00
Marco Pesenti Gritti
5741d21be9 Rename genmo to genl10n 2007-08-18 12:48:40 +02:00
Marco Pesenti Gritti
db57fc38be Make activity names translatable. 2007-08-18 12:48:40 +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
Tomeu Vizoso
cff8ffc328 Complete move to external bundle registry. 2007-08-09 18:10:16 +02:00
Tomeu Vizoso
f00f3e2f8d Correctly include .mo files in bundles. 2007-08-09 15:26:52 +02:00
Dan Winship
d2aba901c3 Notice when (non-sugar) activity factories fail to launch. #1975
(still need a better shell UI for when this happens)
2007-08-08 18:24:11 -04:00
Tomeu Vizoso
fa8bcd2ba5 Move the activity register to the clipboard service. 2007-08-08 18:08:07 +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
d4ea1f8101 Do not traceback if bundle version is not integer. 2007-07-30 12:45:01 +02:00
Marco Pesenti Gritti
0f17ae5d04 Cleanup mo packaging. 2007-07-29 15:20:19 +02:00
Tomeu Vizoso
92a953862d #2564: use the activity service name as the base name for translation files. 2007-07-29 12:20:45 +02:00
Marco Pesenti Gritti
0e45b8fcf1 Make sure the handle dict values are string. Looks
like dbus-python get confused if they are dbus.String.
2007-07-26 11:08:31 +02:00
Marco Pesenti Gritti
0a11ebafe8 Increase activity launching timeout. 2007-07-26 10:07:50 +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
Dan Williams
86b36cc5d3 Actually handle multiple mime types 2007-07-18 02:08:16 -04:00