Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the translation initialisation to an earlier stage, SL #3654 | Simon Schampijer | 2012-06-05 | 1 | -0/+8 |
| | | | | | | | Must be done early, some activities set translations globally. Remove the support for the langpackdir. Signed-off-by: Simon Schampijer <simon@laptop.org> | ||||
* | Use the gtk3 toolkit in the sugar-activity | Simon Schampijer | 2011-12-20 | 1 | -4/+3 |
| | | | | | Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Daniel Drake <dsd@laptop.org> | ||||
* | sugar-activity: import and make independent of sugar-toolkit GTK versions | Daniel Drake | 2011-12-13 | 2 | -0/+148 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As we move to adding support for a second UI toolkit (GTK+ 3.x), the sugar-activity binary used by all activities must become backend-toolkit-independent. It would be wasteful to have two backend toolkits loaded in memory, and in the GTK2/GTK3 case, it is impossible (importing both results in an instant crash). To achieve this, we split the existing sugar-toolkit activity/main.py:main() functionality into two parts, moving it into the sugar-activity binary and the Activity class as follows: 1. All toolkit-specific stuff is moved into the Activity class (i.e. everything that interacts with GTK) 2. Everything that can be reasonably/easily moved into the Activity class is also moved. 3. What remains is the stuff that is inherently involved with the construction of the Activity object, not related to UI toolkits. This is moved into the sugar-activity binary. main.py is then removed from sugar-toolkit, and sugar-activity is moved from sugar to sugar-toolkit-gtk3 in order to keep toolkit-related code with the toolkit itself. With this work done, the one remaining question is how to invoke the main loop. An optional run_main_loop() method is added to the activity class, for GTK2 this will run the GTK2 main loop, for GTK3 the GTK3 main loop will be run, etc. Signed-off-by: Daniel Drake <dsd@laptop.org> | ||||
* | Split sugar-toolkit out of sugar shell. | Marco Pesenti Gritti | 2008-02-06 | 11 | -388/+0 |
| | |||||
* | Complete paths cleanup and remove SUGAR_PREFIX and | Marco Pesenti Gritti | 2008-02-05 | 4 | -2/+28 |
| | | | | SUGAR_PATH environment variables. | ||||
* | Remove get_service_path and use the usual wrapper script approach. | Marco Pesenti Gritti | 2008-02-05 | 3 | -1/+29 |
| | |||||
* | Make the shell scripts just a tiny wrapper which setup | Marco Pesenti Gritti | 2008-02-04 | 8 | -252/+54 |
| | | | | the python path and run main(). | ||||
* | Add a config module into the shell holding path informations. | Marco Pesenti Gritti | 2008-02-04 | 1 | -1/+4 |
| | | | | Get rid of env.get_locale_path() | ||||
* | Remove get_bin_path usage. | Marco Pesenti Gritti | 2008-02-04 | 1 | -2/+15 |
| | |||||
* | Work around for numpy/gtk issue with turkish locale. Fix #5559. | Marco Pesenti Gritti | 2008-01-10 | 1 | -0/+4 |
| | |||||
* | #5512 import the activity module later. | Tomeu Vizoso | 2007-12-19 | 1 | -11/+11 |
| | |||||
* | Reap only activity processes. Fix #5044 | Marco Pesenti Gritti | 2007-11-28 | 1 | -9/+0 |
| | |||||
* | Strip out /usr/bin/env from the interpreter cmd, | Marco Pesenti Gritti | 2007-11-13 | 1 | -0/+4 |
| | | | | it's apparently confusing gdb. | ||||
* | Completely get rid of sound in the shell to make | Marco Pesenti Gritti | 2007-11-13 | 1 | -5/+0 |
| | | | | sure it's not causing problems. | ||||
* | Reap childs rather than ignoring them. | Marco Pesenti Gritti | 2007-11-02 | 1 | -2/+7 |
| | |||||
* | Free the sound device when the startup when the sound has been played. | Marco Pesenti Gritti | 2007-11-02 | 1 | -4/+2 |
| | | | | Factored out to a separate sound module from cjb patch. | ||||
* | refinements in output of sugar-control | Simon Schampijer | 2007-11-01 | 1 | -9/+20 |
| | |||||
* | sugar-control: fixed some imports, cleaned some strings | Simon Schampijer | 2007-10-31 | 1 | -1/+1 |
| | |||||
* | sugar-control: add env import | Simon Schampijer | 2007-10-31 | 1 | -0/+2 |
| | |||||
* | Integrate control panel in the build so that I can actually | Marco Pesenti Gritti | 2007-10-30 | 3 | -1/+245 |
| | | | | distcheck. | ||||
* | Parse arguments rather than forking out a shell | Marco Pesenti Gritti | 2007-10-23 | 1 | -4/+1 |
| | |||||
* | Fake backup script | Marco Pesenti Gritti | 2007-10-22 | 2 | -0/+12 |
| | |||||
* | Add the posibility to launch activitis in gdb to sugar-lauch. | Tomeu Vizoso | 2007-10-18 | 1 | -2/+33 |
| | |||||
* | Do not use prgname for the bundle id because xulrunner | Marco Pesenti Gritti | 2007-10-16 | 1 | -17/+17 |
| | | | | is messing with it. Some activity launch fixes. | ||||
* | Split part of the sugar library to sugar-base | Marco Pesenti Gritti | 2007-10-15 | 1 | -3/+3 |
| | |||||
* | Snapshot 6c7c6a503b. | Marco Pesenti Gritti | 2007-10-09 | 1 | -1/+1 |
| | |||||
* | Rework sugar.logger and make activities just | Marco Pesenti Gritti | 2007-10-09 | 1 | -3/+4 |
| | | | | redirect their output to a log. | ||||
* | Actually remove the factory | Marco Pesenti Gritti | 2007-10-09 | 1 | -9/+2 |
| | |||||
* | Implement a sugar-launch command. Works like the old sugar-activity | Marco Pesenti Gritti | 2007-10-09 | 3 | -30/+43 |
| | | | | but should deal fine with native activities too. | ||||
* | Rename activity service_name to bundle_id | Marco Pesenti Gritti | 2007-10-09 | 1 | -9/+16 |
| | |||||
* | In preparation of enabling rainbow by default, remove | Marco Pesenti Gritti | 2007-10-08 | 3 | -406/+110 |
| | | | | | | | 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. | ||||
* | Make sure we import the right pygobject | Marco Pesenti Gritti | 2007-09-29 | 1 | -0/+3 |
| | |||||
* | Support dbus introspection in sugar-native-factory (#2477) | Bert Freudenberg | 2007-09-25 | 1 | -2/+40 |
| | |||||
* | update sugar-install-bundle for Bundle -> ActivityBundle | Dan Winship | 2007-09-21 | 1 | -2/+2 |
| | |||||
* | use exec to run dbus-session to eliminate the parent shell. | Bernardo Innocenti | 2007-09-17 | 1 | -2/+2 |
| | |||||
* | 2647, if security is enabled let rainbow launch activities. | Marco Pesenti Gritti | 2007-08-27 | 1 | -1/+5 |
| | | | | | Also notify rainbow when active activity changes. Patch by Ashsong, had to merge it manually. | ||||
* | Fix errors in native factory | Dan Williams | 2007-08-20 | 1 | -2/+5 |
| | |||||
* | Add caching to the activity and object type registries. | Tomeu Vizoso | 2007-07-09 | 1 | -0/+3 |
| | |||||
* | Adapt to API changes | Marco Pesenti Gritti | 2007-06-29 | 1 | -4/+1 |
| | |||||
* | Add the native factory by bertf | Marco Pesenti Gritti | 2007-06-29 | 3 | -0/+314 |
| | |||||
* | Add missing shebang | Marco Pesenti Gritti | 2007-06-20 | 1 | -0/+2 |
| | |||||
* | Add to Bundle facilities for dealing with not-yet-installed bundles. | Tomeu Vizoso | 2007-06-15 | 1 | -53/+4 |
| | |||||
* | Some activity registry fixes. Thanks cjb. | Tomeu Vizoso | 2007-06-13 | 1 | -3/+2 |
| | |||||
* | Several fixes for the object type registry and the activity registry. | Tomeu Vizoso | 2007-06-12 | 1 | -1/+1 |
| | |||||
* | Fix new instance message | Marco Pesenti Gritti | 2007-05-31 | 1 | -1/+2 |
| | |||||
* | Add mime matching to the registry. | Marco Pesenti Gritti | 2007-05-27 | 1 | -2/+2 |
| | |||||
* | Refactor the bundle registry. Move it inside | Marco Pesenti Gritti | 2007-05-27 | 1 | -8/+10 |
| | | | | | the shell and expose the parts that should be public to the shell dbus service. | ||||
* | Fix mozilla components loading when sugar is running from source. | Marco Pesenti Gritti | 2007-05-15 | 1 | -0/+1 |
| | | | | | We don't attempt to load components from source, since that would be insanely complicated. | ||||
* | Use the sugar-xo theme on the xo | Marco Pesenti Gritti | 2007-05-11 | 1 | -1/+1 |
| | |||||
* | Do not fallback to SUGAR_PREFIX for the sugar path. Require SUGAR_PATH. | Marco Pesenti Gritti | 2007-05-01 | 1 | -0/+1 |
| |