Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Add support for XO 1.75Simon Schampijer2011-08-181-2/+15
| | | | | | | | | | | | | 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>
* Wireless network Frame device: Add text for disconnected stateSascha Silbe2011-08-151-1/+2
| | | | | | | | Showing just an empty palette whenever we are disconnected (e.g. because no favourite AP is in range) is rather confusing for users. Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Acked-By: Simon Schampijer <simon@laptop.org>
* Network device icon: use "Disconnect" label (SL#3007)Daniel Drake2011-08-011-1/+1
| | | | | | | | | | The current label "Disconnect..." has an ellipsis for no apparent reason. The equivalent menu on the neighborhood view has "Disconnect". Remove the ellipsis to make these consistent. This will also fix a bad Spanish translation of "Disconnect..." ("Desconectando..." which means "Disconnecting..."), as the Spanish translation for Disconnect ("Desconectar") is correct.
* Language: restore undo functionality in control panel section #10754Simon Schampijer2011-03-221-0/+4
| | | | | | | | | The control panel has a builtin undo functionality that does call the set_* method of the model. As we have different formats of setting a language we need to compensate for that. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-By: Sascha Silbe <silbe@activitycentral.com>
* fix typo in power control panel, dev.laptop.org #10753James Cameron2011-03-161-1/+1
|
* Fix up style issues introduced by commit 3f8a1e1Sascha Silbe2011-02-231-5/+5
| | | | | Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Acked-by: Simon Schampijer <simon@laptop.org>
* Merge branch 'master' of git.sugarlabs.org:sugar/mainlineSimon Schampijer2011-02-221-98/+102
|\
| * battery frame device: replace HAL with UPowerSascha Silbe2011-02-181-98/+102
| | | | | | | | | | | | | | | | | | | | | | | | HAL is deprecated, UPower is the designated replacement w.r.t. power supplies. As a bonus the time displayed is now correct (calculated at run-time by UPower, self-adjusting to changes in power consumption). Tested on XO-1.5 running Debian Squeeze with stock UPower (0.9.5-5) and a 2.6.35 OLPC kernel. Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Acked-by: Simon Schampijer <simon@laptop.org>
* | Restore setting a language with the command line OLPC #10681Simon Schampijer2011-02-222-22/+24
|/ | | | | | | | Move the code that handles the list given by the view to a separate function to make it clearer. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Sascha Silbe <silbe@activitycentral.com>
* Adjust the year in the licence visible in the control panelSimon Schampijer2011-02-171-1/+1
|
* Speaker frame device: pop up palette on left-click instead of toggling muteSascha Silbe2011-02-151-4/+4
| | | | | | | | | | | Reports from the field indicate that users accidently left-click the Speaker icon and don't realise it got muted. By popping up the palette we enable them to explicitly choose the mute action without instead of surprising them by automatically executing one of the secondary actions (there is no primary action). Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: James Cameron <quozl@laptop.org>
* Revert "Add cpu and memory resource indicator to frame" as agreed on withSascha Silbe2011-02-112-216/+0
| | | | | | | erikos. Scheduling for inclusion in 0.94 after potential artwork changes based on feedback from the Design Team. This reverts commit e014bc401195a9b096e44d33d7f6135f7ae0c1c6.
* Avoid popping an empty list in the software updater.Michael Stone2011-02-051-0/+3
| | | | | | | | | | | | | When you run Sugar with no activities installed, UpdateModel._bundles_to_check is empty. Attempting to unconditionally pop this list results in an IndexError. Instead, the updater should stop trying to update bundles when it determines that it has no more bundles to check. Signed-off-by: Michael Stone <michael@laptop.org> [style fix] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Aleksey Lim <alsroot@member.fsf.org>
* Simplify the definition of UpdateModel._bundles_to_check().Michael Stone2011-02-051-2/+1
| | | | | | | | | | | | | The only purposes of the list comprehension in UpdateModel.check_updates() is to set self._bundles_to_check to a list containing the elements returned by bundleregistry.get_registry(). This purpose can be more succinctly achieved by means of the list() constructor. Signed-off-by: Michael Stone <michael@laptop.org> [rebased on mainline/master] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-By: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Aleksey Lim <alsroot@member.fsf.org>
* extensions/deviceicon/Makefile.am: fix inconsistent whitespaceSascha Silbe2011-02-051-1/+1
| | | | | Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Aleksey Lim <alsroot@member.fsf.org>
* Add cpu and memory resource indicator to frameanishmangal20022011-02-052-0/+216
| | | | | | | | | | | | | | | | | | | | 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> [style fixes, increase weight of memory utilisation for "system mood" so bursts of CPU activity don't take us from "happy" directly to "sad"; pop up on left click since there is no primary action] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Aleksey Lim <alsroot@member.fsf.org>
* fix network disconnect (SL#1608, SL#1802)Sascha Silbe2011-02-051-13/+5
| | | | | | | | | | | | | | | | | 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 [1], (rather than disconnecting and then reconnecting automatically), Based on a patch by James Cameron <quozl@laptop.org>. [1] http://mail.gnome.org/archives/networkmanager-list/2011-January/msg00007.html Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
* implement discarding network history (SL#1673)James Cameron2011-02-052-1/+16
| | | | | | | | | | | | | | User interface changes: - 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), [split out from larger "fix network disconnect and discard history" patch; replaced count_*() with have_*(); added FIXME] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: Sascha Silbe <silbe@activitycentral.com>
* use dbus.PROPERTIES_IFACE instead of literal valueJames Cameron2011-02-052-22/+17
| | | | | | | [split out from larger "fix network disconnect and discard history" patch; fixed up all remaining occurences as well] Signed-Off-By: Sascha Silbe <silbe@activitycentral.com> Reviewed-By: Sascha Silbe <silbe@activitycentral.com>
* About my computer: use NetworkManager to acquire list of devicesSascha Silbe2011-02-051-10/+62
| | | | | | | | | | | | | | | The hardcoded name 'eth0' that is used for querying the firmware version doesn't match the interface name actually assigned to the wireless device in recent OLPC builds or on most non-XO hardware. Querying NetworkManager for the list of devices will work even on systems where the interface has been renamed during boot (persistent device names). If there are multiple wireless interfaces, firmware information for all of them will be shown (prefixed by interface name). Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Reviewed-by: James Cameron <quozl@laptop.org>
*