Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/activity/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Restructure for new /usr/bin/sugar-activity behaviourDaniel Drake2011-12-201-160/+0
| | | | | | | | | | | | | | | | | This patch accompanies a sugar patch titled "sugar-activity: make independent of sugar-toolkit GTK versions" The core Activity-instantiating functionality of main.py has been moved into the sugar-activity binary and can be removed from here. The remaining functionality (and everything that is GTK-specific) is moved into the Activity class in this commit. This is needed to make /usr/bin/sugar-activity independent of sugar/sugar3 and GTK2/GTK3, which is a crucial step for GTK3 activity support. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Sascha Silbe <silbe@activitycentral.com>
* style cleanup: prefer ' for stringsSascha Silbe2010-11-231-9/+9
| | | | | | | | | Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* Fix running multiple instances of Browse by adapting to API changes #2404Tomeu Vizoso2010-10-051-3/+4
| | | | | | | | * sugar/presence/presenceservice.py: Specify the D-Bus interface when calling ActivityProperties.GetActivity * sugar/activity/main.py: Set a default for the --invite option and make the create() D-Bus method accept a{sv} so we can pass the boolean value.
* Rename ActivityHandle.handle_invite to ActivityHandle.invitedTomeu Vizoso2010-08-201-2/+2
|
* Handle invitations using Mission Control 5.Tomeu Vizoso2010-08-201-1/+6
| | | | | | | | | | | | | | | | | src/sugar/activity/activity.py: If the activity is being invoked to handle an invite, create a Client.Handler instance and share the activity when HandleChannels is invoked. src/sugar/activity/activityfactory.py, src/sugar/activity/activityhandle.py, src/sugar/activity/main.py: Add a -i switch that indicates to the activity that it should handle the channel from an invitation. src/sugar/presence/activity.py: Expose Activity.room_handle. src/sugar/presence/presenceservice.py: Add get_activity_by_handle(). src/sugar/presence/util.py: Add get_account_for_connection().
* Import in two lines instead of oneSayamindu Dasgupta2010-02-011-1/+2
|
* Code for language pack supportSayamindu Dasgupta2010-01-241-4/+2
|
* Apply activity font settings earlier (#1607)Daniel Drake2009-12-241-0/+7
| | | | | Fixes some minor changes in toolbar appearance that my previous work unintentionally introduced.
* PEP8 white space and long line fixesSascha Silbe2009-08-251-0/+6
|
* trim EOL (end-of-line) spaces on source filesSascha Silbe2009-08-251-3/+3
|
* Set the locale path for sugar-toolkit #55Tomeu Vizoso2009-02-051-0/+2
|
* Set the correct locale path for system activitiesTomeu Vizoso2008-09-251-2/+5
|
* Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkitMarco Pesenti Gritti2008-08-271-0/+1
|\
| * Set the env var SUGAR_BUNDLE_VERSION #5428 (marco)Simon Schampijer2008-08-271-0/+1
| |
* | Fix pylint complainMarco Pesenti Gritti2008-08-271-1/+1
|/
* Factor out sugar-activity code to the toolkit.Marco Pesenti Gritti2008-08-271-0/+136