Commit Graph

73 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
a8969d776f Ship the startup sound with sugar 2007-09-24 21:16:06 +02:00
Marco Pesenti Gritti
9ffcbfca4d Play a startup sound if it exists. 2007-09-22 14:49:21 +02:00
Dan Winship
7b760686a7 Add support for content bundles 2007-09-07 13:31:45 -04:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Marco Pesenti Gritti
4a8493f95e Fix mozilla components loading when sugar is running from source.
We don't attempt to load components from source, since that would
be insanely complicated.
2007-05-15 11:50:21 +02:00
Marco Pesenti Gritti
152361c592 Do not fallback to SUGAR_PREFIX for the sugar path. Require SUGAR_PATH. 2007-05-01 16:42:43 +02:00
Marco Pesenti Gritti
ba23a6ed3a Add a SUGAR_PATH env to override $prefix/share/sugar 2007-04-15 13:54:53 +02:00
Marco Pesenti Gritti
5a4bf4be6b Some paths tweaks, refactorings to make sugar self contained as much as possible 2007-04-15 13:04:38 +02:00
Mike C. Fletcher
3f10890319 Docstrings for modules all over sugar and shell.
These are just the doc strings I created as I was spelunking
through to see how Sugar manages launching applications.  The
resulting auto-documentation is neither polished or finished,
but it should help people reading the code somewhat.

There are a few minor code cleanups:

  * activityhandle (replacing C idiom for initialisation with
    a Python one)
  * bundle registry (using a parameterised directory name so
    that it shows up in the documentation)
  * validate_activity_id function, use isinstance( item, (str,unicode))
    for the query, rather than two separate checks with isinstance
2007-04-09 22:47:37 -04:00
Marco Pesenti Gritti
a11809cccc Actually setup translations in the shell.
Fix the it translation to use utf8.
2007-03-23 15:05:42 +01:00
Marco Pesenti Gritti
9af06c0b26 Add a script to start sugar. Move the gtkrc to avoid conflicts when
installing on a complete system.
2007-03-22 20:34:07 +01:00
Marco Pesenti Gritti
154a0e91ff Create ~/Activities only when necessary 2007-03-18 13:48:34 +01:00
Marco Pesenti Gritti
c9f28b7317 Rework the emulator. Move matchbox in the shell. 2007-03-16 18:12:47 +01:00
Marco Pesenti Gritti
6c5d28ecf5 Save also the sugar session display and use it in sugar-activity. 2007-03-09 17:29:03 +01:00
Marco Pesenti Gritti
1587218e9e Remove unused files 2007-03-09 15:07:08 +01:00
Marco Pesenti Gritti
57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
2d9a06ec9a Add the root path of the services to python path, not services/.
Get rid of the now useless env.get_services_dir
2007-03-09 12:32:32 +01:00
Marco Pesenti Gritti
c4435397fc Remove bundle specific stuff from env.
Move get_bundle_path to activity.
2007-02-22 15:55:07 +01:00
Tomeu Vizoso
9d13a9836d Added new tool sugar-install-bundle. 2007-01-27 12:54:56 +01:00
Marco Pesenti Gritti
297381cad7 Basic implementation of the shutdown graphics 2007-01-11 11:20:08 +01:00
Marco Pesenti Gritti
99cce220cd Get the default type from env, clean stuff a bit 2006-12-20 13:43:54 +01:00
Marco Pesenti Gritti
956256313a Get the activity type from env, rather than requiring set_type 2006-12-18 13:56:41 +01:00
Marco Pesenti Gritti
e0bd5d1df4 Cleanup activity factory startup, remove duplicated argument from the Exec field 2006-12-18 13:47:49 +01:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
7152755c5e Remove more unused old activities stuff 2006-12-01 23:11:56 +01:00
Marco Pesenti Gritti
cf156fac07 Get rid of our custom dbus config, simplify stuff 2006-12-01 21:24:24 +01:00
Marco Pesenti Gritti
0e2d9b496a Remove unused method 2006-12-01 20:47:40 +01:00
Marco Pesenti Gritti
9a7518f230 Get rid of dbus 0.94 compatibility, since we build dbus in jhbuild now. Yay! 2006-11-16 11:07:30 +01:00
Marco Pesenti Gritti
ee62ed69b4 Pick up system bundles even if xdg dir env is undefined 2006-11-05 18:14:00 +01:00
Marco Pesenti Gritti
4b328c8417 Less invasive solution for the reverted commit 2006-11-05 03:41:44 +01:00
Marco Pesenti Gritti
984035f933 Revert "Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain!"
This reverts commit 6d84d886e1.
2006-11-05 03:33:49 +01:00
Marco Pesenti Gritti
6d84d886e1 Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain! 2006-11-05 03:25:51 +01:00
Marco Pesenti Gritti
561169809b Install services in user dir if dbus is recent enough. 2006-11-02 20:16:36 +01:00
Marco Pesenti Gritti
8571920734 Tweak activity search path. Use ~/Activities and XDG_DATA_DIRS/activities 2006-10-31 13:10:34 +01:00
Marco Pesenti Gritti
cb285aba06 Get running activities to work. Still hacky. 2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
d150ac40cc More work on bundles support 2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
ec3094e08b Move the running from source dir hacks in the emulator. 2006-10-17 10:25:47 +02:00
Marco Pesenti Gritti
0836c57f76 Get rid of the global python path extensions 2006-10-17 10:14:42 +02:00
Marco Pesenti Gritti
77f2de8f73 Let activities extend their own path 2006-10-17 10:07:35 +02:00
Marco Pesenti Gritti
dc0de1d35d Let the presence service set his own path 2006-10-17 09:57:00 +02:00
Marco Pesenti Gritti
bc0ee6d34c Refactor startup. In progress, give me a couple hours.
For now start sugar with "sugar-emulator shell/sugar-shell"
2006-10-16 13:34:43 +02:00
Marco Pesenti Gritti
615242f4f8 Add LGPL header 2006-10-15 01:08:44 +02:00
Marco Pesenti Gritti
cbd3a52a68 Do not set up the owner of the presence service if there
is no nick name in the env. I'm not sure this is the best
approach, we need to figure it out.

First go at the new simulator.
2006-10-09 15:11:15 +02:00
Marco Pesenti Gritti
5f99dcf9a5 Move the presence service out of the shell 2006-09-15 13:54:16 +02:00
Marco Pesenti Gritti
6a90ef11d3 Export the color in the env and initialize the buddy with it 2006-09-11 15:18:57 +02:00
Marco Pesenti Gritti
3884507a74 Write a session for ui tests and use it for test-icons 2006-09-10 02:54:05 +02:00
Marco Pesenti Gritti
01c4658ee0 Make conf private, expose the nick name from env 2006-09-04 21:34:54 +02:00
Marco Pesenti Gritti
e34d437fb9 Make paths manipulation stuff private 2006-08-26 13:38:42 +02:00
Marco Pesenti Gritti
93d489741d Automatically read the profile (lazily) 2006-08-26 13:35:03 +02:00
Marco Pesenti Gritti
a7c552c038 Get rid of env.get_nick_name, that comes from the profile now 2006-08-26 13:03:06 +02:00