Commit Graph

6082 Commits

Author SHA1 Message Date
Simon Schampijer
38d881da7a Release 0.95.5 2012-03-22 18:53:55 +01:00
Simon Schampijer
3c39375d9b Use json as included in Python SL #3142
We use json as included in Python. This will make Sugar dependent on
Python 2.6 and Python 2.7 to have the highest JSON performance.

Signed-off-by: Simon Schampijer <simon@laptop.org>
2012-03-22 18:46:48 +01:00
Simon Schampijer
ad825a07aa Merge branch 'master' of git.sugarlabs.org:sugar-toolkit-gtk3/sugar-toolkit-gtk3 2012-03-22 16:50:36 +01:00
Simon Schampijer
425e9becfc Remove the workaround for missing gobject-introspection bindings of Rsvg
gobject introspection bindings for librsvg have been pushed to librsvg
master [1] in 2.35.0, which solved [2]. We only have slight adopts to
make in our usage, for example we can not pass the data property
to the default constructor anymore and get_width and get_height is not
available anymore for the handle, but we can use the properties
instead.

The sugar-toolkit-gtk3 and therefore Activities that have been ported
to it do need a version of librsvg >= 2.35.0 to be able to work,
which ships for example with Fedora 17.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Daniel Drake <dsd@laptop.org>

[1] http://git.gnome.org/browse/librsvg/
[2] https://bugzilla.gnome.org/show_bug.cgi?id=663049
[3] http://developer.gnome.org/rsvg/stable/RsvgHandle.html
2012-03-22 16:49:14 +01:00
Pootle daemon
32ce36187a Commit from Sugar Labs: Translation System by user malaku.: 35 of 35 messages translated (0 fuzzy). 2012-03-22 09:45:37 +02:00
Pootle daemon
2a059ab924 Merge branch 'master' of git.sugarlabs.org:sugar-toolkit-gtk3/sugar-toolkit-gtk3 2012-03-22 00:31:16 -04:00
Pootle daemon
a07fca3214 Commit from Sugar Labs: Translation System by user dram.: 35 of 35 messages translated (0 fuzzy). 2012-03-21 13:29:31 +02:00
Sascha Silbe
c653cdf4dc configure.ac: Require gobject-introspection
configure.ac already checked if gobject-introspection is installed, but
instead of aborting with an error it continued and silently omitted crucial
parts of the build system, confusing the user with the error message

make[4]: *** No rule to make target `SugarExt-1.0.gir', needed by `all-am'.  Stop.

much later in the build. Fix this by using the appropriate autoconf macro.

Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Acked-by: Simon Schampijer <simon@laptop.org>
2012-03-21 08:00:01 +01:00
Pootle daemon
4f5c9308a8 Commit from Sugar Labs: Translation System by user dram.: 35 of 35 messages translated (0 fuzzy). 2012-03-21 06:52:07 +02:00
Pootle daemon
394fabbec7 Commit from Sugar Labs: Translation System by user HoboPrimate.: 35 of 35 messages translated (0 fuzzy). 2012-03-20 21:52:27 +02:00
Pootle daemon
ea54fd5fb6 Commit from Sugar Labs: Translation System by user dram.: 35 of 35 messages translated (0 fuzzy). 2012-03-16 13:46:03 +02:00
Pootle daemon
06f4e92372 Merge branch 'master' of git.sugarlabs.org:sugar-toolkit-gtk3/sugar-toolkit-gtk3 2012-03-16 00:30:55 -04:00
Simon Schampijer
01a06943a2 Mimic the behaviour and style of the Sugar GTK+ 2 toolbutton palettes in GTK+ 3
First we needed to port the Palette code to use a minimum size. The default size
is two times the GRID_CELL_SIZE. Since the request-phase of the traditional GTK+
geometry management has been replaced by a height-for-width system [1] we have
to compensate for that. Furthermore we need to pass the invoker from the
PaletteWindow to the _PaletteWindowWidget for the gap calculation code for
drawing the border around the Palette.

We do the drawing of the border for the toolbutton in the base class, moved
this from the ToolbarButton and made sure we are drawing in the right order.
In the ToolButton we draw as well a black background for the ToolButton when
the Palette is up. While the mouse is over the button we can do that in the
theme, but not when the mouse moves over the Palette.

[1] http://developer.gnome.org/gtk3/3.0/ch25s02.html#id1525688

