Commit Graph

5215 Commits

Author SHA1 Message Date
Pootle daemon
d71e0f0530 Commit from Sugar Labs: Translation System by user cjl.: 38 of 39 messages translated (1 fuzzy). 2012-01-29 16:57:46 +02:00
Pootle daemon
8e9ea99ef6 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:57:17 +02:00
Pootle daemon
c8db9b4c0a Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:57:14 +02:00
Pootle daemon
4b0a68448a Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:57:11 +02:00
Pootle daemon
99b647bfc3 Commit from Sugar Labs: Translation System by user cjl.: 18 of 39 messages translated (1 fuzzy). 2012-01-29 16:56:57 +02:00
Pootle daemon
803a339e7e Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:56:42 +02:00
Pootle daemon
a4fab8904a Commit from Sugar Labs: Translation System by user cjl.: 10 of 39 messages translated (1 fuzzy). 2012-01-29 16:56:39 +02:00
Pootle daemon
228188b8e0 Commit from Sugar Labs: Translation System by user cjl.: 26 of 39 messages translated (1 fuzzy). 2012-01-29 16:56:36 +02:00
Pootle daemon
7430464978 Commit from Sugar Labs: Translation System by user cjl.: 20 of 39 messages translated (1 fuzzy). 2012-01-29 16:56:33 +02:00
Pootle daemon
af3d59dd44 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:56:29 +02:00
Pootle daemon
2ab580e938 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:56:20 +02:00
Pootle daemon
7166b77852 Commit from Sugar Labs: Translation System by user cjl.: 1 of 39 messages translated (0 fuzzy). 2012-01-29 16:56:12 +02:00
Pootle daemon
14d97fc83b Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:56:08 +02:00
Pootle daemon
79461cd963 Commit from Sugar Labs: Translation System by user cjl.: 9 of 39 messages translated (0 fuzzy). 2012-01-29 16:56:05 +02:00
Pootle daemon
0da670a494 Commit from Sugar Labs: Translation System by user cjl.: 38 of 39 messages translated (0 fuzzy). 2012-01-29 16:56:03 +02:00
Pootle daemon
6c7cde2d59 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:59 +02:00
Pootle daemon
e865279edb Commit from Sugar Labs: Translation System by user cjl.: 19 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:57 +02:00
Pootle daemon
2a517c1096 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:53 +02:00
Pootle daemon
8e220fcae0 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:48 +02:00
Pootle daemon
836660edfa Commit from Sugar Labs: Translation System by user cjl.: 33 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:45 +02:00
Pootle daemon
401c15fef7 Commit from Sugar Labs: Translation System by user cjl.: 21 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:40 +02:00
Pootle daemon
76f9acb65f Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:34 +02:00
Pootle daemon
81d9659769 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:29 +02:00
Pootle daemon
c0fbdd9ed8 Commit from Sugar Labs: Translation System by user cjl.: 31 of 39 messages translated (1 fuzzy). 2012-01-29 16:55:26 +02:00
Pootle daemon
4f73d4934a Commit from Sugar Labs: Translation System by user cjl.: 26 of 39 messages translated (1 fuzzy). 2012-01-29 16:55:21 +02:00
Pootle daemon
2b1d2ed31c Commit from Sugar Labs: Translation System by user cjl.: 2 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:20 +02:00
Pootle daemon
323e171576 Commit from Sugar Labs: Translation System by user cjl.: 29 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:15 +02:00
Pootle daemon
bc9a8d959a Commit from Sugar Labs: Translation System by user cjl.: 2 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:11 +02:00
Pootle daemon
704a24e292 Commit from Sugar Labs: Translation System by user cjl.: 38 of 39 messages translated (0 fuzzy). 2012-01-29 16:55:07 +02:00
Pootle daemon
b543736316 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:54:42 +02:00
Pootle daemon
baa0678757 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-29 16:54:35 +02:00
Pootle daemon
35543e49e2 Commit from Sugar Labs: Translation System by user cjl.: 4 of 39 messages translated (0 fuzzy). 2012-01-29 16:54:19 +02:00
Pootle daemon
d29e094407 Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-28 08:09:44 +02:00
Pootle daemon
7848ed8c4d Commit from Sugar Labs: Translation System by user cjl.: 39 of 39 messages translated (0 fuzzy). 2012-01-28 08:08:42 +02:00
Simon Schampijer
b5de7ef332 Remove support for the old deprecated toolbar
- removed deprecated imports from the activity module, use the
  widgets module instead
