Commit Graph

5912 Commits

Author SHA1 Message Date
Sam Parkinson f4ec9346d2 Merge branch 'fix-4960-palette-damange' of https://github.com/samdroid-apps/sugar-toolkit-gtk3 2016-06-18 12:32:37 +10:00
Sam Parkinson 2b172aacd5 Add generated doc files to the gitignore 2016-06-18 12:30:53 +10:00
Sam Parkinson ed5e50239b Don't activate EventIcons after touch long press
Steps to reproduce:

1.  Long press activity icon on homeview
Expcected:  Palette invokes, icon not activated
Actual:     Palette invokes, icon also activated, activity launched

This was because the "activate" signal was emitted before the
palette invoker got it's signal, meaning the palette invoker couldn't
scilence the event.
2016-06-15 08:01:11 +10:00
Sebastian Silva eae44b55cc Merge pull request #321 from samdroid-apps/generate-desktop-files
Generate .desktop files for activities during install

icarito reviewed and tested on XFCE
2016-06-07 11:09:14 -05:00
Sam Parkinson 535ece85c3 Generate .desktop files for activities during install
This will allow .desktops for all of the activities to be
packaged.  In the future, we could ship a special launcher script
so that the user can choose the jobject to run, but for now
we just open the activity using the command specified in the
activity.info file.
2016-06-07 13:29:36 +10:00
Sebastian Silva 966c65082e Allow running GTK3 Sugar Activities in HTML5 2016-06-04 22:32:05 -05:00
Sam Parkinson 52ce5af493 Merge branch 'popup' of https://github.com/AbrahmAB/sugar-toolkit-gtk3 2016-06-05 10:25:18 +10:00
AbrahmAB a803876fbf Added new popwindow module in sugar3.graphics 2016-06-05 01:53:16 +05:30
Sam Parkinson f45df7a548 Release 0.109.0.0 unstable 2016-05-29 19:04:04 +10:00
James Cameron 6f2550cde0 Ignore empty translated summary 2016-05-23 14:02:45 +10:00
Sebastian Silva 632fff1278 Merge pull request #317 from icarito/master
Fix regression for GTK2 activities caused by 2f2b2d2
2016-05-22 16:33:15 -05:00
Sebastian Silva a462f14c55 Properly make a random activity_id outside Sugar. 2016-05-17 03:50:09 -05:00
Sebastian Silva c5fa4dfd59 Fix regression for GTK2 activities caused by 2f2b2d2
The issue was caused by importing from activityfactory which caused GObject to be imported. This conflicts with GTK2. (Reported by James Cameron)
The idea is that we should create the sugar profile's activity root if it doesn't exist yet, when running outside Sugar.
2016-05-16 23:36:01 -05:00
Sam Parkinson ed5e9d072b Fix palette damage for tool buttons, fixes #4960
Currently, the ToolInvoker code passes the button child in such a
way that the WidgetInvoker queues only the child's draw.  In previous
Gtk+ versions, this magically resulted in redrawing the parent as well.

However, Gtk+ 3.20 is probably trying to save power and not randomly
redraw widgets.  To fix this, we must queue the redraw of the widget
that we want to redraw explicitly.
2016-05-08 21:49:46 +10:00
Sam Parkinson ea3b673f51 Merge branch 'master' of https://github.com/icarito/sugar-toolkit-gtk3 2016-04-27 21:39:12 +10:00
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