Commit Graph

346 Commits

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>
2011-12-13 17:35:30 -03:00
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>
2011-12-13 17:19:53 -03:00
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>
2011-12-13 17:19:53 -03:00
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>
2011-12-13 17:19:53 -03:00
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>
2011-12-13 17:19:52 -03:00
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>
2011-11-14 18:17:18 +01:00
Simon Schampijer
f766da335c Release 0.95.1 2011-10-25 13:19:07 +02:00
Simon Schampijer
7ecfbc6cd0 Release 0.93.4 2011-09-20 18:18:53 +02:00
Simon Schampijer
4e8a50163e Release 0.93.3 2011-09-07 18:35:33 +02:00
Simon Schampijer
51496ff5b8 Release 0.93.2 2011-08-19 13:26:57 +02:00
Simon Schampijer
1d27039180 Release 0.92.0 2011-02-23 17:03:20 -05:00
Simon Schampijer
db46363e9d Release 0.90.2 2010-10-14 19:17:22 +02:00
Simon Schampijer
b91c2102b4 Release 0.90.1 2010-10-05 18:12:53 +02:00
Simon Schampijer
969421b0d5 Release 0.90.0 2010-09-29 17:36:43 +02:00
Simon Schampijer
e398f58e92 Release 0.89.5 2010-08-30 19:42:11 +02:00
Simon Schampijer
7746dd72b7 Release 0.89.4 2010-08-25 16:55:42 +02:00
Simon Schampijer
d6da506dfd Release 0.89.3 2010-08-17 17:28:09 +02:00
Simon Schampijer
4dc2b3db23 Release 0.89.2 2010-08-16 23:27:00 +02:00
Daniel Drake
4fdf632c18 Revert "Release 0.84.12"
This reverts commit 658123fe81.

