Commit Graph

665 Commits

Author SHA1 Message Date
Dan Williams
4a09253f5f Add initial activities & protect against addition/removal of buddies we don't know about 2006-10-19 15:06:01 -04:00
Marco Pesenti Gritti
4f81f305b2 Fix a race in the spread box. Adapt to api change. 2006-10-19 16:49:53 +02:00
Marco Pesenti Gritti
62659e2806 Show the share button only when the activity is not shared 2006-10-19 15:44:00 +02: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
3d3ef947e1 Fix method naming conflict 2006-10-19 12:55:25 +02:00
Marco Pesenti Gritti
fafa1ae35e Refactor stylsheets code a bit to load the global stylsheet
for all modules.
Implement the links sidebar per discussion with Eben.
2006-10-19 11:54:51 +02:00
Marco Pesenti Gritti
6c375a20f3 Center the icon in the allocation space 2006-10-18 19:41:34 +02:00
Marco Pesenti Gritti
f3fbea70a3 Rework menu positioning logic 2006-10-18 17:57:41 +02:00
Marco Pesenti Gritti
54dcb672e5 Move the menu positioning code inside menu shell and
unify it.
2006-10-18 16:23:06 +02:00
Marco Pesenti Gritti
37e1bf6100 When showing the frame automatically hide it on leave, otherwise
it gets annoying.
2006-10-18 00:57:05 +02:00
Marco Pesenti Gritti
03bca10376 Listen also to enter event for frame activation. This makes
mouse activation actually reliable.
2006-10-18 00:44:23 +02:00
Marco Pesenti Gritti
87458b63f5 Fix 2006-10-16 20:59:59 +02:00
Marco Pesenti Gritti
1803ab1a88 Handle icon removal, better alignment 2006-10-16 20:42:39 +02:00
Marco Pesenti Gritti
528dc5a046 Forgot to add these 2006-10-16 18:43:31 +02:00
Marco Pesenti Gritti
5e503f77d1 Get the tray icon to sort of work. 2006-10-16 18:43:04 +02:00
Dan Williams
8b46b55e80 Remove dead file from makefile 2006-10-16 10:37:46 -04:00
Marco Pesenti Gritti
69647f75b7 Remove more bits of the old console 2006-10-16 16:04:14 +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
62fd4dcd89 Basic functionalities mostly working 2006-10-13 19:04:04 +02:00
Marco Pesenti Gritti
62a46ff92b Create a private sugar lib and put our extensions there. 2006-10-12 12:47:17 +02:00
Marco Pesenti Gritti
8c3ac8960f Spread box cleanups and fixes 2006-10-07 14:33:08 +02:00
Marco Pesenti Gritti
b33a1c141f Move the layouts to be box and subclass them. 2006-10-06 11:11:38 +02:00
Marco Pesenti Gritti
4b36f84c30 Fix several makefiles, use olpc theme for matchbox 2006-10-05 19:48:12 +02:00
Marco Pesenti Gritti
1b0e469dbd More work on the views layout 2006-10-05 18:53:34 +02:00
Marco Pesenti Gritti
0533d1ffd6 Rewrite for hippo 2006-10-05 17:46:36 +02:00
Marco Pesenti Gritti
6479962ca7 Get back presence list to work 2006-10-05 17:09:38 +02:00
Marco Pesenti Gritti
847f69fce7 More stylification 2006-10-05 16:29:55 +02:00
Marco Pesenti Gritti
0bd96b3987 More stylsheets work 2006-10-05 14:52:33 +02:00
Marco Pesenti Gritti
250060b7f8 Remove several hardcoded sizes, substitute them with stylesheets. 2006-10-05 14:38:37 +02:00
Marco Pesenti Gritti
b3abf30dec Improve stylesheet loading 2006-10-05 13:26:02 +02:00
Marco Pesenti Gritti
5da630c13a Kill unused code, fix makefiles 2006-10-04 15:37:53 +02:00
Marco Pesenti Gritti
62ee1df83c Complete the de-goocanvasification 2006-10-04 15:26:41 +02:00
Marco Pesenti Gritti
72a4aa6fe2 Reimplement the donut using hippo canvas 2006-10-04 14:23:15 +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
Marco Pesenti Gritti
717bdd66f4 Get rid of the old Grid and CanvasBox 2006-10-04 00:25:03 +02:00
Marco Pesenti Gritti
0cd31b900a Move the menu to hippo canvas 2006-10-03 18:52:11 +02:00
Marco Pesenti Gritti
8f9f473073 Fix makefiles 2006-10-03 17:12:34 +02:00
Marco Pesenti Gritti
75b86618de Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-10-03 16:34:14 +02:00
Marco Pesenti Gritti
e14aa30f07 Port mesh and friends view to hippo, needs work 2006-10-03 16:31:32 +02:00
Dan Williams
88da2c7e2d Update makefile 2006-10-02 15:41:44 -04:00
Marco Pesenti Gritti
a951b36347 Reimplement menu using hippo and hook it up for the
activity menu.
2006-10-02 16:37:30 +02:00
Marco Pesenti Gritti
0a912e214a Start moving to hippo canvas. (Friends presence in the activity regressed) 2006-10-02 01:50:43 +02:00
Dan Williams
ca56406aa4 Add OverlayWindow to makefile 2006-09-29 16:46:12 -04: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
a91738d3a9 Default values for args for do_slide_in and do_slide_out, and add is_visisble() 2006-09-28 16:11:29 -04:00
Dan Williams
5a6a0d2d7d Start making activity chat work; hit F9 to activate 2006-09-28 15:52:56 -04:00
Dan Williams
ddef3947d4 Import gobject 2006-09-28 14:45:32 -04:00
Dan Williams
71b0e7c3a9 Don't traceback on unknown image formats 2006-09-27 14:27:17 -04:00
Marco Pesenti Gritti
7443ee4c8b Don't allow empty nick names and if it happens consider
the profile invalid.
2006-09-26 22:52:45 +02:00
Marco Pesenti Gritti
92e37fd904 Fix add and remove friends 2006-09-26 19:49:41 +02:00
Marco Pesenti Gritti
c8fd8ef3d9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-26 19:37:43 +02:00
Dan Williams
ba21a36ef8 Correctly deal with current activities on startup, buddy presence changes, and current activity changes 2006-09-26 13:40:52 -04:00
Marco Pesenti Gritti
4975e94a84 Update some icon names 2006-09-26 19:35:58 +02:00
Marco Pesenti Gritti
fa31b7c0bd Align to the center of the icon 2006-09-25 22:06:45 +02:00
Marco Pesenti Gritti
5b3eeb0a9c Keep the icon layout updated when adding buddies to the snow flake 2006-09-25 22:01:35 +02:00
Marco Pesenti Gritti
9619921735 Image layout fixes 2006-09-25 21:35:25 +02:00
Dan Williams
ef24aa7553 Scale the icon to a paritcular size 2006-09-25 15:36:40 -04:00
Dan Williams
6e28f4467d Add buddy icon to the buddy menu 2006-09-25 15:20:28 -04:00
Marco Pesenti Gritti
57992d3fb4 Handle None current activity case 2006-09-25 19:41:08 +02:00
Marco Pesenti Gritti
2ad9696c87 Adapt to BuddyModel constructor change 2006-09-25 19:15:23 +02:00
Marco Pesenti Gritti
d63180c4f4 Some fixes 2006-09-25 18:55:35 +02:00
Marco Pesenti Gritti
59add6e901 More work on the mesh view 2006-09-25 18:38:01 +02:00
Marco Pesenti Gritti
2ee61e4475 Show activities again 2006-09-25 16:40:15 +02:00
Marco Pesenti Gritti
e31bcc76b3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 16:01:29 +02:00
Marco Pesenti Gritti
56229aad36 Write a mesh model and start using it in the mesh view 2006-09-25 16:01:11 +02:00
Dan Williams
9fa9bd9583 Add BuddyActivityView.py to makefile 2006-09-25 09:25:44 -04:00
Marco Pesenti Gritti
1070ed3ae6 Better layout 2006-09-25 11:42:13 +02:00
Marco Pesenti Gritti
d5f8d62d35 Add size request to BuddyActivityView and use it in IconLayout 2006-09-25 11:35:30 +02:00
Dan Williams
3e4c8cabc7 Switch to BuddyActivityView to show current activity 2006-09-24 23:15:53 -04:00
Marco Pesenti Gritti
bcd150fa81 Implement very simple spread out logic for the IconLayout 2006-09-25 00:08:33 +02:00
Marco Pesenti Gritti
3f73da0549 Some cleanups of the IconLayout 2006-09-24 22:55:13 +02:00
Dan Williams
e92548df5c Use the new BuddyModel color-changed signal 2006-09-22 17:37:41 -04:00
Dan Williams
188394f09f - Track BuddyModel appeared/disappeared signals, and update our icon colors accordingly
- s/friend/buddy since BuddyModel isn't just for friends
2006-09-22 17:24:56 -04:00
Marco Pesenti Gritti
a2489b49d4 Fix a few bugs 2006-09-22 21:49:59 +02:00
Marco Pesenti Gritti
f2b2b8c6ba Fix friends removal 2006-09-22 21:36:52 +02:00
Marco Pesenti Gritti
17913d20b8 Increase zoom view icon sizes 2006-09-22 21:29:48 +02:00
Marco Pesenti Gritti
4a1995af8d Play with sizes a bit 2006-09-22 15:06:43 +02:00
Marco Pesenti Gritti
d8c61d271a Convert to the new icon format 2006-09-22 14:32:07 +02:00
Marco Pesenti Gritti
2d8c9a3310 Implement activation modes. Do not hide when sticky because
activated by single frame key press.
2006-09-22 11:14:33 +02:00
Marco Pesenti Gritti
5e55efe9d5 Get icon size from the handle. Remove the padding from
the zoom view icons and reorder them.
2006-09-22 10:55:10 +02:00
Dan Williams
f9012b88f6 Move remove code down to fix undefined var error 2006-09-21 13:52:17 -04:00
Marco Pesenti Gritti
66124465e8 Do not show the frame when leaving the edge before the time 2006-09-21 18:04:37 +02:00
Marco Pesenti Gritti
af54df80ec Handle closing all activities correctly 2006-09-21 15:16:36 +02:00
Marco Pesenti Gritti
229793e9f0 Adapt to API change 2006-09-21 15:02:46 +02:00
Marco Pesenti Gritti
3c64b65829 Drop color schemes per design change 2006-09-21 15:00:59 +02:00
Marco Pesenti Gritti
a054eb3a4b Implement the frame mouse activation logic.
Some fixes in the Timeline
2006-09-21 14:45:36 +02:00
Marco Pesenti Gritti
446a58d52c Simple timeline API.
Use it to implement the frame key logic.
2006-09-21 14:08:10 +02:00
Marco Pesenti Gritti
09db49cc18 s/BuddyInfo/BuddyModel 2006-09-20 12:27:38 +02:00
Marco Pesenti Gritti
ec0debdb30 Do not hide the frame if menushell is active. 2006-09-19 14:43:42 +02:00
Marco Pesenti Gritti
9ff192d0b3 Use a different menu shell for the zoom view and the frame 2006-09-19 14:04:11 +02:00
Marco Pesenti Gritti
f5ef5d8c94 Show/hide the frame on mouse motion, needs work 2006-09-18 16:51:21 +02:00
Marco Pesenti Gritti
180c65e81c Implement close button for the activity.
Some fixes.
2006-09-18 11:56:53 +02:00
Marco Pesenti Gritti
1f3187e0b5 Cleanup shell model/view separation 2006-09-18 11:48:33 +02:00
Marco Pesenti Gritti
89e2f5be91 Rework menu positioning. Cleanups. 2006-09-17 01:05:59 +02:00
Marco Pesenti Gritti
edba3e0082 Implement menu color scheme and fixup colors 2006-09-16 20:48:27 +02:00
Marco Pesenti Gritti
465253d95e Initial implementation of the activity menu 2006-09-16 20:35:03 +02:00
Marco Pesenti Gritti
d9fc47ca01 s/BuddyPopup/BuddyMenu 2006-09-16 15:43:07 +02:00
Marco Pesenti Gritti
a1d2b993c0 Generic menu 2006-09-16 15:36:39 +02:00
Marco Pesenti Gritti
8dbdda5384 Move all the popup logic from IconItem to MenuIcon 2006-09-16 15:01:38 +02:00
Marco Pesenti Gritti
7c91b1c49f Factor out to a generic icon with menu 2006-09-16 14:45:09 +02:00
Marco Pesenti Gritti
956b663409 Do not show invite if there is no active activity 2006-09-16 11:00:46 +02:00
Marco Pesenti Gritti
11a013aff2 For the owner show only nick name 2006-09-16 10:46:10 +02:00
Marco Pesenti Gritti
a2655faa7d Fix makefiles 2006-09-15 15:35:20 +02:00
Marco Pesenti Gritti
7b37c4d38b Fix opening new activities 2006-09-15 15:30:46 +02:00
Marco Pesenti Gritti
f2f25f874d Implement friends removal, lots of cleanups 2006-09-15 15:28:18 +02:00
Marco Pesenti Gritti
16574cbfcc s/FriendIcon/BuddyIcon since that is generic now 2006-09-15 14:41:56 +02:00
Marco Pesenti Gritti
844216585a Pass around the shell so that groups can reuse the grid 2006-09-15 14:24:26 +02:00
Marco Pesenti Gritti
bcc1740f7f Move the view to his own module 2006-09-15 13:23:21 +02:00