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
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
Marco Pesenti Gritti
79db010653
Fix uri list parsing
2007-09-26 11:00:16 +02:00
Dan Winship
8ff6cbab1e
Fix MIME icon installation ( #2458 ) and icon/mimetype info uninstallation
2007-09-25 14:50:38 -04:00
Dan Winship
70940b8573
fix _uninstall()
2007-09-25 14:50:11 -04:00
Marco Pesenti Gritti
a8969d776f
Ship the startup sound with sugar
2007-09-24 21:16:06 +02:00
Simon Schampijer
e3f97b042f
Save state of volume when shutdown and reboot fix for #3652
2007-09-24 18:00:36 +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
Marco Pesenti Gritti
9ffcbfca4d
Play a startup sound if it exists.
2007-09-22 14:49:21 +02:00
Benjamin Berg
9b11183eae
Hide the menu and content when they are empty and added a
...
separator between them.
2007-09-22 00:43:14 +02:00
Benjamin Berg
f6cc705133
Removed the padding from the vbox and added some to the
...
palette (xthickness). Also correctly pad the label,
set it to be bold and give it a fixed height. This fixes
bug #3081 .
2007-09-22 00:21:45 +02:00
Benjamin Berg
30d6361fb4
Merge branch 'master' of git://dev.laptop.org/sugar
2007-09-22 00:13:42 +02:00
Benjamin Berg
c1894d3ec4
Implement a do_size_request to be able to correct resize on size
...
changes, and set a minimum width. Fixes #3497 and adresses #3081 .
2007-09-22 00:13:33 +02: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
070d7a6dfc
Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar
2007-09-20 15:56:28 -04:00
Marco Pesenti Gritti
c4ac2f47fd
Drop obsolete widget
2007-09-20 21:04:36 +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
0f2a58d737
Human readable file names when copying on usb...
...
Conflicts:
NEWS
2007-09-20 12:25:12 +02:00
Marco Pesenti Gritti
3ccd79e3ca
Don't crash when entering the detailed view if the
...
activity which created the entry is no more installed.
2007-09-18 23:34:04 +02:00
Simon Schampijer
53f1265252
Handle the passing of the child of the toolitem to the WidgetInvoker in ToolInvoker, FrameWidgetInvoker
2007-09-18 14:24:16 +02:00
Simon Schampijer
8ae1f9aad8
Fix that several palettes are not hooked up to the same button #3293
2007-09-17 23:42:17 +02:00
Marco Pesenti Gritti
44ffef5f67
Convenience method to get the pubkey, which the activities seem to need.
2007-09-17 16:35:23 +02:00
Marco Pesenti Gritti
2536f51570
Use nick name consistently in the profile
2007-09-17 16:28:21 +02:00
Marco Pesenti Gritti
30edb542b1
Cleanup the profile code and rename the Server section to Jabber.
2007-09-17 13:53:10 +02: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
Tomeu Vizoso
b626f628eb
Fix mime.get_primary_extension().
2007-09-14 10:14:04 +02:00
Marco Pesenti Gritti
cffd29c284
Do not show the toolbox border if there is only one toolbar.
2007-09-13 21:16:49 +02:00
Tomeu Vizoso
47f473189e
Fix typo so the removal of expanded activity bundles is complete.
2007-09-12 20:30:21 +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
8b784a6223
Add default mime type handlers
2007-09-11 21:53:26 +02: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
79237f3114
Add a parameter to datastore.find() for filtering out unwanted metadata properties.
2007-09-10 18:03:40 +02:00
Tomeu Vizoso
e9449d0ab0
Do sync the DS creates.
2007-09-10 17:58:01 +02:00
Tomeu Vizoso
ccb0aaaa28
Don't store the xo-color property on _IconBuffer, it will cause conflicts with stroke-color and fill-color.
2007-09-10 17:55:35 +02:00
Tomeu Vizoso
99059f02a3
Set timestamp property.
2007-09-10 14:04:43 +02:00
Marco Pesenti Gritti
66cc15a498
Fix xo_color comparison.
2007-09-10 11:30:48 +02:00
Marco Pesenti Gritti
f7a1900d3d
Do not redraw/resize if the properties doesn't actually change.
...
In the Icon widget queue resize and redraw as appropriate.
2007-09-10 02:54:47 +02:00
Marco Pesenti Gritti
97451c5466
Optimize xo_color property set and share more code.
2007-09-10 02:18:29 +02:00
Marco Pesenti Gritti
d757126a19
Move entity type checks at loader level so that they
...
are shared by all both icon implementations.
2007-09-10 02:06:24 +02:00
Tomeu Vizoso
547df751a7
Fixed some issues with text objects in the clipboard.
2007-09-09 15:04:26 +02:00
Dan Williams
e52d6f6ed4
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-09-08 23:41:42 -04:00
Dan Williams
e43ccf40be
Add a flag to place the menu after the content in palettes
2007-09-08 22:48:21 -04:00
Marco Pesenti Gritti
ae1a07aee8
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-09-09 00:13:11 +02:00
Tomeu Vizoso
8ced2dccbe
Generate context comments in .po files.
2007-09-08 19:40:22 +02:00
Tomeu Vizoso
f73132de91
Don't try to resume a DSObject if no activity can open it.
2007-09-08 18:41:59 +02:00
Tomeu Vizoso
b3ad232b0c
#2909 : Make python activities more tolerant to missing metadata properties.
2007-09-08 16:11:47 +02:00
Marco Pesenti Gritti
5af1b7d005
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-09-08 12:11:03 +02:00
Marco Pesenti Gritti
34e9d30a9c
Improved icon caching logic
2007-09-08 12:10:35 +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
Tomeu Vizoso
d9a30c23ff
Remove left over property.
2007-09-06 18:55:51 +02:00
Marco Pesenti Gritti
5127901d86
Gray bottom border for Toolbox.
2007-09-05 14:23:17 +02:00
Marco Pesenti Gritti
3723ccead4
Implement TrayIcon palette drawing.
2007-09-05 13:55:18 +02:00
Marco Pesenti Gritti
6018198e83
Add a DBus service to tweak the log level, it will be used by the developer console.
...
Default to error, unless SUGAR_LOGGER_LEVEL is set.
2007-09-05 11:22:41 +02:00
Tomeu Vizoso
0ad6398cf1
Fix typo.
2007-09-04 20:22:58 +02:00
Tomeu Vizoso
c418d0575a
Really remove the sugar.date import.
2007-09-04 16:01:42 +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
b104f1e11e
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
...
Conflicts:
NEWS
2007-09-03 23:09:56 +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
07107fb81b
#2896 : Remove sugar.date module.
2007-09-03 21:26:30 +02:00
Tomeu Vizoso
d207faddad
Add tooltips to buttons in the activity toolbar.
2007-09-03 12:38:16 +02:00
Marco Pesenti Gritti
a09a786ff7
Use Tray also for the frame friends view.
...
Drop the deprecated IconButton.
2007-09-03 01:48:03 +02:00
Marco Pesenti Gritti
044afe4ae8
Expand icon bbox when there is a badge.
2007-09-02 23:51:01 +02:00
Marco Pesenti Gritti
94e136c3c3
Stop secondary animation on hide.
2007-09-02 23:34:22 +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
Eduardo Silva
94996c9295
#2971 : Patch by Marco
2007-09-01 11:58:47 -04:00
Marco Pesenti Gritti
feb462d08d
Fix ToolInvoker alignments.
2007-09-01 13:40:57 +02:00
Marco Pesenti Gritti
8712ab6b58
Add a ToolInvoker which position the palette depending
...
on the toolbar orientation. Make all tool items use it.
2007-09-01 12:12:32 +02:00
Marco Pesenti Gritti
8a9bc3b702
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-09-01 11:59:41 +02:00
Marco Pesenti Gritti
8a3c2a5843
More palette positioning improvements.
2007-09-01 11:59:16 +02:00
Dan Williams
2751714ca7
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-08-31 14:32:37 -04:00
Dan Williams
8c411ceb70
Return 404 error when path can't be translated
2007-08-31 14:32:33 -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
9e5d3c1117
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-08-31 11:38:09 +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
Tomeu Vizoso
01f774edbc
Allow setting xo-color to None.
2007-08-31 11:26:28 +02:00
Simon McVittie
93dd18ff0a
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-08-30 15:38:05 +01:00
Simon McVittie
f1024c3b0a
Support the newly extended ActivityInvitation signal
2007-08-30 15:00:12 +01:00