| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- remove the fix_manifest call since it is deprecated
- removed unused import
- more correct doc style
- do not pass the user_activities_path argument around,
call the env method instead
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Walter Bender <walter.bender@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a Clone submenu to the view source toolbar, enabling the
cloning of an activity for end-user modification.
As per the design team meeting, this patch includes the generation of an
xo bundle to be copied to the Journal of the cloned activity.
One known bug not addressed here is that if the bundle_id is missing, the
cloning will be successful, but the resultant activity will not launch.
Signed-off-by: Walter Bender <walter.bender@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
| |
|
|
|
|
|
|
|
|
| |
As per feedback from the design team, I have added a radio button to view
the source of the sugar-toolkit to the standard view source toolbar.
Signed-off-by: Walter Bender <walter.bender@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds $HOME/Documents to the volume toolbar in the Journal view.
The rationale is to make it easier for people to move files in and out of
the data store from the file system -- a feature oft requested by teachers.
It also means that Sugar activities can more readily access files generated
outside of Sugar -- another feature requested by teachers.
This resubmission of the patch includes a suggestion by Silbe that the
xdg-user-dir call be factored out in a separate (global) function
Note that this patch requires the inclusion of a new icon, user-documents,
that is included in a separate patch.
Signed-off-by: Walter Bender <walter.bender@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
| |
Fixes the stop condition, so it won't loop forever when
the object_id belongs to the local FS. In that case, it will
return "None" to avoid ambiguity with what we refer to "/".
Signed-off-by: Martin Abente <martin.abente.lahaye@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
| |
Apply an alpha value of 0.33 to non-matching items to have consistency
with the filter in the favorites view.
Signed-of-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
After evaluation with Design Team, the filter higlight selected
activities applying a alpha of 0.33 in the unselected activities.
This patch add strip() to the query to avoid accidental filtering
of all activities by adding spaces.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
| |
Spotted-By: James Cameron <quozl@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hardware specific information has been moved from '/ofw' to
'/proc/device-tree'. This has an effect on the Control Panel
where we display the serial number and the firmware number.
Furthermore the registration code needs to be aware of the possible
new place in order to send the serial number and UUID during
authentication.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Tested-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
| |
The effect of adding multiple times the callback is
the first file the user duplicate, create one copy,
the second create two copies, the third three copies...
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
| |
Thanks Gonzalo for spotting
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
This render the SVG image only one time, and then use alpha and scaling
of the rendered icon and will speed up the overall activity startup.
Another side effect is that the startup zoom not visible in many
activities, is visible now - #2080
The MIN_ALPHA value was changed to do the effect more visible.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch addresses the issue raised in SL#2854: the exclusion of some file
types from being displayed by viewsource. This version of the patch uses a
global, _EXCLUDE, that includes a list of many more common file types to
exclude, as per some mining of .gitignore files by Sascha. In a future patch,
it may make sense to append the data from the .gitignore and git exclude files.
[added exclude list for (exact-match) file names, tweaked description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a duplicate option to the Journal entry palette and
the entry detail view. This will replace the keep button functionality
from the activity toolbar. The keep button will be deprecated in another
patch for the toolkit.
The copy option which copied previously to the clipboard by default
has been enhanced to allow: copying to the clipboard, copying to an
external device, copying from an external device to the Journal and
copying between external devices. Copying to the clipboard is now
a visible option in the menu. In the detail view the palette pops up
when doing a left click and showing the available options instead of
copying directly to the clipboard.
The design discussion has been taking place
at: http://lists.sugarlabs.org/archive/sugar-devel/2011-May/031316.html
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
| |
Needed to update the secondary text if the title in the activity changes.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-By: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch does display the activity name as primary text
and the session title as secondary text. This is coherent
with the palette of an activity in the frame.
To make this work properly we need to refactor the code a
bit and make the palette on demand.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code path that listens for the 'activity-added' signal is used to
track the following use case: 'A' starts an activity
(he gets the 'active-activity-changed' signal from the shell), he then
at a later point shares the activity. In order to track joining/leaving
buddies he needs to get the shared activity. On other machines if we
receive the 'activity-added' signal we can ignore it, therefore the
check if the current active activity is the shared one.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
|
|
| |
We do get the correct nick information but we did not update
the buddy because of checking for a wrong property key. I checked
that in all the cases (alias-change or when we do get the buddy
information in various ways) the key is
"CONNECTION_INTERFACE_ALIASING + '/alias'".
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
| |
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Like in previous versions we use the shell model and listen if the
current-activity changes. We do then call 'SetCurrentActivity' and
let the other buddies know. If we started the activity and share it
later we listen on the 'ActivitiesChanged' signal and do call
'SetCurrentActivity' then so the other buddies can update their views
accordingly.
This patch also removes the dependency in the shell on the
neighborhood model which was a hack to determine the color of
a shared activity. The neighborhood view now updates the color
accordingly and that information is transferred to the shell.
The patch furthermore removes the tracking of the own buddy when
we receive 'ActivitiesUpdated' in the neighborhood model. With the
changes from above this triggered an error like described in
OLPC #10671. A few checks have been added to make sure that #10671
does not occure anymore.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
| |
There had been a mix of the use of logging.debug and _logger.debug throughout
the code. _logger is now used in all cases.
[tweaked description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We do add ourself to the model by default. When we are connected
to the server it often gives us as well ourself back.
This is due to a bug in the @online@ implementation
in ejabberd. The first version to have this fixed
is v2.1.7, more background info at
https://support.process-one.net/browse/EJAB-1391.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
| |
This is a follow up fix of a glitch not handled by ac626ff ("Fully
update the salut account information when the nick name changes").
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
| |
This is a fix for a regression introduced by commit
9d0d372 ("Raise alert when trying to send an entry without an associated
file OLPC #10798").
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
| |
The change has no impact on existing translations, since
we use as well util.format_size when no filesize is
specified.
|
|
|
|
|
|
|
|
|
| |
If you did click on the favorite icon and had typed something in the
description field before this was lost. We now make sure everything is
synced before writing to disk.
Acked-by: Simon Schampijer <simon@laptop.org>
Reviewed-by, Tested-by: Walter Bender <walter@laptop.org>
|