| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
session.py talks to logind, so it needs to specifically check if logind is
running. /sys/fs/cgroup/systemd will be present also when systemd was built
without logind (--disable-logind).
For details, see:
<https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run sugar-convert.sh [1] for automatic conversion from sugar.* imports to
sugar3.* imports. This is only on a best-effort basis; the code will
be in a broken state after this patch and need to be fixed manually.
The purpose of committing the intermediate, non-working output is to make it
reproducible. It's impractical to manually review the changes.
[1] http://dev.laptop.org/~manuq/sugar-convert.sh
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run pygi-convert.sh for automatic conversion from GTK+ 2 to GTK+ 3 and
pygobject+gobject-introspection. This is only on a best-effort basis;
the code will be in a broken state after this patch and need to be
fixed manually.
The purpose of committing the intermediate, non-working output is to make it
reproducible. It's impractical to manually review the changes.
The exact version used was 2d8f48f4ff56bb75985136452b50b75895258608 from the
main pygobject repository [1].
[1] git://git.gnome.org/pygobject
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HAL [1] is dead [2], ConsoleKit [3] now handles shutdown / reboot.
Tested on XO-1.5 running Debian Squeeze with consolekit 0.4.1-4.
[1] http://www.freedesktop.org/wiki/Software/hal
[2] http://lists.freedesktop.org/archives/hal/2008-May/011560.html
[3] http://www.freedesktop.org/wiki/Software/ConsoleKit
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Tested-By: Simon Schampijer <simon@laptop.org>
Acked-By: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
| |
has_key() has been deprecated for quite some time now.
Reviewed-by: James Cameron <quozl@laptop.org>
Reviewed-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
|
|
|
|
|
|
|
|
| |
This is important for Sugar because the XO has a small screen where long lines
would make the code hard to understand (because you need to constantly scroll horizontally).
Reviewed-by: James Cameron <quozl@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
|
|
|
|
|
|
| |
Reviewed-by: James Cameron <quozl@laptop.org>
Reviewed-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
System bus (DBus) is only required for optional features (non-permanent
connection to jabber server, removable media, etc.), so fail gracefully
(but output errors to logs) if it is unreachable.
This aids testing Sugar inside chroots.
Tested:
- inside chroot (no system bus): errors in log, neighbourhood shows buddies
- on XO-1 (regular session, no NM): no errors, neighbourhood shows buddies, battery shown
- on XO-1 (regular session, NM): no errors, neighbourhood shows buddies and networks, battery shown, disconnecting + automatic reconnect works, shutdown works
Signed-off-by: Sascha Silbe <sascha@silbe.org>
|
| |
|
| |
|
| |
|
|
|