Commit Graph

6098 Commits

Author SHA1 Message Date
Sebastian Silva 2f2b2d20d8 Allow to run activities without Sugar shell.
- Handle lack of GSettings gracefully.
- Still requires sugar-datastore.
- Supports avoiding X11 docks/panels.
- Provides icons for Activity windows.

Try it outside Sugar. Go to an Activity directory and run 'sugar-activity'.
Tested it with Terminal, Finance, Write, Browse, Memorize under XFCE4.
Tested in Gnome under OLPC-OS.
Also works from Sugar Terminal Activity.
Does not affect regular Sugar operation.

This is patch v.2 -
    Addresses most concerns:
    - Removed commented code, sorry.
    - Changed code to use profile.get_nickname and get_color where possible.

    Couldn't the launcher just pass this info?
    Maybe the launcher could set the activity root as well?
        - It is intended to be usable from the command line also.
    Should put sugar version in the environment
        - It is intended to work even without Sugar Shell installed.
    Why don't we always set the icon?
        - On XO it might use some memory. I was concerned to degrade
        performance.
    Also, imports should be at the top of the file?
        - Also a concern about performance on XO.
        This way it is only loaded in this use case.
        Maybe it is insignificant -moved as requested.
    It would be nice if the changes to the POT for sugar-toolkit-gtk3
    could be incorporated in this pull request, please.
        - There were no changes to POT files as part of this patch. Maybe
        it is worth translating low level command line tools, not sure.
    Suggest packaged activities might also provide .desktop files.
        - Intriguing but not sure within scope of this patch. You mean generate
        a .desktop file automatically as an option? Sounds nice!
    Suggest sugar-activity might also accept path to unpacked bundle.
        - Implemented!
2016-04-21 03:10:30 -05:00
Sam Parkinson 66c01ba2c6 Merge branch 'smooth-animations-try3' of https://github.com/samdroid-apps/sugar-toolkit-gtk3 2016-04-21 07:37:06 +10:00
Sam Parkinson bde85bc7e8 Merge branch 'activityhandle-docs2' of https://github.com/ndefilippis/sugar-toolkit-gtk3 2016-04-21 07:36:18 +10:00
Sam Parkinson 4325c056a4 Merge branch 'styledocs' of https://github.com/ndefilippis/sugar-toolkit-gtk3 2016-04-21 07:35:40 +10:00
Sam Parkinson 526c87d7c6 Merge branch 'divbyzero' of https://github.com/erilyth/sugar-toolkit-gtk3 2016-04-21 07:34:24 +10:00
Sam Parkinson 9c0f7df739 Merge branch 'gi-require-version' of https://github.com/samdroid-apps/sugar-toolkit-gtk3 2016-04-21 07:33:15 +10:00
Sam Parkinson 79a45ba8e8 Merge branch 'doc-palettemenu' of https://github.com/samdroid-apps/sugar-toolkit-gtk3 2016-04-21 07:30:56 +10:00
Sam Parkinson 3f39905abf Merge branch 'patch-1' of https://github.com/ndefilippis/sugar-toolkit-gtk3 2016-04-21 07:28:35 +10:00
Sam Parkinson ab0f5a18aa Merge branch 'doc-combobox' of https://github.com/samdroid-apps/sugar-toolkit-gtk3 2016-04-06 07:15:21 +10:00
Sam Parkinson 79e0dd44c6 Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 2016-04-05 21:32:00 +10:00
Sam Parkinson a62ddb1d87 Merge branch 'xocolor-docs' of https://github.com/ndefilippis/sugar-toolkit-gtk3 2016-04-05 21:30:32 +10:00
Gonzalo Odiard 7432bbf2a7 Merge pull request #312 from leonardcj/master
Update speech.py
2016-04-05 13:27:41 +02:00
leonardcj 1b9da5b1d6 Update speech.py
Improve the i18n of speech strings with wiki links
2016-03-26 17:11:07 -04:00
Sam Parkinson ebe0e633fa Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 2016-03-26 13:19:47 +11:00
Sam Parkinson 57fe093886 Merge branch 'ellipsize' of https://github.com/AbrahmAB/sugar-toolkit-gtk3 2016-03-26 13:18:44 +11:00
translation server 6bd3c6a1f7 New files added from Sugar Labs based on templates 2016-03-25 02:18:35 +00:00
cjl 6b17658e99 Commit from Sugar Labs by user cjl.: 109 of 109 strings translated (0 need review). 2016-03-07 17:58:51 +00:00
translation server b3008a68c4 New files added from Sugar Labs based on templates 2016-03-05 03:51:20 +00:00
cjl e542fe6c90 Commit from Sugar Labs by user cjl.: 0 of 109 strings translated (0 need review). 2016-03-04 20:31:59 +00:00
cjl 4e351b2eb7 Commit from Sugar Labs by user cjl.: 0 of 0 strings translated (0 need review). 2016-03-04 20:11:11 +00:00
translation server 270d7bbd86 Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 2016-03-04 20:10:35 +00:00
translation server 6f075b317a New files added from Sugar Labs based on templates 2016-03-04 02:31:08 +00:00
translation server 63e36a74de New files added from Sugar Labs based on templates 2016-03-04 02:30:21 +00:00
Sam Parkinson d3fbecf110 Merge branch 'gtk-3-20' of https://github.com/samdroid-apps/sugar-toolkit-gtk3 2016-03-03 20:00:18 +11:00
AbrahmAB cd449e7149 Ellipsis in title and msg of alert 2016-02-27 06:06:26 +05:30
translation server f98bb5d57d New files added from Sugar Labs based on templates 2016-02-24 06:36:06 +00:00
translation server fadcc064ba New files added from Sugar Labs based on templates 2016-02-23 21:29:13 +00:00
translation server c105e5fd15 New files added from Sugar Labs based on templates 2016-02-23 21:28:10 +00:00
translation server f182b26a78 New files added from Sugar Labs based on templates 2016-02-23 21:24:42 +00:00
translation server 96e13bc90d New files added from Sugar Labs based on templates 2016-02-23 21:24:28 +00:00
translation server 271fe3e0df New files added from Sugar Labs based on templates 2016-02-23 21:23:40 +00:00
translation server 32fc62b660 New files added from Sugar Labs based on templates 2016-02-23 06:54:46 +00:00
translation server 1d9e1dd00c New files added from Sugar Labs based on templates 2016-02-23 06:48:43 +00:00
translation server f89da1bfef New files added from Sugar Labs based on templates 2016-02-23 06:48:24 +00:00
translation server 352f0f2bcb New files added from Sugar Labs based on templates 2016-02-22 03:40:30 +00:00
Sam Parkinson 824e6dcb69 Set css class on toolitems when a palette or toolbar popsdown 2016-02-19 07:18:45 +11:00
James Cameron 8d4298ee9e Remove Rainbow, avoid race in creating directories
Sugar depended on Rainbow for clearing the activity instance/ and tmp/
directories.  But Rainbow is no longer used downstream.

