296 Commits (b51d5c9dc7263917afa2535befb02ad7517a7514)

Author SHA1 Message Date
Daniel Drake 4e137f6e4f sugar-activity: import and make independent of sugar-toolkit GTK versions
As we move to adding support for a second UI toolkit (GTK+ 3.x),
the sugar-activity binary used by all activities must become
backend-toolkit-independent. It would be wasteful to have two backend
toolkits loaded in memory, and in the GTK2/GTK3 case, it is impossible
(importing both results in an instant crash).

To achieve this, we split the existing sugar-toolkit activity/main.py:main()
functionality into two parts, moving it into the sugar-activity binary and
the Activity class as follows:
 1. All toolkit-specific stuff is moved into the Activity class (i.e.
   everything that interacts with GTK)
 2. Everything that can be reasonably/easily moved into the Activity class
   is also moved.
 3. What remains is the stuff that is inherently involved with the
   construction of the Activity object, not related to UI toolkits. This
   is moved into the sugar-activity binary.

main.py is then removed from sugar-toolkit, and sugar-activity is moved
from sugar to sugar-toolkit-gtk3 in order to keep toolkit-related code
with the toolkit itself.

With this work done, the one remaining question is how to invoke the main
loop. An optional run_main_loop() method is added to the activity class,
for GTK2 this will run the GTK2 main loop, for GTK3 the GTK3 main loop will
be run, etc.

Signed-off-by: Daniel Drake <dsd@laptop.org>
13 years ago
Daniel Drake e2c07af748 Import sugar-base into sugar-toolkit
Probably needs cleaning up a bit. And we use pygtk-codegen, ugh...

This is the commit id when we imported sugar-base:
b9406e5c9c9df5404c5b0d995178b5edb4d93628

Signed-off-by: Daniel Drake <dsd@laptop.org>
[squashed two patches into one]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
13 years ago
Raul Gutierrez Segales 3372317922 Add wrapper for rsvg
Signed-off-by: Raul Gutierrez Segales <rgs@collabora.co.uk>
[split patch into several parts]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
13 years ago
Raul Gutierrez Segales 0d3057941f configure.ac: replace PyGTK dependency with GTK3 dependencies
Signed-off-by: Raul Gutierrez Segales <rgs@collabora.co.uk>
[split patch into several parts, added description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
13 years ago
Simon Schampijer 10d7f7d3f9 Switch sugarext to be an introspectable library
This makes sugarext accessible through introspection. It is used
from the shell (key grabber, sound volume management) and the
shell session management.

Making the sugarext introspectable was done following the
descriptions at: http://live.gnome.org/GObjectIntrospection#Using_GI

Signed-off-by: Simon Schampijer <simon@schampijer.de>
13 years ago
Simon Schampijer 000ed75cbe Rename the module to sugar3
The old gtk-2 based module will be present in
the 0.94 branch in the sugar-toolkit.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
13 years ago
Simon Schampijer f766da335c Release 0.95.1 13 years ago
Simon Schampijer 7ecfbc6cd0 Release 0.93.4 13 years ago
Simon Schampijer 4e8a50163e Release 0.93.3 13 years ago
Simon Schampijer 51496ff5b8 Release 0.93.2 13 years ago
Simon Schampijer 1d27039180 Release 0.92.0 13 years ago
Simon Schampijer db46363e9d Release 0.90.2 14 years ago
Simon Schampijer b91c2102b4 Release 0.90.1 14 years ago
Simon Schampijer 969421b0d5 Release 0.90.0 14 years ago
Simon Schampijer e398f58e92 Release 0.89.5 14 years ago
Simon Schampijer 7746dd72b7 Release 0.89.4 14 years ago
Simon Schampijer d6da506dfd Release 0.89.3 14 years ago
Simon Schampijer 4dc2b3db23 Release 0.89.2 14 years ago
Daniel Drake 4fdf632c18 Revert "Release 0.84.12"
This reverts commit 658123fe81.

Sorry, screwed up, this was on the wrong branch :(
14 years ago
Daniel Drake 658123fe81 Release 0.84.12 14 years ago
Tomeu Vizoso 29aa609b57 Release 0.89.1 14 years ago
Simon Schampijer 5186c941f0 Release 0.88.1 14 years ago
Tomeu Vizoso 25e57e3766 Release 0.88.0 14 years ago
Simon Schampijer 94206cd9bd Release 0.87.9 14 years ago
Simon Schampijer 24c3509106 Release 0.87.8 14 years ago
Simon Schampijer d8d714af48 Release 0.87.7 14 years ago
Bernie Innocenti d27511f1cb autogen.sh: pass --enable-maintainer-mode to configure 14 years ago
Simon Schampijer 5f3a8da9eb Release 0.87.6 14 years ago
Simon Schampijer fdc1706492 Release 0.87.5 14 years ago
Simon Schampijer ca4be919e7 Updated ALL_LINGUAS 14 years ago
Simon Schampijer 47f71a33bd Release 0.87.4 14 years ago
Simon Schampijer e82073fbd2 Release 0.87.3 15 years ago
Simon Schampijer ec7464bdcd Release 0.87.2 15 years ago
Simon Schampijer 28a3515416 Release 0.87.1 15 years ago
Aleksey Lim 6ef9abe801 Bump v0.86.2 15 years ago
Simon Schampijer 845100cfa0 Release 0.86.1 15 years ago
Tomeu Vizoso e1b251bacc Release 0.86.0 15 years ago
Tomeu Vizoso 2251e7c97f Release 0.85.9 15 years ago
Tomeu Vizoso f4d91d569e Release 0.85.8 15 years ago
Tomeu Vizoso 8e3e7dd8ad Release 0.85.7 15 years ago
Tomeu Vizoso fb326f78fb Release 0.85.6 15 years ago
Simon Schampijer 3ce0a0253b Release 0.85.5 15 years ago
Tomeu Vizoso 88f6e1aa02 Release 0.85.4 15 years ago
Tomeu Vizoso d5999d34ce Release 0.85.3 15 years ago
Tomeu Vizoso 525346ed43 Release 0.85.2 15 years ago
Tomeu Vizoso 800bbb973a Release 0.85.1 15 years ago
Simon Schampijer 1f39f509b3 Release 0.84.0 15 years ago
Simon Schampijer 1e69d8554c Release 0.83.7 15 years ago
Tomeu Vizoso 40e9983ba3 Release 0.83.6 15 years ago
Simon Schampijer df247733a2 Release 0.83.5 16 years ago