Sorry, screwed up, this was on the wrong branch :(
2010-08-09 11:00:52 -06:00
Daniel Drake
658123fe81 Release 0.84.12 2010-08-09 10:59:20 -06:00
Tomeu Vizoso
29aa609b57 Release 0.89.1 2010-07-14 11:53:49 +02:00
Simon Schampijer
5186c941f0 Release 0.88.1 2010-06-03 09:07:13 +02:00
Tomeu Vizoso
25e57e3766 Release 0.88.0 2010-03-30 09:41:18 +02:00
Simon Schampijer
94206cd9bd Release 0.87.9 2010-03-29 23:52:50 +02:00
Simon Schampijer
24c3509106 Release 0.87.8 2010-03-10 18:00:46 +01:00
Simon Schampijer
d8d714af48 Release 0.87.7 2010-03-10 11:42:03 +01:00
Bernie Innocenti
d27511f1cb autogen.sh: pass --enable-maintainer-mode to configure 2010-03-10 09:51:56 +01:00
Simon Schampijer
5f3a8da9eb Release 0.87.6 2010-02-17 22:42:46 +01:00
Simon Schampijer
fdc1706492 Release 0.87.5 2010-02-11 09:12:40 +01:00
Simon Schampijer
ca4be919e7 Updated ALL_LINGUAS 2010-02-08 17:58:36 +01:00
Simon Schampijer
47f71a33bd Release 0.87.4 2010-02-07 10:22:59 +01:00
Simon Schampijer
e82073fbd2 Release 0.87.3 2010-01-12 11:23:14 +01:00
Simon Schampijer
ec7464bdcd Release 0.87.2 2009-12-21 19:54:57 +01:00
Simon Schampijer
28a3515416 Release 0.87.1 2009-12-01 08:42:57 +01:00
Aleksey Lim
6ef9abe801 Bump v0.86.2 2009-10-20 20:16:26 +00:00
Simon Schampijer
845100cfa0 Release 0.86.1 2009-10-01 22:40:41 +02:00
Tomeu Vizoso
e1b251bacc Release 0.86.0 2009-09-25 10:48:51 +02:00
Tomeu Vizoso
2251e7c97f Release 0.85.9 2009-09-25 10:45:07 +02:00
Tomeu Vizoso
f4d91d569e Release 0.85.8 2009-09-18 18:50:33 +02:00
Tomeu Vizoso
8e3e7dd8ad Release 0.85.7 2009-09-10 17:58:36 +02:00
Tomeu Vizoso
fb326f78fb Release 0.85.6 2009-09-02 10:49:22 +02:00
Simon Schampijer
3ce0a0253b Release 0.85.5 2009-08-25 21:29:35 +02:00
Tomeu Vizoso
88f6e1aa02 Release 0.85.4 2009-08-25 19:14:37 +02:00
Tomeu Vizoso
d5999d34ce Release 0.85.3 2009-08-01 19:49:01 +02:00
Tomeu Vizoso
525346ed43 Release 0.85.2 2009-07-18 13:30:44 +02:00
Tomeu Vizoso
800bbb973a Release 0.85.1 2009-07-10 17:47:31 +02:00
Simon Schampijer
1f39f509b3 Release 0.84.0 2009-03-03 16:10:05 +01:00
Simon Schampijer
1e69d8554c Release 0.83.7 2009-02-20 19:28:20 +01:00
Tomeu Vizoso
40e9983ba3 Release 0.83.6 2009-02-13 19:37:03 +01:00
Simon Schampijer
df247733a2 Release 0.83.5 2009-02-04 12:14:36 +01:00
Simon Schampijer
71c4e767e0 Release 0.83.4 2009-01-19 23:29:30 +01:00
Simon Schampijer
1fd893f86e Release 0.83.3 2008-12-19 09:59:12 +01:00
Simon Schampijer
0157f427ab Release 0.83.2 2008-11-21 13:42:12 +01:00
Simon Schampijer
9dcc432ae1 "Release version 0.83.1" 2008-10-30 18:59:44 +01:00
Tomeu Vizoso
be32d3fb67 Remove the clipboard service wrapper 2008-09-16 15:34:26 +02:00
Marco Pesenti Gritti
be014cc270 Alsa based volume control API, stealed from gnome-settings-daemon. #8375 2008-09-13 13:48:25 +02:00
Tomeu Vizoso
c3873bfdcb Bump to 0.82.1, marco forgot to commit the configure change when releasing 2008-08-22 20:48:59 +02:00
Marco Pesenti Gritti
e3861325f4 Add dependency on libICE 2008-08-13 13:12:06 +02:00
Marco Pesenti Gritti
3ce887ce90 Add dep on libSM 2008-08-13 11:58:06 +02:00
Marco Pesenti Gritti
9a827ead86 Enable maximum warnings.
A bunch of compile fixes.
2008-08-12 01:53:28 +02:00
Simon Schampijer
f37f2bc121 Reease 0.82.0 2008-08-07 17:16:58 +02:00
Simon Schampijer
e6decf93da Release 0.81.8 2008-07-31 21:19:58 +02:00
Marco Pesenti Gritti
a46dcf534c Release 0.81.7 2008-07-22 14:07:28 +02:00
Tomeu Vizoso
1937512d95 Release 0.81.6 2008-07-07 19:17:09 +02:00
Pootle Translation
c65c0dfb0a Add French to ALL_LINGUAS 2008-06-24 12:19:54 -04:00
Marco Pesenti Gritti
6aa775e00f Remove fr from ALL_LINGUAS, it breaks the build. 2008-06-24 17:58:38 +02:00
Sayamindu Dasgupta
ff204831ed Update ALL_LINGUAS 2008-06-24 06:45:21 +05:30
Sayamindu Dasgupta
710f30196a Change the GETTEXT_PACKAGE domain to sugar-toolkit 2008-06-23 23:51:58 +05:30
Marco Pesenti Gritti
36fdb488a0 Release 0.81.5 2008-06-20 18:52:36 +02:00
Marco Pesenti Gritti
5ba50d0e0f Release 0.81.4 2008-06-05 15:27:50 +02:00
Marco Pesenti Gritti
6c024ed529 Release 0.81.3 2008-05-24 12:35:58 +02:00
Marco Pesenti Gritti
6dcc35bc17 Release 0.81.2.
Missing import in toggletoolbutton.
2008-05-24 00:14:42 +02:00
Marco Pesenti Gritti
4f086fd421 Release 0.81.1 2008-05-23 23:27:32 +02:00
Tomeu Vizoso
d391e14272 Release v0.79.7 2008-05-18 20:19:18 +02:00
Marco Pesenti Gritti
72c2a1d770 Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
Simon Schampijer
21e71a3048 Release 0.79.6 2008-04-24 17:26:25 +02:00
Tomeu Vizoso
1fd5290c53 Release 0.79.5 2008-04-22 19:35:59 +02:00
Tomeu Vizoso
156bfd8fbe Release 0.79.4 2008-04-22 18:39:11 +02:00
Tomeu Vizoso
fa83117694 Release 0.79.3 2008-04-09 20:45:20 +02:00
Simon Schampijer
ec69482ba5 Release 0.79.2 2008-04-03 17:58:01 +02:00
Simon Schampijer
905fd33810 Release 0.79.1 2008-04-02 16:44:52 +02:00
Marco Pesenti Gritti
488402df7d Split sugar-toolkit out of sugar shell. 2008-02-06 10:20:33 +01:00
Marco Pesenti Gritti
44efc2a131 Complete paths cleanup and remove SUGAR_PREFIX and
SUGAR_PATH environment variables.
2008-02-05 01:21:55 +01:00
Marco Pesenti Gritti
aca3ae6c88 Remove get_service_path and use the usual wrapper script approach. 2008-02-05 01:02:33 +01:00
Marco Pesenti Gritti
ae5ce06ccb Refactor directory structure a bit, preliminary to the
library split-out.
2008-02-04 23:36:12 +01:00
Marco Pesenti Gritti
dbe42ac6d9 Make the shell scripts just a tiny wrapper which setup
the python path and run main().
2008-02-04 20:36:09 +01:00
Marco Pesenti Gritti
1c361ea5dd Add a config module into the shell holding path informations.
Get rid of env.get_locale_path()
2008-02-04 19:16:46 +01:00
Sayamindu Dasgupta
4d9a30607c Added a bunch of languages added via Pootle (ref ticket #5625) 2007-12-23 01:24:57 +05:30
Sayamindu Dasgupta
8b5cf46945 Added a bunch of new languages added via Pootle. 2007-12-03 09:57:57 +05:30
Marco Pesenti Gritti
1cecee8da3 Bump version 2007-11-23 17:13:55 +01:00
Marco Pesenti Gritti
d03eb3216f Release version 0.70.2 2007-11-20 20:40:40 +01:00
Marco Pesenti Gritti
070c90a2df Release 0.70.1. 2007-11-19 11:48:04 +01:00
Marco Pesenti Gritti
b72f00e30b Integrate control panel in the build so that I can actually
distcheck.
2007-10-31 00:05:16 +01:00
Marco Pesenti Gritti
6768a4216f Remove the console. Eduardo is moving the functionalities
out to the log and analyze activities.
2007-10-30 12:15:42 +01:00
Marco Pesenti Gritti
702a890770 Revert to the trial-3 frame behavior (always visible on
the home page). Readapt things which are changed in the
meantime.
2007-10-29 15:49:17 +01:00
Marco Pesenti Gritti
276e1ee517 Fix the build 2007-10-18 11:49:37 +02:00
Marco Pesenti Gritti
40fc6e2e47 Simplify the API to get icon/description for objects.
Get rid of the service for now, it's not necessary
until we allow activities to extend the
mime type -> generic type mapping (post 1.0)
2007-10-16 17:18:43 +02:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00
Marco Pesenti Gritti
68ff71a0cb Split part of the sugar library to sugar-base 2007-10-15 15:39:07 +02:00
Marco Pesenti Gritti
0ef5c4b891 Add arrows on the homepage to hint about frame activation. 2007-09-24 22:04:45 +02:00