Commit Graph

37 Commits

Author SHA1 Message Date
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
fdb9c57e65 Handle invitations inside Activity. 2007-09-11 17:53:27 +02:00
Marco Pesenti Gritti
0d4d74b94f Hookup the new invites implementation. Need to fix
the frame view since that's bitrotten.
2007-08-31 12:43:10 +02:00
Dan Winship
56d8e5e748 Don't use gtk.get_current_event_time() as the timestamp for window.activate()
gtk.get_current_event_time() will return 0 if there's no "current
event" (which will happen if this is invoked from a SugarKeyGrabber
callback, because that intercepts events below the gtk level). And
libwnck will g_warn if we pass "0" to window.activate(). Since
matchbox doesn't look at the timestamp anyway, it's simplest to just
always pass "1" there.

(Needed for part of #2159)
2007-08-06 09:25:42 -04:00
Marco Pesenti Gritti
ddecddcb42 Remove unused methods from the activity services. Cleanups. 2007-07-03 20:55:46 +02:00
Marco Pesenti Gritti
8505a18652 Fix copyright year 2007-06-24 14:45:05 +02:00
Dan Williams
66bbe56df9 Ignore reply from share() (hack to quiet traceback, but unused anyway) 2007-04-13 16:58:12 -04:00
Dan Williams
3eeec9bf07 Remove references to obsolete p2p.Stream classes 2007-04-09 15:07:40 -04:00
Marco Pesenti Gritti
09304e8e5a Accept raw X windows in the shell 2007-04-08 19:20:59 +02:00
Dan Williams
9c0e0783db Fix execute command when using the new dbus-python 2007-04-06 10:27:14 -04:00
Marco Pesenti Gritti
bf805bfa2f Disable the presence service. You can reenable it by just
changing the _ENABLE var to True.
2007-03-28 12:17:34 +02:00
Marco Pesenti Gritti
1037fe6ca4 Disable invites 2007-03-28 11:58:47 +02:00
Marco Pesenti Gritti
b6a1445573 Kill a lot of old old unused code 2007-03-28 11:40:22 +02:00
Marco Pesenti Gritti
f5b13b716e Do not expose the service names from Activity.
This create quite a bit of duplication, but I have to start somewhere cleaning this mess :/
2007-02-21 17:28:49 +01:00
Dan Williams
de2cfecf92 Use screenshot for overlay window background
Instead of requiring a compositing manager for the transparent background
of the OverlayWindow, take a screenshot and use that instead.
2007-01-31 11:31:52 -05:00
Dan Williams
1ef693572f Respect return value from 'execute' 2007-01-05 12:25:21 -05:00
Marco Pesenti Gritti
0d1e07d9c3 Split ActivityHost in model/view. Refactor accordingly. 2006-12-24 14:35:02 +01:00
Marco Pesenti Gritti
5623c8a3b1 Change the Activity execute method to add a result boolean (handle/not handled).
When the camera key is pressed the Shell send and command to the active activity,
if that's not handled than it startup org.laptop.CameraActivity.
2006-12-21 12:37:02 +01:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
518d2d61d0 Remove unused old registry code 2006-12-01 23:09:02 +01:00
Marco Pesenti Gritti
b5b9d9d5f1 Remove more old activities code 2006-12-01 22:33:00 +01:00
Marco Pesenti Gritti
cb285aba06 Get running activities to work. Still hacky. 2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
cd29967c2e Refactor a bit to keep host independent from the shell 2006-10-19 15:22:42 +02:00
Marco Pesenti Gritti
cf13a7ff5b Unregister the chat service on destroy. 2006-10-19 14:51:13 +02:00
Marco Pesenti Gritti
bc0ee6d34c Refactor startup. In progress, give me a couple hours.
For now start sugar with "sugar-emulator shell/sugar-shell"
2006-10-16 13:34:43 +02:00
Marco Pesenti Gritti
43bd44b407 Add GPL headers 2006-10-15 01:24:45 +02:00
Marco Pesenti Gritti
1f8ff1db1f Move all the canvas code that doesn't depend on goocanvas anymore in graphics. 2006-10-04 00:55:20 +02:00
Dan Williams
72562502b9 Add composited overlay window underneath chat 2006-09-29 13:35:48 -04:00
Dan Williams
ba05afdc53 Activate chat service when activity gets shared 2006-09-28 17:08:42 -04:00
Dan Williams
5db9888666 Set default chat window size 2006-09-28 17:00:03 -04:00
Dan Williams
a55242d798 Center chat window, and give it a frame 2006-09-28 16:20:48 -04:00
Dan Williams
e2225c443f Initialize _frame_was_visible, and move signal connections lower 2006-09-28 16:13:48 -04:00
Dan Williams
ef539c50d9 Fix frame behavior on chat; when we show the chat remember previous frame state and return to it when we hide chat 2006-09-28 16:12:07 -04:00
Dan Williams
5a6a0d2d7d Start making activity chat work; hit F9 to activate 2006-09-28 15:52:56 -04:00
Marco Pesenti Gritti
180c65e81c Implement close button for the activity.
Some fixes.
2006-09-18 11:56:53 +02:00
Marco Pesenti Gritti
465253d95e Initial implementation of the activity menu 2006-09-16 20:35:03 +02:00
Marco Pesenti Gritti
bcc1740f7f Move the view to his own module 2006-09-15 13:23:21 +02:00