Signed-off-by: Simon Schampijer <simon@laptop.org>
2012-03-15 18:25:08 +01:00
Gonzalo Odiard
e04043dc0b Mimic the behaviour and style of the sugar GTK+ 2 sub-toolbars in GTK+ 3
This draws the grey line around the toolbutton icon with a gap at the
bottom and a grey line at the top of the subtoolbar. Furthermore it
gets the highlightning of the button correct, in the pressed and hover
state. This patch depends on the sugar-artwork patch with the id
7464b808eb12b1df650952e3c8214acff1d1360f.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
2012-03-15 17:46:02 +01:00
Pootle daemon
de75c345c6 Merge branch 'master' of git.sugarlabs.org:sugar-toolkit-gtk3/sugar-toolkit-gtk3 2012-03-15 00:30:31 -04:00
Pootle daemon
c0b8926e17 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-03-15 03:57:18 +02:00
Simon Schampijer
7344db525d Release 0.95.4 2012-03-14 21:20:25 +01:00
Simon Schampijer
afcb2fcea9 Port get_preview method to cairo
Previously we were using a GdkPixmap [1] created with the get_snapshot [2]
method of the Gtk.Widget. GTK 3 encourages to use cairo surfaces
now instead.

The ported mothod does create a cairo surface similar to that of the canvas'
window and draws on that. Then we create a cairo image surface with
the desired preview size and scale the canvas surface on that.

Several people have been involved in this work: Gonzalo Odiard,
Manuel Quiñones and Benjamin Berg.

[1] http://developer.gnome.org/gdk/stable/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap
[2] http://developer.gnome.org/gtk/stable/GtkWidget.html#gtk-widget-get-snapshot
2012-03-14 17:37:23 +01:00
Pootle daemon
ca751fe004 Commit from Sugar Labs: Translation System by user HoboPrimate.: 35 of 35 messages translated (0 fuzzy). 2012-03-09 00:56:37 +02:00
Pootle daemon
32074379f6 Commit from Sugar Labs: Translation System by user cjl.: 21 of 35 messages translated (0 fuzzy). 2012-02-16 17:30:28 +02:00
Pootle daemon
346b05546b Commit from Sugar Labs: Translation System by user cjl.: 30 of 35 messages translated (0 fuzzy). 2012-02-16 17:29:59 +02:00
Pootle daemon
62a9f45feb Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-16 17:28:49 +02:00
Pootle daemon
99c2d5a682 Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-16 17:27:07 +02:00
Pootle daemon
047479d604 Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-16 17:25:21 +02:00
Pootle daemon
110512b75a Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 17:23:02 +02:00
Pootle daemon
6b333c362e Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (1 fuzzy). 2012-02-16 09:09:29 +02:00
Pootle daemon
54f8ae16d3 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-16 09:05:01 +02:00
Pootle daemon
8d0d735bd5 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-16 09:03:25 +02:00
Pootle daemon
1652405f36 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (1 fuzzy). 2012-02-16 08:53:31 +02:00
Pootle daemon
bd815576aa Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:44:45 +02:00
Pootle daemon
059a81f023 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:36:58 +02:00
Pootle daemon
6268bf3b9d Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:34:06 +02:00
Pootle daemon
f6e41d2e71 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 08:32:22 +02:00
Pootle daemon
65a76075c1 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-16 05:58:46 +02:00
Pootle daemon
86ca62832e Commit from Sugar Labs: Translation System by user aputsiaq.: 35 of 35 messages translated (0 fuzzy). 2012-02-12 23:21:10 +02:00
Pootle daemon
5b5461b633 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-11 07:54:40 +02:00
Pootle daemon
464c538dc7 Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (0 fuzzy). 2012-02-11 07:49:35 +02:00
Pootle daemon
dd7ade58a3 Commit from Sugar Labs: Translation System by user cjl.: 30 of 35 messages translated (0 fuzzy). 2012-02-11 07:48:15 +02:00
Pootle daemon
40714ebbc4 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:45:18 +02:00
Pootle daemon
d654583f4b Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:43:09 +02:00
Pootle daemon
6ac7c475fc Commit from Sugar Labs: Translation System by user cjl.: 34 of 35 messages translated (1 fuzzy). 2012-02-11 07:40:10 +02:00
Pootle daemon
b8baf373fc Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:36:36 +02:00
Pootle daemon
2ef1aaa482 Commit from Sugar Labs: Translation System by user cjl.: 25 of 35 messages translated (1 fuzzy). 2012-02-11 07:33:53 +02:00
Pootle daemon
561ef84398 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:33:00 +02:00
Pootle daemon
9eff80ea62 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:31:30 +02:00
Pootle daemon
66fe734dc1 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:30:45 +02:00
Pootle daemon
60d0bda8ab Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:27:28 +02:00
Pootle daemon
101b65740f Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:25:26 +02:00
Pootle daemon
5ee0c57259 Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages translated (0 fuzzy). 2012-02-11 07:23:05 +02:00
Pootle daemon
c6e11ae31d Commit from Sugar Labs: Translation System by user cjl.: 29 of 35 messages translated (1 fuzzy). 2012-02-11 07:19:03 +02:00