Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* If available use systemd to reboot/shutdown the systemSimon Schampijer2012-03-141-15/+36
| | | | | | | | | | | 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>
* Journal detail view: don't choke on invalid 'keep' property (fixes SL#1591)Sascha Silbe2012-03-131-2/+2
| | | | | | | | | | | | | | | | 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>
* Avoid using a protected member in the filter of the favorites viewGonzalo Odiard2012-03-131-1/+4
| | | | | | | 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>
* String format fix for "View Source" activity title, SL #3272Manuel Quiñones2012-03-131-1/+1
| | | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Remove strings from the translations that do not have a value SL #3149Simon Schampijer2012-02-092-3/+4
| | | | | | Original patch from Ajay Garg. Signed-off-by: Simon Schampijer <simon@laptop.org>
* Control Panel, cmd line: capitalize Sugar in string SL #3029Ajay Garg2012-02-091-1/+1
| | | | | | Signed-off-by: Ajay Garg <ajay@activitycentral.com> Acked-by: Simon Schampijer <simon@laptop.org> Acked-by: Sascha Silbe <silbe@activitycentral.com>
* Implementation of Text to Speech Feature [1]Gonzalo Odiard2012-02-023-28/+232
| | | | | | | | | | | | | | | | | | | 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
* Control Panel, Power section: check if powerd is available OLPC #11437Simon Schampijer2011-11-291-1/+2
| | | | | | | | | | | | | | | | 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>
*