Commit Graph

487 Commits

Author SHA1 Message Date
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
Dan Williams
d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -04: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
Dan Williams
922b7238b9 Merge 2006-09-15 16:50:06 -04:00
Dan Williams
b39eff3365 Refcount tracked service types; ensure only the process that registers a service can change it; add support for updated service properties/published values 2006-09-15 16:41:11 -04:00
Marco Pesenti Gritti
e79a5f5e98 Really fix invites 2006-09-15 16:19:56 +02:00
Marco Pesenti Gritti
fe64b7c6d4 Fix invites 2006-09-15 16:04:30 +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
5f99dcf9a5 Move the presence service out of the shell 2006-09-15 13:54:16 +02:00
Marco Pesenti Gritti
bcc1740f7f Move the view to his own module 2006-09-15 13:23:21 +02:00
Marco Pesenti Gritti
ca19f0f251 Move the model to his own module 2006-09-15 12:52:37 +02:00
Marco Pesenti Gritti
14383f4fc7 Forgot to add the model 2006-09-15 12:40:46 +02:00
Marco Pesenti Gritti
645aa93e50 Split shell in model/view, cleanup things a lot 2006-09-15 12:40:22 +02:00
Marco Pesenti Gritti
0232dc73b5 Remove unused code 2006-09-15 11:49:04 +02:00
Marco Pesenti Gritti
207f643d38 Typo 2006-09-15 03:33:09 +02:00
Marco Pesenti Gritti
3a10f80aa1 A bunch of cleanups and fixes 2006-09-15 02:54:25 +02:00
Marco Pesenti Gritti
40ac396055 Fix small bugs in the grid logic 2006-09-15 01:56:59 +02:00
Marco Pesenti Gritti
ae9adff40b Cleanup 2006-09-15 01:30:37 +02:00
Marco Pesenti Gritti
3fc81ae945 Add a popup shell which ensure only one popup is active at
the same time.
2006-09-15 01:01:26 +02:00
Marco Pesenti Gritti
fd92a6d7d9 Improve popup/popdown logic 2006-09-15 00:34:42 +02:00
Marco Pesenti Gritti
3ee23b3a92 Keep popups out of the frame 2006-09-14 21:15:48 +02:00
Marco Pesenti Gritti
8265e29cdf Use FriendIcon in the frame 2006-09-14 20:52:21 +02:00
Marco Pesenti Gritti
3a4f8da5ce Factor out friend icon 2006-09-14 19:37:40 +02:00
Marco Pesenti Gritti
c36089522b s/BuddyPopup/FriendPopup 2006-09-14 15:21:36 +02:00
Marco Pesenti Gritti
2a6d2139ad Move popup menu handling in the icon 2006-09-14 15:12:34 +02:00
Marco Pesenti Gritti
3b41f1248a More layout fixes 2006-09-14 15:07:22 +02:00
Marco Pesenti Gritti
d053a7f219 Make the popup logic more solid 2006-09-14 14:24:14 +02:00
Marco Pesenti Gritti
fe69dec4ad Implement popup menu for friends 2006-09-14 13:03:11 +02:00
Marco Pesenti Gritti
8f6baf6239 Skeleton theme test 2006-09-13 16:26:54 +02:00
Marco Pesenti Gritti
016891ec9a Get rid of old grid implementation leftovers 2006-09-13 13:53:27 +02:00
Marco Pesenti Gritti
857b9cb659 Rewrite of the grid stuff. Simpler api and cleaner implementation.
Also follow the micro grids in pentagram design.
2006-09-13 13:50:00 +02:00
Dan Williams
7fc7656f78 Fix dead code error 2006-09-12 14:22:06 -04:00
Dan Williams
1853ea3a3e Fix traceback in logging print 2006-09-12 14:04:35 -04:00
Dan Williams
8c58dcd540 spacing cleanups; refactor service addition so that service address checks aren't done for owner 2006-09-12 12:58:24 -04:00
Dan Williams
bf035f3685 Cosmetic spacing fix 2006-09-12 12:48:32 -04:00
Dan Williams
13cca4606f Merge fix 2006-09-12 12:37:23 -04:00
Dan Williams
f205e8c67b Rework PS owner service handling to use avahi flags for local services 2006-09-12 12:36:24 -04:00
Marco Pesenti Gritti
8ebb57d985 I messed up... back to actually remove the service 2006-09-12 13:26:51 +02:00
Marco Pesenti Gritti
53f7cc1f34 Cleanup browser model service on destroy.
Remove the activity service even if the owner is gone.
2006-09-12 13:21:18 +02:00
Marco Pesenti Gritti
d65e8b88e7 Handle activity removal and cleanup a bit 2006-09-12 12:19:20 +02:00
Marco Pesenti Gritti
4ae80802ce Add some more error log messages 2006-09-11 16:00:24 +02:00
Marco Pesenti Gritti
6a90ef11d3 Export the color in the env and initialize the buddy with it 2006-09-11 15:18:57 +02:00
Marco Pesenti Gritti
47cc58b1e6 Make part of the session public so that it can used by tests 2006-09-10 02:35:53 +02:00
Marco Pesenti Gritti
62674bbd91 Use a notebook to work around goocanvas bugs :/ 2006-09-10 01:33:34 +02:00
Marco Pesenti Gritti
6296a4db9e Remove some unused imports 2006-09-09 18:29:07 +02:00
Marco Pesenti Gritti
1cc21aa7cf Remove invites when accepted 2006-09-09 14:37:11 +02:00
Marco Pesenti Gritti
9d4911d1e3 Insert the invites before the activities 2006-09-09 14:11:24 +02:00
Marco Pesenti Gritti
4cca5dc9ff Use stock-missing when there is no activity icon 2006-09-09 13:25:56 +02:00
Marco Pesenti Gritti
678cab55f9 Implement a simple box group and use it for the dynamic panels 2006-09-09 11:43:52 +02:00
Marco Pesenti Gritti
dd9e09ab1c More cleanups, show my icon at the center of the screen 2006-09-09 02:34:47 +02:00
Marco Pesenti Gritti
665f83d7ef Use the colors in the new design 2006-09-09 02:08:00 +02:00
Marco Pesenti Gritti
695fb7e1c5 Fix up dimensions 2006-09-09 02:05:00 +02:00
Marco Pesenti Gritti
5fc7e1137d Fix makefile 2006-09-09 01:55:25 +02:00
Marco Pesenti Gritti
41b528284c Use CanvasView, rework to the new design, cleanup code a lot 2006-09-09 01:54:44 +02:00
Marco Pesenti Gritti
7232f0e0ea Check there is actually a current activity before getting his id 2006-09-08 18:23:16 +02:00
Marco Pesenti Gritti
bfb09abf7d Fixup friends positioning and cleanup the code 2006-09-08 18:12:08 +02:00
Marco Pesenti Gritti
f4d8e538f4 Use has_key to check environ var 2006-09-08 18:03:40 +02:00
Marco Pesenti Gritti
bfe4922808 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-08 18:02:01 +02:00
Dan Williams
6e558713ff Add environment variable to control dbus monitor 2006-09-08 11:47:02 -04:00
Marco Pesenti Gritti
03aa335661 Fix friends colors 2006-09-08 16:27:17 +02:00
Marco Pesenti Gritti
233051875b Bring around both colors, since multiple combinations can have
the same base color.
2006-09-08 15:09:10 +02:00
Marco Pesenti Gritti
8d27527fd9 Integrate new colors table 2006-09-08 13:53:55 +02:00
Marco Pesenti Gritti
7abb2f7387 Remove buddies when they leave 2006-09-08 12:23:33 +02:00
Marco Pesenti Gritti
4e8278d4a6 Implement clear 2006-09-08 12:15:50 +02:00
Marco Pesenti Gritti
188edf560a Correct buddies placement 2006-09-08 11:35:28 +02:00
Marco Pesenti Gritti
10f3c1bc92 More fixes 2006-09-08 10:38:45 +02:00
Dan Williams
e2306d81bd Add PropertyChanged signal for Buddy objects because color and address can change later. Also don't try to stuff None through dbus 2006-09-07 23:30:22 -04:00
Dan Williams
4c167037d4 Add Owner to buddy list 2006-09-07 23:29:28 -04:00
Dan Williams
45e37349d2 Add dbus-monitor service, but disable to reduce spew 2006-09-07 23:28:01 -04:00
Marco Pesenti Gritti
e56954cf48 Create with correct grid size 2006-09-08 02:51:10 +02:00
Marco Pesenti Gritti
6bbb20c4c7 Add padding in the constraints constructor 2006-09-08 02:20:11 +02:00
Marco Pesenti Gritti
d58936869f Bugfixes 2006-09-08 01:54:52 +02:00
Marco Pesenti Gritti
d8d80854d6 Fix up the right panel, unfinished 2006-09-08 01:13:42 +02:00
Marco Pesenti Gritti
d51a00eaec Get the top panel back 2006-09-08 00:51:45 +02:00
Marco Pesenti Gritti
7850970f27 Make the frame adapt to screen size again.
Several cleanups.
Fixup makefiles
2006-09-07 19:51:27 +02:00
Marco Pesenti Gritti
5988a89517 Write a GridModel, with correct size and layout, and use it 2006-09-07 19:03:40 +02:00
Marco Pesenti Gritti
21b19924ea Implement the grid, regress UI a bit 2006-09-07 15:11:51 +02:00
Dan Williams
ef254ce128 Create placeholder Owner object when PS starts, fill in services later 2006-09-06 10:16:49 -04:00
Marco Pesenti Gritti
f40485aad4 Handle F6 in sugar 2006-09-04 22:37:17 +02:00
Marco Pesenti Gritti
693b14f3c9 Some makefile fixes 2006-09-04 22:20:13 +02:00
Marco Pesenti Gritti
b9cc263d75 Cleanup and startup the wm before first time dialog 2006-09-04 21:49:58 +02:00
Marco Pesenti Gritti
01c4658ee0 Make conf private, expose the nick name from env 2006-09-04 21:34:54 +02:00
Marco Pesenti Gritti
995c74b116 Sort of functional invites implementation 2006-09-04 17:00:45 +02:00
Marco Pesenti Gritti
cdbd4e28b4 Start implementing invites... 2006-09-04 14:30:44 +02:00
Marco Pesenti Gritti
73b793472c fix the problem with registering services with the same stype inside different activities. 2006-09-04 13:32:31 +02:00
Marco Pesenti Gritti
58a79eb123 Get rid of default type from the activity definition.
Modify code to use activity type id instead, except
from mapping service to activity.
2006-09-02 10:54:34 +02:00
Marco Pesenti Gritti
8ffff18bc3 Correct installation path 2006-09-01 21:06:34 +02:00
Marco Pesenti Gritti
bcfe526a85 Disconnect the signals from the right object 2006-09-01 18:59:14 +02:00
Marco Pesenti Gritti
e6b839f202 Fix logic 2006-09-01 18:38:23 +02:00
Marco Pesenti Gritti
b15fb5ad50 Cleanups 2006-09-01 15:33:55 +02:00
Marco Pesenti Gritti
a6f9241e95 Refactor frame stuff naming some 2006-09-01 15:11:52 +02:00
Marco Pesenti Gritti
0ae39c93e7 Reimplement the icon item to render svg directly.
Some regressions sorry, need also to fix pygoocanvas...
2006-08-31 22:29:31 +02:00
Marco Pesenti Gritti
110d1bf8ce No more need to keep zoom level in the shell. Work around
redrawing issue.
2006-08-31 17:58:18 +02:00
Marco Pesenti Gritti
26c50e3b3d Panels doesn't take focus 2006-08-31 10:10:45 +02:00
Marco Pesenti Gritti
590608b19b Missing service getter 2006-08-30 13:14:37 +02:00
Marco Pesenti Gritti
77e689f21b Persist the friends list 2006-08-30 13:04:12 +02:00
Marco Pesenti Gritti
030ba2b56d Clicking on the friend icon in the frame add it to friends. 2006-08-30 12:22:01 +02:00
Marco Pesenti Gritti
6865148c90 More refactoring. Start implementing friends. 2006-08-30 11:46:14 +02:00
Marco Pesenti Gritti
028d22cdd7 More refactoring of the home implementation 2006-08-30 11:15:21 +02:00
Marco Pesenti Gritti
adb269709c Remove obsolete import 2006-08-30 10:55:57 +02:00
Marco Pesenti Gritti
cd0b794879 Simplify overdesigned Mesh view impl 2006-08-30 10:54:28 +02:00
Dan Williams
aea10ae900 Fix array signature for mdns call properties 2006-08-29 16:52:55 -04:00
Marco Pesenti Gritti
47af6a7b9d FIx makefile 2006-08-29 17:28:44 +02:00
Marco Pesenti Gritti
fa8ad92322 Take icon size and borders into account 2006-08-29 17:18:16 +02:00
Marco Pesenti Gritti
fddc1f56af Cleanup code a bit, fix redraw issue on startup 2006-08-29 17:12:39 +02:00
Marco Pesenti Gritti
f496a2f543 Kill unused code 2006-08-29 16:47:36 +02:00
Marco Pesenti Gritti
fcc06834bc Hook up activity activation 2006-08-29 16:29:56 +02:00
Marco Pesenti Gritti
19178464fb Hook up opening shared activity again 2006-08-29 16:17:00 +02:00
Marco Pesenti Gritti
8722255b17 Add some simple layout logic for the icons 2006-08-29 16:07:23 +02:00
Marco Pesenti Gritti
db4553184e Bigger angles radius 2006-08-29 14:47:33 +02:00
Marco Pesenti Gritti
f597375aff Improved zoom model 2006-08-29 14:39:34 +02:00
Marco Pesenti Gritti
a29230c183 Rewrite the zoom logic. Regress some stuff... will fix. 2006-08-29 11:48:20 +02:00
Marco Pesenti Gritti
f75d36055f As suggested by Eben, do not autohide the frame and show
it for 10 seconds at startup.
2006-08-29 00:30:19 +02:00
Marco Pesenti Gritti
3ac947391c Fix nast bug, don't construct multiple times! 2006-08-29 00:18:35 +02:00
Marco Pesenti Gritti
95be6c3e42 Fix some bugs, make it more solid, update on share. 2006-08-28 23:03:01 +02:00
Marco Pesenti Gritti
c630a8b11e Fix up sizing removing the work around for mb. mb should
be fixed soon (and latest svn is screwed anyway)
2006-08-28 21:52:02 +02:00
Marco Pesenti Gritti
7d6452f17a Complete presence list implementation 2006-08-28 21:38:36 +02:00
Marco Pesenti Gritti
4dbf80369b Start implementing presence on the friends panel 2006-08-28 18:40:41 +02:00
Marco Pesenti Gritti
7d01cee2ef Activate/deactivate the frame on F5 2006-08-28 16:53:29 +02:00
Marco Pesenti Gritti
3f4625f0a1 Get rid of the contextual chat. 2006-08-28 15:22:52 +02:00
Marco Pesenti Gritti
7af2ea5bbd Fix donut activity icon, implement share 2006-08-28 15:10:31 +02:00
Marco Pesenti Gritti
8d26a76a88 Add the actions buttons on the friends panel 2006-08-28 14:58:21 +02:00
Marco Pesenti Gritti
b6cf5ef31e Get the zoom level buttons to work 2006-08-28 14:36:48 +02:00
Marco Pesenti Gritti
a0127aa4df Add the top panel, unfinished. 2006-08-28 14:04:51 +02:00
Marco Pesenti Gritti
766f9d6e68 Use gproperties in IconItem, make the color optional 2006-08-28 12:44:46 +02:00
Marco Pesenti Gritti
22e290332e Remove buddies when they disappear. The canvas model / data model
separation makes this more complicated than I'd like. Maybe
it's worth to merge the two levels, I dunno.
2006-08-26 14:59:19 +02:00
Marco Pesenti Gritti
83bbe54bc8 Hook up activity colors 2006-08-26 14:17:55 +02:00
Marco Pesenti Gritti
93d489741d Automatically read the profile (lazily) 2006-08-26 13:35:03 +02:00
Marco Pesenti Gritti
a7c552c038 Get rid of env.get_nick_name, that comes from the profile now 2006-08-26 13:03:06 +02:00
Marco Pesenti Gritti
508ab2af25 Move DonutItem out of public api 2006-08-26 11:47:02 +02:00
Dan Williams
93a97660b4 Remove obsolete gtk import and code and save 1.7MiB writeable. Whee\! 2006-08-25 16:09:54 -04:00
Dan Williams
ef47f6e4c5 Fix buddy & activity visibility leaks if they are not yet valid; add Activity color attribute and don't make activity valid until we get the color 2006-08-25 14:55:19 -04:00