| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
erikos. Scheduling for inclusion in 0.94 after potential artwork changes based
on feedback from the Design Team.
This reverts commit e014bc401195a9b096e44d33d7f6135f7ae0c1c6.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Reviewed-by: Aleksey Lim <alsroot@member.fsf.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>
[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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
[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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|