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>