| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
There was an issue with displaying notifications at sugar-startup that
other icons would disappear from the top of the frame. This patch fixes
the issue.
Signed-off-by: Anish Mangal <anish@activitycentral.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The (ported) patch links are ::
https://patchwork.sugarlabs.org/patch/1187/
https://patchwork.sugarlabs.org/patch/1188/
https://patchwork.sugarlabs.org/patch/1187/
------------------------------------------
Both individual users and deployments need to be able to set a proxy for
Sugar and activities to use. While we'd like the system to work that all
out automatically (e.g. using WPAD [1]), this often isn't possible.
Common reasons include legacy ("inherited") setups and network uplinks simply
being out of control of the user respectively deployment.
The existing Network Control Panel is enhanced by adding a new section for the
proxy settings. For consistency between Sugar and Gnome, the basic layout of
the Gnome 3 proxy settings has been mirrored: A combo box allows the user to
select how the proxy setting should be determined (None=direct connection,
Automatic=WPAD or PAC, Manual=enter host names and ports for each protocol).
Based on which method was selected, additional configuration options are
presented to the user.
The settings are stored via gconf, using the same keys as Gnome 2 [2].
This implements the Proxy Settings Feature [3].
[1] https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
[2] http://people.gnome.org/~bmsmith/gconf-docs/C/gnome-vfs.html
[3] https://wiki.sugarlabs.org/go/Features/Proxy_Settings
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some applications and tools and even some parts of Sugar will use the
http_proxy environment variable if set, but don't use the Gnome (GConf) proxy
settings.
After changing the GConf proxy settings, Sugar needs to be restarted for the
http_proxy environment variable to be updated.
[factored out into separate function; some clean-ups; added description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
|
| |
|
|
|
|
|
|
|
| |
See http://git.sugarlabs.org/feedback-server/ for the server side.
[added link to server]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
|
|
|
|
|
|
|
|
| |
Add activity_id, object_id and uri options.
This patch is necessary in order to use Browse
as the default http uri handler in sugar.
Reviewed-by: Aleksey Lim <alsroot@member.fsf.org>
|
| |
|
|
|
|
|
| |
[fixed shell script syntax]
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
|
|
|
|
| |
[fix shell syntax]
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
|
| |
|
|
|
|
| |
This feature was requested by Caacupe CATS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a basic backup and restore feature for the Sugar Journal.
It provides:
- Generic Backup and Restore dialog GUI.
- Process manager class as an abstraction layer between the dialog and
backup/restore scripts. (Allowing to work with many backup and restore
technologies, using the same GUI, with no need for script rewrite).
- Basic file system Volume Restore and Backup scripts implemented in Python.
- New backup and restore options for journal volumes palettes.
This patch is based on Esteban Arias (Plan Ceibal) Volume Backup and Restore
patch, with a few changes:
- Refactor original Backup dialog class into a generic dialog class.
- Create specialized VolumeBackupDialog and VolumeRestoreDialog subclasses.
- Rewrite backup and restore scripts in python for an easier sugar interaction.
- Add backup identification helpers to jarabe.journal.misc.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|