| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This binary has been moved to sugar-toolkit-gtk3 in a commit
titled:
sugar-activity: import and make independent of sugar-toolkit GTK versions
sugar-toolkit-gtk3 is deemed as a more suitable home as sugar-activity
is somewhat specific to activities built with sugar-toolkit.
From this point onwards sugar-toolkit-gtk3 will become a required
part of the platform and hence installed on all user's systems.
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As stated in the ticket Metacity sets the cursor after
it's startup, so we need to make sure Metacity is already
running before we set the cursor. This is what the current
code has been doing. We do show the intro screen before
the window manager may be available. For a non invasive
bug fix that avoids races we just call 'xsetroot -cursor_name'
another time before the intro screen is displayed.
We have a long history of setting the Sugar cursor with many
races. To improve the situation SL #3204 is filed as a
follow up.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
| |
This reverts commit 9bcbda746abdc03747bb57e9e955940fd1bf135a that got pushed
by accident.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sugar is currently activing a new keyboard config even if the user
did not change any settings.
Avoid this by only activating the configuration if user-specified
settings are found in gconf. Also remove the default 'evdev' model
string so that gconf settings are truly blank unless the user has
selected something.
This fixes the case where keyboard settings were configured elsewhere,
but Sugar ends up throwing those away and applying its own 'blank'
settings.
The forced 'evdev' default was added in #1717:
Since we do not supply a keyboard model by default, xfree86 gets
picked up, and as a result the arrow keys, etc do not work on Xephyr.
We should use evdev instead.
However, this seems more like an evdev configuration issue, and
regardless of this, arrow keys are not working before this patch anyway.
Acked-By: Sascha Silbe <silbe@activitycentral.com>
Signed-off-by: Daniel Drake <dsd@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"foo is []" is not a valid way of checking if a list is empty
as this code intends.
"foo" alone as a boolean operator is an equivalent length check,
and also serves as a "is not None" check too.
PEP8 also confirms this approach:
For sequences, (strings, lists, tuples), use the fact that empty
sequences are false.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
| |
Revert "sugar-install-bundle to accept multiple files"
This reverts commit ada284445e9a3ce96a0c9df4c299021254b0668d.
|
|
|
|
|
|
|
|
| |
This not only fixes a race condition (metacity is started before sugar-session
in sugar), but also allows running Sugar inside a different window manager.
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-By: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
| |
Signed-off-by: James Cameron <quozl@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
This reverts commit b6a8569bc3152e07f3f5423000db391983e57975.
Reverts only the addition of sugar-dbus-launch-helper as activities
are not activated by dbus yet.
|
|
|
|
| |
Also makes sure that SUGAR_PROFILE is set.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
reinstates a design feature that was in sugar-session last year
that was removed during rework.
|
|
|
|
| |
Set the language to the system one if no ~/.i18n is present.
|
|
|
|
|
|
| |
It's a very bad idea to run Sugar as root for a variety of reasons, but there
seem to be people who try it (and fail) nevertheless. Failing early and with a
clear message increases safety and safes precious developer and user time.
|
| |
|
|
|
|
|
|
|
|
| |
The control panel stores locale settings in ~/.i18n, but currently this file
is only read by Fedora scripts and sugar-emulator. Parsing it in sugar will
make language selection work in "native" sessions on all distros.
Signed-off-by: Sascha Silbe <sascha@silbe.org>
|
|
|
|
|
| |
Otherwise the display remained locked and the intro screen was
not visible.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sugar currently configures fonts through gtkrc and through the
sugar.graphics.style class, both of which are hard to modify by
implementors/deployers.
Move this into GConf and apply these settings to the sugar shell
at startup.
In the longer term, Sayamindu's efforts to create a settings manager
will build on this work.
|
| |
|
| |
|
| |
|
| |
|
| |
|