- removed the ActivityToolbox class
- removed the Stop button from the ActivityToolbar
- removed set_toolbar/get_toolbar API from the window module

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2012-01-24 12:36:37 +01:00
Simon Schampijer
ec7b363a70 Datastore: remove deprecated API
This API is not in use anywhere in the shell and has
been deprecated for quite some time.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2012-01-24 12:36:09 +01:00
Simon Schampijer
417006e463 ObjectChooser: remove deprecated parameters
The objectchooser had the 'title', 'flags' and 'buttons' parameters
deprecated for a long time, remove them now completely. The
only parameters allowed are now the 'parent' and the 'what_filter'.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2012-01-24 12:34:54 +01:00
Simon Schampijer
aae6082b14 Bundlebuilder: remove deprecated bundle_name argument
Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2012-01-24 12:33:03 +01:00
Simon Schampijer
70cee44717 Activity: remove deprecated _shared_activity member
Use the get_shared_activity method instead

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2012-01-24 12:31:52 +01:00
Simon Schampijer
ae85dd62d4 ActivityBundle: clean from deprecated code
- removed deprecated mime type 'application/vnd.olpc-x-sugar'
- activity.info file: removed deprecated field 'service_name' use 'bundle_id' instead
- activity.info file: removed deprecated field 'class' use 'exec' instead

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2012-01-24 12:24:12 +01:00
Simon Schampijer
a8342ecf8c Finally remove the keep button completely
see 0082e10f8e for
the complete reasoning.

e022aa8e4a already made the button
invisible, keeping it only for backwards compatibility.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-By: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Daniel Drake <dsd@laptop.org>
2012-01-24 12:20:52 +01:00
Simon Schampijer
6499ce596d Release 0.95.2 2011-12-22 14:53:09 +01:00
Simon Schampijer
b03a483854 Use the gtk3 toolkit in the sugar-activity
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2011-12-20 19:19:26 +01:00
Gonzalo Odiard
24af358275 Set the sugar theme name in gsettings according the scale
We need set the theme in gsettings according the scale in
the SUGAR_SCLING environment variable.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
2011-12-20 19:19:26 +01:00
Simon Schampijer
f05f221f79 Fix the installation of languages
The GETTEXT_PACKAGE name must match the repository
name. Found when packaging for Fedora.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>
2011-12-20 19:19:26 +01:00
Daniel Drake
48ad255a78 Reimplement Palettes for GTK3
Moving from GTK2 to GTK3 has presented various challenges regarding
palettes.

In GTK2, we were able to access some internal API of the GtkMenu class
and use it to embed a GtkMenu in a regular window. As of GTK3, that API
has become private and we can no longer access it.

We still want to use GtkMenu for the advanced functionality it provides
(multiple-level menus, keyboard navigation, etc), but we are now limited
to popping it up with its own (internal) window, rather than being able
to pack it into one of our own.

Our palettes can historically be used either as a menu, or as a general
area where widgets can be added, or both. The new restrictions upon
GtkMenu force some changes here, but we work hard to stick to the old
API as far as possible.

A Palette instance now acts as a controller of either a "window widget"
(where any type of widget can be displayed as usual) or a "menu widget"
which just pops up a GtkMenu. A Palette defaults to the window mode, but
dynamically switches to menu mode if/when the user attempts to access
the menu element.

As a result of this, palettes can now pack either a user-defined collection
of widgets, or a menu, but types can no longer be mixed. This should
only affect a handful of palettes which will need to pick a single
approach and convert to it.

Some further challenges are presented by the fact that GtkMenu performs a
grab on the whole screen, meaning that all input events are delivered to
the GtkMenu widget. Through some careful event filtering and examination
of the mouse cursor position we are still able to determine when the mouse
has entered or left the invoker or menu areas.

This work is authored by Benjamin Berg, Marco Pesenti Gritti, Simon
Schampijer and Daniel Drake.
2011-12-20 19:19:16 +01:00
Daniel Drake
8126575461 SugarExt: make SugarGrid introspectable
This will be used by a future GTK3 port of the shell.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
2011-12-20 19:00:22 +01:00
Daniel Drake
15946211cf Trivial GTK3 porting fixes
Fix some trivial issues missed earlier: various missing imports,
some minor API changes to adapt to, do_size_request simple porting,
etc.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
2011-12-20 19:00:17 +01:00
Daniel Drake
827ab7218a Add EventIcon/CursorInvoker similar to CanvasIcon/CanvasInvoker
CanvasIcon and CanvasInvoker were removed in a previous GTK3-porting commit
as they were based on hippocanvas.

However, this leaves the toolkit with some missing functionality:
there is no longer a trivial way to show an icon which can receive mouse
events and pop up a palette. Such functionality is used in various
places throughout the shell and activities.

Reimplement this functionality as EventIcon and CursorInvoker.
Instead of reimplementing much of the Icon class (like CanvasIcon did),
EventIcon opts for a more simplistic encapsulation of an Icon object.
This means trivial API changes for CanvasIcon users who must now
use the 'icon' property with the Icon API.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
2011-12-20 18:35:25 +01:00
Daniel Drake
5ad2fc7d6b SugarExt: drop pygobject2 initialisation
Now that we avoid linking with pygtk2/pygobject2, we need to remove
this initialisation call so that the module can be loaded at runtime.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
2011-12-20 18:31:28 +01:00