- remove support for Rainbow,

- avoid race when creating directories; don't check they exist before we
  create.
2016-02-15 11:41:31 +11:00
Martin Abente Lahaye a1371b5f94 Release 0.108.0 2016-02-13 10:09:28 -03:00
Martin Abente Lahaye d612da8db7 Merge pull request #308 from rbuj/catalan-20160201
Push Catalan translation
2016-02-06 09:51:36 -03:00
Robert Antoni Buj Gelonch 2ac8704021 Push Catalan translation 2016-02-01 14:07:43 +01:00
Martin Abente Lahaye e048f6c3e8 Release 0.107.2 2016-01-23 09:22:57 -03:00
Sam Parkinson 0a50431b98 Handle git submodules in bundlebuilder
Git submodules are only listed by their root directory in the
output of "git ls-files".  Therefore, we must handle this case
so that the files from the module are included in the install
and dist_xo commands.

To reproduce the issue, you could do something like the following:

    cd pippy
    git clone https://github.com/samdroid-apps/collabwrapper
    git add collabwrapper
    python setup.py install  # or just osbuild run
2016-01-05 21:05:11 +11:00
Martin Abente Lahaye 0494f704fb collaboration: handle tubes channel failure gracefully
CHANNEL_TYPE_TUBES was deprecated since telepathy-gabble 0.17.25 and
is no longer present on modern distributions. This breaks collaboration
for _all_ activities, regardless if they use tubes or not.

Therefore, check if the channel creation failed due to support and allow
channel creation process to continue.

This patch fixes collaboration for the activities that do not use tubes
channel in modern distributions, but also allow to use tubes when running
on older distributions.

Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
2016-01-04 18:08:32 -03:00
radicalonion 79d11c3a28 Write docs for sugar3.graphics.xocolor 2016-01-03 20:16:43 -05:00
Sam Parkinson c374b63990 Merge branch 'scrolldetector-docs' of https://github.com/ndefilippis/sugar-toolkit-gtk3 2016-01-03 16:47:12 +11:00
Sam Parkinson 37d3b63a90 Merge branch 'notebook-docs' of https://github.com/ndefilippis/sugar-toolkit-gtk3 2016-01-03 16:45:10 +11:00
radicalonion 28053c83b1 Improve docs for sugar3.activity.activityhandle 2016-01-02 23:48:17 -05:00
radicalonion 8b947ed02f Write docs for sugar3.graphics.scrollingdetector 2016-01-02 23:42:55 -05:00
radicalonion 486988035a Write docs for sugar3.graphics.notebook 2016-01-02 23:35:44 -05:00
Sam Parkinson 8d66786a31 Merge branch 'radiotoolbutton-docs' of https://github.com/ndefilippis/sugar-toolkit-gtk3 2016-01-03 15:12:26 +11:00