| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Does not allow sugar to display erase option
for activities that are included in the
activities.protected list.
This feature was requested by many teachers
from different diployments, in example Paraguay.
|
|
|
|
|
|
| |
Profile data should be deleted _only_ when the
user explicitly erases the activity from the
activities list.
|
|
|
|
|
|
|
|
|
|
| |
This patch adds three default Ad-hoc networks, for channel 1, 6 and 11. They
are represented with designated icons in the neighborhood view. This will
mimic the mesh behavior on devices where mesh hardware is not available
and make the "under a tree"-scenario possible in those cases. If Sugar sees
no "known" network when it starts, it does autoconnect to an Ad-hoc network.
http://wiki.sugarlabs.org/go/Features/Sugar_Adhoc_Networks
|
|
|
|
| |
Signed-off-by: anishmangal2002 <anishmangal2002@gmail.com>
|
|
|
|
|
|
|
|
| |
Re register patch did not consider the XS button option logic.
This patch makes sure previous icon will be removed before adding
the new one.
Signed-off-by: Martin Abente <mabente@paraguayeduca.org>
|
|
|
|
|
|
| |
Jorge Saldivar's patch ported to build py 3xx
Signed-off-by: Martin Abente <mabente@paraguayeduca.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds an icon to the frame, whose palette
menu displays the memory and cpu resources. For computing
free memory, the code reads the /proc/meminfo file (thanks
quozl) and for computing cpu usage, the code reads the
/proc/stat file.
The frame icon is updated after every 5 seconds if required.
Similarly, the palette menu entries are updated after every
5 seconds as well.
Signed-off-by: anishmangal2002 <anishmangal2002@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
This feature was requested by Caacupe CATS.
|
|
|
|
|
|
| |
Include a new journal volumes toolbar icon. The icon represents
the schoolserver. The icon palette provides a backup and restore
options.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a basic backup and restore feature for the Sugar Journal.
It provides:
- Generic Backup and Restore dialog GUI.
- Process manager class as an abstraction layer between the dialog and
backup/restore scripts. (Allowing to work with many backup and restore
technologies, using the same GUI, with no need for script rewrite).
- Basic file system Volume Restore and Backup scripts implemented in Python.
- New backup and restore options for journal volumes palettes.
This patch is based on Esteban Arias (Plan Ceibal) Volume Backup and Restore
patch, with a few changes:
- Refactor original Backup dialog class into a generic dialog class.
- Create specialized VolumeBackupDialog and VolumeRestoreDialog subclasses.
- Rewrite backup and restore scripts in python for an easier sugar interaction.
- Add backup identification helpers to jarabe.journal.misc.
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
|
|
| |
Instead of calling the datastore again.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
|
|
|
| |
update_with_query() is called when the query is modified in the toolbox.
Get the name of the property and set the sort_column cell renderer accordingly.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
|
|
| |
As it will be used to display the currently active sorting property.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Add a button to display the sorting options. Rebuild the query when the
sort option changes.
Use a RadioToolButton for a future implementation of multiple journal
views (as described in the Journal Design Proposal).
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
| |
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
|
|
|
| |
This will make it easy to display the current sorting column by
associating a cell renderer with it.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
|
|
|
|
|
|
| |
Add the filesize property to the list of properties we ask the datastore
for.
Signed-off-by: Andrés Ambrois <andresambrois@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
User interface changes:
- enable the disconnect button on the access point menu in the
neighbourhood view, (rather than the button doing nothing),
- fix the disconnect button on the wireless device icon in the frame
so that the disconnection remains effective, (rather than
disconnecting and then reconnecting automatically),
- enable the discard network history button in the network control
panel, which also now forces a disconnect, and will be insensitive
if there are no networks to be discarded, (rather than the button
doing nothing),
- enforce consistency between the neighbourhood view, the frame, and
the control panel, with respect to how the access point is shown.
References:
http://dev.laptop.org/ticket/9977 (fixes a workaround)
http://bugs.sugarlabs.org/ticket/1673
http://bugs.sugarlabs.org/ticket/1802
http://bugs.sugarlabs.org/ticket/1737
http://bugs.sugarlabs.org/ticket/1736
http://bugs.sugarlabs.org/ticket/1608
http://dev.laptop.org/ticket/9788
|
|
|
|
|
|
|
|
| |
When the mesh is not active, grey out the mesh device icon and update
the palette text.
Also remove the "Create new network" option from the mesh device
palette.
|
| |
|
| |
|
|
|
|
|
|
| |
Journal Xo bundles removal also removes the installed activity. There
are many scenarios where this behavior is it not desired. Therefore it
needs to be changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sugar-launch uses GetBundlePath which calls bundleregistry.get_bundle().
In this patch, the get_bundle() method is changed to retain as much of
the original API as possible, yet in the situation where it might return
None it will now return a bundle if there is only one bundle that
matches the search string.
http://bugs.sugarlabs.org/ticket/897
http://dev.laptop.org/ticket/9189
Patch tested on Sugar 0.84.10 on OLPC XO-1.5 build os108.
Test case:
import jarabe.model.bundleregistry
registry = jarabe.model.bundleregistry.BundleRegistry()
tests = ['org.laptop.Terminal', 'Terminal', 'terminal', 'e', 'asdqweas']
for x in tests:
y = registry.get_bundle(x)
if y is None:
z = 'None'
else:
z = y.get_bundle_id()
print x, z
Output before patch:
org.laptop.Terminal org.laptop.Terminal
Terminal None
terminal None
e None
asdqweas None
Output after patch:
org.laptop.Terminal org.laptop.Terminal
Terminal org.laptop.Terminal
terminal org.laptop.Terminal
e None
asdqweas None
|
| |
|
|
|
|
|
|
| |
register_laptop() now raises the TypeError raised by
xmlrpclib as a RegisterError. This also provides visual
feedback to the user, prompting to connect to the network.
|
| |
|
| |
|