| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
ConsoleKit is being obsoleted by systemd [1]. Accordingly use the
systemd D-Bus API now to Reboot and PowerOff the system. We keep the
fallback for ConsoleKit around. This adds a dependency on systemd.
[1] http://fedoraproject.org/wiki/Features/ckremoval
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Properties of data store entries can get corrupted, e.g. due to low level
crashes or running out of battery (see OLPC#11372 [1] for a real-life
example). In addition any activity can - accidentally or on purpose - write
data store entries with arbitrary metadata.
By comparing the 'keep' property as a string we can avoid the ValueError that
might happen when trying to convert the property value to an integer.
[1] https://dev.laptop.org/ticket/11372
Reported-by: Gary Martin <garycmartin@googlemail.com>
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
| |
Add a getter method in ActivityIcon to access the activity name.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
| |
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
| |
Original patch from Ajay Garg.
Signed-off-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
| |
Signed-off-by: Ajay Garg <ajay@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch adds a device icon to the frame with controls
to play/pause/stop any text that is selected by the user in
the Sugar UI. The palette does also have options to adjust
the pitch and rate of the spoken text. These settings are
stored in the GConf backend, the two keys are added to the
Sugar schema.
As backend gstreamer-plugins-espeak is used [2], it has been
in use in many activities already and is packaged for Fedora,
it will be added as a dependency to Sugar.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
[1] http://wiki.sugarlabs.org/go/Features/GlobalTextToSpeech
[2] http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recent versions of the kernel export the Open Firmware device tree to
user space as /proc/device-tree, rather than /ofw (the latter was
specific to OLPC kernels). We checked for existence of /ofw to determine
whether we're running on an OLPC XO and assumed it's running
olpc-powerd, since that is what we actually try to control. By checking
for a directory created by olpc-powerd, we make sure that it's actually
available (to us) and works on any kernel version.
Check if powerd is available to determine if the power section
is displayed or not.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|