Remove OLPC specific code from sugar-control-panel

As discussed on the mailing list, making keyboard depend
on powerd doesn't make sense
http://lists.sugarlabs.org/archive/soas/2013-November/002579.html
Revert "Removes pulsing from start-up icon. Fixes #3092"

This reverts commit b43e6e70790a7d14d80380839646d9a7582b64ac.
Shows path instead of activity name in Title bar. Fixes #3073
Add padding to the journal button palette

This palette is attached to the journal button, in the bottom toolbar
in the Journal window.
Revert "Shows path instead of activity name in Title bar. Fixes #3073"

This reverts commit e89bd86b21d68ef92fe8241b1153b43d753b1bd1.
Set limit to open activities and open instances
At the request of OLPC AU (in an effort to reduce OOM freezes) this
patch uses gconf to set a maximum number of open activities [1]. An
alert is shown if the user tries to launch more activities than the
maximum asking them to close an activity before opening a new one. If
maximum_number_of_open_activites is not set or == 0, then there is no
maximum limit applied.

Further, Some activities don't behave well if more than one instance
is open (e.g., SL #4554). This patch sets a limit on the number open
instances of an activity based on a new field in activity.info:
single_instance.

If and only if single_instance = yes in activity.info, is it used to
limit open instances to a single instance.

NOTE: there is a patch to activitybundle.py in the toolkit necessary
for this patch to be used.

[1] /desktop/sugar/maximum_number_of_open_activities
add jarabe/view/alerts

This file was not added to POFILES.in in:
sugar/commit/ae54fc4e6d23a1b7f145810ea5e9edd12fa220bb
Unnecessary checkout for getting file size, Fixes: #2303

Avoid the unnecessary checkout for get the file size from joural. Fix #2023
Fix regression introduced by ae54fc4e6d23a1b7f145810ea5e9edd12fa220bb

In the detail view of the journal, the user can resume a object,
and in some cases, is possible do it with more than one activity (ex. images)
Whitout this patch, do not matter what activity is selected to open
the object, the default activity is used.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Show feedback in detailview when sugar can't manage a entry - SL #328

The same criteria and message than in the ObjectPalette is used.

Fixes #328

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Consolidate the control of what can be resumed in the journal

A function misc.can_resume() is added and replaced in the places
where is needed.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Fix Clone of gtk3 activities - SL #4608

As we changed the way the dist_name parameter is used in
sugar-toolkit-gtk3, we need aply this change in sugar.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Fix "Restart button in detailview does not works if palette is opened" - SL #4468

Using a PaletteMenuBox and PaletteMenuItem instead of MenuItem
solves the problem. The UI is more consistent, and show the button
tooltip as in previous versions.

Fixes #4468

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Fix "Show feedback in detailview when sugar can't manage a entry"

In the last commit we changed the use of MenuItem to PaletteMenuItem,
then we can't add a MenuItem in this case. We can use the tooltip,
because now is visible.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Release 0.101.0
Fix control panel search focus issue - SL #3188

Check if the window is active.

Fixes #3188

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
CP background section need set the cursor at exit - SL #4667

Fixes #4667

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Fixed an issue with the show_launcher option having no effect
Remove trailing space
GConf to GSettings port