Commit Graph

121 Commits

Author SHA1 Message Date
Simon Schampijer
357a2b31c9 show frame shortly when adding object to clipboard #5098 2007-11-24 15:58:53 +01:00
Marco Pesenti Gritti
c210b7720b Do not fail if there is not an activity service 2007-11-13 16:20:34 +01:00
Reinier Heeres
a8193296dd Ctrl-Q does not kill Journal, #4644 2007-11-09 10:43:24 +01:00
Marco Pesenti Gritti
dfb1787cd4 Use a timeout of 2 seconds for TakeScreenshot to make debugging easier. 2007-10-30 23:43:42 +01:00
Marco Pesenti Gritti
ca3c990dc1 Handle missing TakeScreenshot method gracefully 2007-10-30 23:22:14 +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
3b57c5f247 Try to handle the case when the frame cover the activity window. 2007-10-23 15:49:19 +02:00
Marco Pesenti Gritti
f300006b76 Move window management keybindings inside sugar.
Add a TakeScreenshot dbus method and have the shell
call it when the activity can safely take a screenshot
to use as a preview.
2007-10-23 15:19:17 +02:00
Marco Pesenti Gritti
c74013db1f Timeout of 120 seconds for mount to work around jffs2 issues. 2007-10-06 11:15:36 +02:00
Tomeu Vizoso
79ba6b91b7 Mount the datastore before starting the journal. 2007-10-06 00:01:38 +02:00
Marco Pesenti Gritti
01de8531d0 Make sure the shell service is started up before trying
to open the journal.
2007-10-01 16:50:17 +02:00
Marco Pesenti Gritti
f0afda2e30 "Moved" the new console work on a branch. 2007-10-01 01:25:35 +02:00
Marco Pesenti Gritti
ce72600b02 Make the Shell own the console. Some view changes. 2007-09-30 14:24:03 +02:00
Marco Pesenti Gritti
2ec098f401 Ticket 2567 Don't always show the frame on the mesh view. 2007-09-18 22:50:11 +02:00
Marco Pesenti Gritti
a2a9cd2f70 Unfreeze dcon on idle. 2007-09-03 15:10:12 +02:00
Dan Williams
739b9160b1 Refactor activity share/join in Activity.__init__() to be clearer and cover all cases
Remove the 'pservice_id' attribute of the ActivityHandle too, since it was
completely pointless and should have been the same as the activity id anyway.
Share/join is handled in the Activity.__init__() method and the shell doesn't
really need to know about it at all.
2007-09-01 13:07:49 -04:00
Tomeu Vizoso
cff8ffc328 Complete move to external bundle registry. 2007-08-09 18:10:16 +02:00
Dan Winship
c85c89ce83 Make Journal active at startup. #2159
Also distinguish between "active" in the sense of "the user is actually
using this activity" and "active" in the sense of "the activity would
be active *if* the user switched to Activity view". It's the latter sense,
now called "pending" that the Journal is in at startup. Pending is also
used for the next-up activity when you quit the current active activity.
2007-08-08 09:30:45 -04:00
Tomeu Vizoso
b886121c10 Typo. 2007-07-24 11:55:46 +02:00
Tomeu Vizoso
cb6d459815 Fix some temp file leaks. 2007-07-20 19:50:49 +02:00
Marco Pesenti Gritti
71ca9cb8bc Cleanups 2007-07-02 15:49:29 +02:00
Marco Pesenti Gritti
41af921826 Cleanup zoom level management 2007-07-02 14:53:50 +02:00
Marco Pesenti Gritti
7024f93a43 Move the zoom levels inside the model 2007-07-02 14:34:41 +02:00
Tomeu Vizoso
4aee850af7 Replace Menu for Palette. 2007-07-01 12:55:10 +02:00
Marco Pesenti Gritti
1d4112a882 Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
2007-06-29 22:11:28 +02:00
Marco Pesenti Gritti
d7a8c5430e Make notification work from outside the shell process 2007-06-29 19:05:10 +02:00
Marco Pesenti Gritti
8505a18652 Fix copyright year 2007-06-24 14:45:05 +02:00
Tomeu Vizoso
f0e18ba785 Support for previews in the journal. 2007-06-15 18:03:17 +02:00
Marco Pesenti Gritti
a1e3dbaf9e Adapt to hwmanager api change 2007-06-14 17:27:24 +02:00
Bernardo Innocenti
5c884c1435 unfreeze DCON when Sugar UI is (almost) ready to show
Marco Pesenti Gritti wrote:

> we need to get the hardware-manager part of this in before, otherwise we
> will traceback on startup.

Sorry, I sent the patches in reverse order.  Did you get
the next one?

>> +        # Unfreeze the display when it's stable
>> +        get_hardware_manager().set_dcon_freeze(0)
>> +
>
> Is this actually working? You need something like:
>
> from hardware import hardwaremanager
> ....

Oh, and actually I had that part too, but I've lost this hunk
while copying them to the sandbox.  That's what you get for
editing code right on the target.

Updated patch attached.

From b7bfbb7cc628afe29734557f56d92044d2d336d4 Mon Sep 17 00:00:00 2001
From: Bernardo Innocenti <bernie@codewiz.org>
Date: Wed, 13 Jun 2007 19:56:22 -0400
Subject: [PATCH] unfreeze DCON when Sugar UI is (almost) ready to show
Organization: One Laptop Per Child

This is part of a masterplan to implement #621 .
2007-06-14 17:25:28 +02:00
Tomeu Vizoso
7e8160871a Fix typo. 2007-06-12 12:40:54 +02:00
Tomeu Vizoso
a9600516fb Take screenshot and save it to the journal (<alt>1). 2007-06-04 18:35:05 +01:00
Marco Pesenti Gritti
2f6790105d Make launching a property of the activity model 2007-06-01 11:03:18 +02:00
Marco Pesenti Gritti
38c0cf411c Remove our custom launch timeout. The dbus timeout
is enough.
2007-06-01 10:24:13 +02:00
Marco Pesenti Gritti
42fef182f4 Refactor the bundle registry. Move it inside
the shell and expose the parts that should be
public to the shell dbus service.
2007-05-27 20:24:10 +02:00
Dan Williams
e392680f3e Log activity launch failures with error info; fix typo 2007-05-02 22:31:26 -04:00
Dan Williams
587bc3be19 More verbose debug messages when starting activities 2007-05-02 22:22:02 -04:00
Dan Williams
65998a10c6 Use bundle registry correctly 2007-05-02 22:21:15 -04:00
Tomeu Vizoso
b4f2016844 Launch the journal activity on startup again. 2007-04-29 21:12:35 +02:00
Dan Williams
894fcea9fc Remove get_default_type() and bundle default types; obsolete 2007-04-11 15:08:40 -04:00
Tomeu Vizoso
c0cd2cf9a6 Prevent activity launching being locked by error during launch. 2007-03-16 14:04:49 +01:00
Tomeu Vizoso
0fe529b78a Avoid multiple simultaneous launches of the same activity. 2007-03-15 16:21:37 +01:00
Marco Pesenti Gritti
d041eadf92 Give up on the save/restore logic, it seem too unpredictable to be clear to the user.
Try a simpler logic where the frame state is reset when switching zoom levels.
2007-03-13 00:19:21 +01:00
Marco Pesenti Gritti
2c468110ba Go back to the home page when all activities are closed. 2007-03-12 22:47:17 +01:00
Marco Pesenti Gritti
3bfd94899a Bunch of fixes 2007-03-12 22:29:11 +01:00
Marco Pesenti Gritti
bf80cb55b9 Some cleanups in the Shell. Add a way to save/restore the frame state. 2007-03-12 20:18:55 +01:00
Marco Pesenti Gritti
0984938f95 New animation API. Start rewriting the frame slidein slideout logic.
(Use the keys for now, mouse is not working)
2007-03-12 12:39:29 +01:00
Marco Pesenti Gritti
1992a8a2d8 Disable journal automatic startup for now 2007-03-06 03:03:28 +01:00
Marco Pesenti Gritti
89aa65d0f6 Move hardwaremanager out of the view to his own module 2007-02-25 01:07:05 +01:00
Marco Pesenti Gritti
0b6b6cd6ac Cleanup the Activity API, code needs more love. 2007-02-22 00:57:49 +01:00