Commit Graph

67 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
2e9e0f8505 Add an hardcoded list of activities which are launched
outside rainbow containers.
2007-11-08 23:37:15 +01:00
Marco Pesenti Gritti
dae3ebe8d1 Create an instance dir and write journal files into it. 2007-11-07 12:13:17 +01:00
Marco Pesenti Gritti
306d32832f ctrl+s -> kee -> keepp 2007-11-06 15:14:18 +01:00
Michael Stone
0a9676171d Improve ActivityFactory utility functions and reduce code-path duplication.
* Remove a race in open_log_file()

  * Make open_log_file return a path as well as a file-object so that
    Rainbow-launched activities can log to the same path that sugar-launched
    ones do.

  * Change the call to Rainbow so that it writes to the log-file provided by
    open_log_file()

  * Define SUGAR_BUNDLE_ID env variable and change the location of the check
    for /etc/olpc-security so that Rainbow doesn't have to search for or parse
    the activity bundle.

  * Remove import statements marked as unnecessary by pylint.

  * Fix up some whitespace issues.
2007-11-05 17:40:05 -05:00
Marco Pesenti Gritti
9e4b78766b Make activity space creation a bit more solid 2007-11-05 21:54:02 +01:00
Tomeu Vizoso
32fc5d3161 #3119: Implement some basic search capabilities in the mesh view. 2007-11-05 12:03:21 +01:00
Marco Pesenti Gritti
ca0f28f5be Revert change committed by mistake 2007-11-04 17:19:22 +01:00
Marco Pesenti Gritti
7f731457c2 Wrap the canvas inside a gtk.EventBox to make it easier
to take screenshot of the canvas area only.
2007-11-04 17:16:16 +01:00
Marco Pesenti Gritti
108147a6b1 Hook up the new screenshot code 2007-11-04 17:00:48 +01:00
Marco Pesenti Gritti
cd61c52c7b SugarPreview API improvements 2007-11-04 16:40:28 +01:00
Marco Pesenti Gritti
cd4cb6bd67 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-11-04 16:21:08 +01:00
Marco Pesenti Gritti
eaef1eb015 Experimental preview implementation using XShmGetImage.
Not hooked up yet.
2007-11-04 16:20:54 +01:00
Tomeu Vizoso
99999bdb7e Add some more info to an error message. 2007-11-04 15:05:15 +01:00
Marco Pesenti Gritti
2907b10dbb Snapshot e748f756c0. 2007-11-03 23:32:31 +01:00
Reinier Heeres
bce1c9fa21 Fix for 4579, create _IconBuffer.scale variable 2007-11-03 16:10:56 +01:00
Tomeu Vizoso
39aca0154d Unzip should not ask any questions. 2007-11-02 18:37:57 +01:00
Marco Pesenti Gritti
d445bc086d Free the sound device when the startup when the sound has been played.
Factored out to a separate sound module from cjb patch.
2007-11-02 11:04:41 +01:00
Marco Pesenti Gritti
1a3d520dce Smarter mime_types parsing logic. Works also if there
are spaces between types.
2007-10-31 14:58:37 +01:00
Simon McVittie
b0c7a0546d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-10-31 11:58:44 +00:00
Marco Pesenti Gritti
5732433d3e Setup the activity root with a tmp and a data dir.
Save DS files in data (since tmp will be on tmpfs in rainbow)
2007-10-30 23:38:48 +01:00
Simon McVittie
2e86ad91b9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-30 16:50:23 +00:00
Simon McVittie
5abcb4e8dd Encode nickname in UTF-8 when writing it out to .sugar/*/config (#4518) 2007-10-30 16:10:02 +00:00
Marco Pesenti Gritti
8c89bfaed7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-30 15:03:44 +01:00
Marco Pesenti Gritti
0e0ebf5701 Set SUGAR_ACTIVITY_ROOT 2007-10-30 15:03:27 +01:00
Simon McVittie
4391d4777a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-10-30 12:38:32 +00:00
Simon McVittie
249521253d Do some standard Tubes boilerplate in sugar.presence, so activities don't have to (#4503) 2007-10-29 17:21:33 +00:00
Marco Pesenti Gritti
4d5fd7243b Remove activity uploading since it's not useful with the new build system. 2007-10-29 16:46:00 +01:00
Pascal Scheffers
4d26d30710 #4358 pydoc strings for activity.py 2007-10-28 16:56:05 +01:00
Simon Schampijer
176262f2e9 Added morgs NotifyAlert (timed one button alert) to the alert api 2007-10-25 14:04:04 +02:00
Tomeu Vizoso
b135f99832 Oops, this shouldn't have gone in. 2007-10-24 19:33:26 +02:00
Tomeu Vizoso
1c6abcf20f Use the tmp dir in the activity root dir instead of /tmp. 2007-10-24 18:57:53 +02:00
Marco Pesenti Gritti
606346b18c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-23 18:23:14 +02:00
Marco Pesenti Gritti
880f1c637d Parse arguments rather than forking out a shell 2007-10-23 18:22:59 +02:00
Tomeu Vizoso
f54decf07c Add getter for the current toolbar in Toolbox. 2007-10-23 17:40:40 +02:00
Tomeu Vizoso
3200bad39d Free some icon_info instances. 2007-10-23 17:39:31 +02:00
Marco Pesenti Gritti
7fd05154d3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-23 15:19:34 +02:00
Marco Pesenti Gritti
f300006b76 Move window management keybindings inside sugar.
Add a TakeScreenshot dbus method and have the shell
call it when the activity can safely take a screenshot
to use as a preview.
2007-10-23 15:19:17 +02:00
Morgan Collett
012fc5d23b #4238: Handle double BuddyLeft in handle tracking in sugar.presence 2007-10-22 13:22:32 +01:00
Morgan Collett
06ec3d2b22 #4357: Remove FIXME in activity share(), no longer needed. See ticket for details. 2007-10-22 13:14:22 +01:00
Marco Pesenti Gritti
57402cf309 Fix icon names 2007-10-21 00:27:54 +02:00
Simon Schampijer
7f1450eaa4 fix missing mime type import 2007-10-20 23:04:12 +02:00
Simon Schampijer
34d935b2af Add a keybinding (alt+space) to activity window to hide/show tray 2007-10-19 22:48:21 +02:00
Simon Schampijer
60c746ce5a Add support to be able to remove an alert which is not the top
one on the queue
2007-10-19 16:15:43 +02:00
Simon Schampijer
58f7dca355 Fullscreen support and tray support in activity window
Fullscreen mode hides toolbox and tray
2007-10-18 23:56:58 +02:00
Tomeu Vizoso
02d8dfe795 Fix typo in env.get_bin_path(). 2007-10-18 12:57:04 +02:00
Simon McVittie
ce67563b09 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-17 16:10:13 +01:00
Simon Schampijer
8a7ed2da6d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-17 15:42:17 +02:00
Simon Schampijer
863af235b4 Refinements on the spacing in the alert
Made the alert 75px wide, and 15px at left and right
2007-10-17 15:40:58 +02:00
Simon McVittie
3227653cd3 Avoid misleading warning every time an activity starts (#4266) 2007-10-17 12:53:24 +01:00
Simon McVittie
4f41f300d8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-10-17 11:54:33 +01:00