Commit Graph

1328 Commits

Author SHA1 Message Date
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
Marco Pesenti Gritti
6b232d97d8 Rework profiles code a bit, initialize gecko profile 2006-08-25 20:12:52 +02:00
Dan Williams
ba3d5fce8c Don't traceback when buddies have bad colors 2006-08-25 12:11:25 -04:00
Marco Pesenti Gritti
8ac55c287e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-08-25 17:44:45 +02:00
Marco Pesenti Gritti
cbfb10d020 Keep a reference on the key grabber 2006-08-25 17:44:07 +02:00
Dan Williams
f0a4459103 Don't die when an activity doesn't have an icon 2006-08-25 11:24:39 -04:00
Marco Pesenti Gritti
7646366553 Keep the bindings private 2006-08-25 14:39:58 +02:00
Marco Pesenti Gritti
760651e3d7 Scale the home canvases to actual screen size 2006-08-25 14:08:39 +02:00
Marco Pesenti Gritti
6e920265ad Complete the keybindings stuff and use it for the home page 2006-08-25 14:03:48 +02:00
Marco Pesenti Gritti
4425e14f13 More work on global keybindings 2006-08-25 12:28:52 +02:00
Marco Pesenti Gritti
05061c5e3d Use the actual buddy color 2006-08-25 00:49:39 +02:00
Dan Williams
d2c0829165 Don't traceback when somebody doesn't advertise their color 2006-08-24 11:09:53 -04:00
Marco Pesenti Gritti
3f50668494 Add color support to the profile 2006-08-23 21:03:17 +02:00
Dan Williams
c3d0ae0359 Add Theme.py to the makefile 2006-08-23 13:35:29 -04:00
Dan Williams
eef5e5b18a Convert PS bindings instantiation into a singleton to cut resource usage 2006-08-23 11:38:56 -04:00
Dan Williams
d334b6e3bd Add a color property and access to Buddy objects 2006-08-23 11:14:46 -04:00
Dan Williams
e366753ab0 Make theme color accessors more descriptive; add mesh view zoom rects 2006-08-23 10:41:12 -04:00
Dan Williams
4eb5a61276 Actually make theme object a singleton 2006-08-23 08:13:15 -04:00
Dan Williams
3b9d3daa3b Implent color theming for Friends view 2006-08-23 08:06:45 -04:00
Dan Williams
f3435bb914 Add simple theme support to pick up color themes in the Home Window 2006-08-23 07:09:10 -04:00
Marco Pesenti Gritti
f53af6af4c Start implementing the panels. 2006-08-23 11:52:18 +02:00
Marco Pesenti Gritti
9f674ef232 Add missing files 2006-08-22 16:18:49 +02:00
Marco Pesenti Gritti
bf8f1e30ad Forgot to add these 2006-08-22 16:15:52 +02:00
Marco Pesenti Gritti
511fec421f Simple profile support. First time dialog (ugly and only nick atm). 2006-08-22 16:15:34 +02:00
Marco Pesenti Gritti
3e51b086df Create a conf module. Move activity registry out of the shell
(should only be graphical) into it.
2006-08-22 14:01:53 +02:00
Marco Pesenti Gritti
49073039e9 Run the session dbus from the emulator. The olpc run his own. 2006-08-22 10:37:24 +02:00
Marco Pesenti Gritti
da80c91081 Enable sugar emulator only if SUGAR_EMULATOR=yes is set 2006-08-21 19:37:55 +02:00
Marco Pesenti Gritti
7d6adc55a3 Fixup distcheck, release 0.19 2006-08-21 15:59:40 +02:00
Marco Pesenti Gritti
c3b7a84cbc Use olpc matchbox theme 2006-08-20 12:10:12 +02:00
Marco Pesenti Gritti
5e00d939de Fix the zooming cycle 2006-08-19 14:42:14 +02:00
Marco Pesenti Gritti
a3f62ee68f Integrate Walter color values.
(Still not fully hooked up to buddies)
2006-08-19 14:27:56 +02:00
Marco Pesenti Gritti
32a368bdbb Adapt to the new artwork stylesheets 2006-08-19 13:39:13 +02:00
Marco Pesenti Gritti
58ddb555c4 Merge demo4 branch 2006-08-19 11:56:49 +02:00
Marco Pesenti Gritti
f8c4f0bd66 Skeleton group chat activity.
Fix positioning in the activity bar.
2006-08-19 11:54:41 +02:00
Marco Pesenti Gritti
5a2653bf1e Functional mesh view 2006-08-19 11:33:58 +02:00
Marco Pesenti Gritti
0d4acb6e78 Start implementing friends/mesh 2006-08-19 11:12:25 +02:00
Marco Pesenti Gritti
de65daf548 Implement zooming levels, actual view still empty 2006-08-19 02:00:04 +02:00
Marco Pesenti Gritti
24dae31a9d Starting to create the mesh view... 2006-08-19 01:29:42 +02:00
Marco Pesenti Gritti
e5eef2e183 Back out the 0.2 delay hack 2006-08-18 19:40:05 +02:00
Dan Williams
212b9a49da Don't do anything if there's no console 2006-08-17 14:49:04 -04:00
Dan Williams
4c923db7ea Add traceback support to the session too 2006-08-17 12:02:29 -04:00
Marco Pesenti Gritti
640fff5619 Handle activity closed by removing his piece from the donut. 2006-08-17 14:42:29 +02:00
Marco Pesenti Gritti
f65d23c440 Add icon for activity to the donut.
Add signals in the shell for window open/close and use them in the task view.
2006-08-17 14:23:52 +02:00
Marco Pesenti Gritti
10f356cb22 Add fg and bg circles, fill the paths 2006-08-17 13:16:48 +02:00
Marco Pesenti Gritti
fb829989c7 Get tasks adding to work 2006-08-17 12:09:45 +02:00
Marco Pesenti Gritti
e5ed8275a1 Some work on the donut... 2006-08-17 11:47:41 +02:00
Marco Pesenti Gritti
7990bc0d31 Get activity bar and activity creation to work 2006-08-17 10:32:59 +02:00
Dan Williams
ea3b66aa0f Fix bug in get_services; self._services.values() is a list of lists of services 2006-08-16 23:07:28 -04:00
Dan Williams
3b8dbb0836 Enable traceback debugging in the PS 2006-08-16 23:06:13 -04:00
Dan Williams
6530653636 Wait for PS to start again to fix race issues with activation 2006-08-16 23:02:06 -04:00
Marco Pesenti Gritti
dae3d2be2b Some work to implement the activity bar 2006-08-16 23:20:22 +02:00
Marco Pesenti Gritti
47f25f234e Home page background 2006-08-16 22:01:43 +02:00
Marco Pesenti Gritti
a963c33078 Change emulator resolution to 800x600.
Change canvas resolution to 1200x900, scale it down in the emulator.
2006-08-16 20:34:33 +02:00
Marco Pesenti Gritti
7dddefe229 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar into demo4 2006-08-16 19:55:34 +02:00
Marco Pesenti Gritti
115eefb4c2 Implement a canvas element that can draw svg icons
with different colors.
2006-08-16 19:55:13 +02:00
Dan Williams
9ad1fe62ae Don't allow PS to be started twice 2006-08-16 12:09:43 -04:00
Dan Williams
2a50bbd3ca Fix service unregistration; the service will get cleaned up when Avahi notices that it has gone away so we don't have to delete it ourselves 2006-08-16 11:15:59 -04:00
Marco Pesenti Gritti
1cfd208f7b Do not pass the timeout argument if we are using the in-process console 2006-08-16 00:30:50 +02:00
Marco Pesenti Gritti
fa90ec41aa Merge from master
Conflicts:

	shell/HomeWindow.py
2006-08-15 13:47:21 +02:00
Marco Pesenti Gritti
b1c7385204 Print traces also on stderr 2006-08-15 13:15:46 +02:00
Marco Pesenti Gritti
a6ef49b731 Make HomeWindow a canvas. Modify screen resolution to
match what Walter said.
2006-08-15 12:20:09 +02:00
Marco Pesenti Gritti
621e43563f Get rid of the initial implementation of Diana design since that's no more the plan. 2006-08-14 20:54:33 +02:00
Marco Pesenti Gritti
3d4330580c Factor out a queue from the handler and use it for exceptions too.
Send all messages in the same dbus call.
2006-08-14 12:18:58 +02:00
Marco Pesenti Gritti
8f5cd86cba Fix up .service installation 2006-08-14 01:07:40 +02:00
Marco Pesenti Gritti
6eb7117c25 Getting presence service logging to work.
Don't lose debug state when switching tab.
2006-08-13 02:57:12 +02:00
Marco Pesenti Gritti
c7c71d25a8 Use dbus activation to start the presence service 2006-08-13 00:28:38 +02:00
Marco Pesenti Gritti
e2e5bc0000 Install service files for the presence service 2006-08-13 00:06:52 +02:00
Marco Pesenti Gritti
bb60b8ad3e Cleanup environemnt setup 2006-08-12 23:35:52 +02:00
Marco Pesenti Gritti
d41c761e02 Simplify profile/nick name code. Use SUGAR_NICK_NAME env. 2006-08-12 21:34:06 +02:00
Marco Pesenti Gritti
2636bc63d0 Split the console service out of the shell, to remove dep 2006-08-12 16:19:47 +02:00
Marco Pesenti Gritti
0963329b47 Disable logging in the presence service, need to solve circular dep 2006-08-12 01:36:30 +02:00
Marco Pesenti Gritti
fc1aefc72c Use dbus-launch with the --exit-with-session. dbus not exiting still not fully solved. 2006-08-12 01:29:55 +02:00
Marco Pesenti Gritti
c5fb39875c Do not open multiple copies of the same activity 2006-08-12 00:29:32 +02:00
Marco Pesenti Gritti
9585330e43 Add a way to enable/disable displaying debug messages 2006-08-11 17:05:06 +02:00
Marco Pesenti Gritti
884eef4bd5 Show all activities output in the console, just
activate the tab for the current activity.
2006-08-11 15:21:11 +02:00
Marco Pesenti Gritti
628271959c Refactor the console stuff 2006-08-11 13:05:33 +02:00
Marco Pesenti Gritti
cb47f17b31 Move session stuff to his own package 2006-08-11 11:37:35 +02:00
Marco Pesenti Gritti
27456ff723 Remove the theme hacks. sugar-jhbuild set this up fine now. 2006-08-10 23:54:34 +02:00
Marco Pesenti Gritti
093a1981d5 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-08-10 00:57:08 +02:00
Marco Pesenti Gritti
9b12b11534 Get one-to-one chat back to work 2006-08-10 00:54:54 +02:00
Dan Williams
c095192d08 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-08-09 15:50:03 -04:00
Dan Williams
a3b81d5f0c Fix log message args 2006-08-09 15:49:50 -04:00
Marco Pesenti Gritti
f5587ac799 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-08-09 21:12:27 +02:00
Marco Pesenti Gritti
aae859f4d3 Load google as homepage. Some cleanups. 2006-08-09 21:09:24 +02:00
Dan Williams
ddddde54b1 Add ChatController.py to the makefile 2006-08-09 15:05:45 -04:00
Marco Pesenti Gritti
0dcaf314f7 Several fixes and cleanups 2006-08-09 18:29:33 +02:00
Marco Pesenti Gritti
95d9b7fe8e More work on the chat. Fix terminal api 2006-08-09 15:53:10 +02:00
Marco Pesenti Gritti
a9a65f42df Create the hosts when windows are displayed 2006-08-09 14:22:58 +02:00
Marco Pesenti Gritti
7db5479c5c It's not necessary to pass the default_type around anymore. 2006-08-09 13:01:47 +02:00
Marco Pesenti Gritti
7e85c5160e Setup the activity from the shell process, through dbus,
this simplifies things a lot...
2006-08-09 12:57:42 +02:00
Marco Pesenti Gritti
e4c4e866a5 Start refactoring to get back buddy chat to work... 2006-08-09 11:47:17 +02:00
Marco Pesenti Gritti
4d67407f6a Cleanups 2006-08-09 02:13:56 +02:00
Marco Pesenti Gritti
70485218c0 Split the factory to his own module 2006-08-09 02:02:34 +02:00
Marco Pesenti Gritti
7ab6da7278 Actually join the activity, check for duplicates in the model. 2006-08-09 01:50:35 +02:00
Marco Pesenti Gritti
c6d59fd7b4 Improve the activity api 2006-08-09 01:08:19 +02:00
Marco Pesenti Gritti
892c61e63a Publish and use title for the activities model 2006-08-08 12:08:16 +02:00
Marco Pesenti Gritti
2535a88645 Use the default service to get activity informations, instead
of Activity ps object.
2006-08-08 12:01:45 +02:00
Marco Pesenti Gritti
d919848324 Rework to not use protected API 2006-08-07 11:08:10 +02:00
Dan Williams
3117d454b9 add service unregistration 2006-08-02 10:27:09 -04:00
Marco Pesenti Gritti
2647b96433 Fix for dbus 0.61 2006-07-28 21:45:12 +02:00
Marco Pesenti Gritti
86bd6f50f0 Use dbus activation to launch factories. This breaks
p-to-p chat and ./sugar/activities. Will fix tomorrow.
2006-07-28 01:25:08 +02:00
Marco Pesenti Gritti
1d370ca8e5 Minor fixes 2006-07-27 10:35:59 +02:00
Marco Pesenti Gritti
d778d45b13 Load the current page when joining an active.
Get back page sharing to work.
2006-07-26 18:00:28 +02:00
Marco Pesenti Gritti
e1928878f9 Accidentally commented out console code... 2006-07-26 16:48:21 +02:00
Marco Pesenti Gritti
b4b4c13c90 Get one-to-one chat back to work 2006-07-26 16:45:40 +02:00
Marco Pesenti Gritti
51c08af67c Add back the ip check, ipv6 needs to be disabled in the avahi daemon
config for this to work though
2006-07-26 16:33:44 +02:00
Marco Pesenti Gritti
f5b1be244f Get private chat to show, not working yet 2006-07-26 15:38:54 +02:00
Marco Pesenti Gritti
fd6367007a Get chat to work again 2006-07-26 14:05:43 +02:00
Marco Pesenti Gritti
0947581a11 A bunch of fixes... 2006-07-26 12:57:54 +02:00
Marco Pesenti Gritti
57cc6a303c Some fixes, adapt the presence view to the new api 2006-07-26 11:44:54 +02:00
Dan Williams
4cf8e8de49 Disable Share button when activity is already shared 2006-07-26 00:19:05 -05:00
Dan Williams
cf35d9f374 Separate a service's address into source address and the service address, and explicitly set each when required 2006-07-26 00:14:09 -05:00
Dan Williams
164add907d Make shareActivity work 2006-07-25 19:04:15 -05:00
Dan Williams
e5065263a9 s/publish/share 2006-07-25 17:17:05 -05:00
Marco Pesenti Gritti
9e32bbba7a Import some missing dbus.glib imports 2006-07-25 23:00:45 +02:00
Marco Pesenti Gritti
1ef5c576c2 Do not use dbus_bindings for exceptions. Use dbus.exceptions. Thanks J5 to point it out. 2006-07-25 22:52:45 +02:00
Marco Pesenti Gritti
c094bbd8b5 Missing script 2006-07-25 18:28:51 +02:00
Dan Williams
2c790da716 Add debug logging support to the PresenceService 2006-07-24 11:48:19 -05:00
Dan Williams
7cc68303f9 Don't import gtk, just use gobject 2006-07-24 11:45:53 -05:00
Dan Williams
bfab84acc9 Poll for PS readiness rather than a hard wait time 2006-07-24 11:27:52 -05:00
Dan Williams
ba6c75725d Fix occurances of get_nick_name() -> get_name() 2006-07-24 10:57:21 -05:00
Dan Williams
f53c5326f2 Add initial non-working bits of ShareActivity 2006-07-24 10:55:42 -05:00
Marco Pesenti Gritti
7f39ed44e9 More build fixes. Add a script for presence service. 2006-07-24 16:24:39 +02:00
Marco Pesenti Gritti
7e40025966 Build fixes 2006-07-24 15:50:26 +02:00
Marco Pesenti Gritti
edb7e8fdc9 Typo 2006-07-24 15:21:58 +02:00
Marco Pesenti Gritti
d2f76cc41d More work on the new home page.
Remove obsolete import.
2006-07-24 15:11:14 +02:00
Marco Pesenti Gritti
1acd82599a Start working on Diana's home window visual design 2006-07-24 12:48:12 +02:00
Dan Williams
7c996b0011 More fixes, and convert python PS bindings to more glib style method names 2006-07-23 09:21:00 -05:00
Dan Williams
1d0b4e12b8 More PS fixes 2006-07-23 00:32:10 -05:00
Dan Williams
bca4e1ca9b Fix typo 2006-07-22 23:57:18 -05:00
Dan Williams
b63e78a174 Make the PresenceService stuff start to work 2006-07-22 23:56:40 -05:00
Dan Williams
ea264a1a83 More PS bits 2006-07-22 01:26:39 -04:00
Marco Pesenti Gritti
32bb288389 Some build fixes. pygtk.require at least one time for process. 2006-07-20 16:49:11 +02:00
Marco Pesenti Gritti
d6ec6db880 Make the console contextual to the activity and use the
window manager to activate it.
2006-07-20 12:13:47 +02:00
Marco Pesenti Gritti
87cb115aa0 Abstract activity on the shell side into an ActivityHost object.
Comment out/fix more ps borkage.
2006-07-20 11:34:06 +02:00
Marco Pesenti Gritti
53947aaaf2 Add script to launch an activity. Associate F4 in the wm to the terminal activity 2006-07-20 10:49:44 +02:00
Marco Pesenti Gritti
af54f25e0e Rename sugar-activity to sugar-activity-factory 2006-07-20 10:40:18 +02:00
Marco Pesenti Gritti
2a28ea38b1 Add a show_launcher property. Show only the web activity 2006-07-20 10:35:41 +02:00
Marco Pesenti Gritti
a06d75bd56 Port some stuff to new presence service (not tested, but I need this to at least run).
Comment out some broken code in Owner.py, Dan please take a look at this.
2006-07-20 10:12:42 +02:00
Dan Williams
766b82d467 Switch sugar/presence module over to a thin API wrapper around the PresenceService dbus API 2006-07-19 15:27:37 -04:00
Marco Pesenti Gritti
d2fdd64003 Install the new PresenceService stuff 2006-07-19 21:06:18 +02:00
Marco Pesenti Gritti
c3de9649b9 Use the new -kbdconfig option in matchbox 2006-07-19 20:58:29 +02:00
Marco Pesenti Gritti
24e078471f Update the title 2006-07-19 18:43:24 +02:00
Marco Pesenti Gritti
3151281354 Set the people window transient 2006-07-19 18:35:37 +02:00
Marco Pesenti Gritti
a33bdbc8c5 Tweak people window size 2006-07-19 18:19:00 +02:00
Marco Pesenti Gritti
e8a342c214 Do not destroy chat on close, just hide it 2006-07-19 18:16:44 +02:00
Marco Pesenti Gritti
a9cdfa0617 Add a matchbox kbdconfig 2006-07-19 17:49:34 +02:00
Marco Pesenti Gritti
c2f9d4c206 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-07-19 17:42:34 +02:00
Marco Pesenti Gritti
ae00121fbf Use matchbox to activate home and people page 2006-07-19 13:38:24 +02:00
Dan Williams
db04a3d2c9 Fix up signal decorator arguments and some undefined variables 2006-07-19 07:36:58 -04:00
Dan Williams
f413416e15 Continue to fill out presence service to the spec 2006-07-19 00:10:35 -04:00
Marco Pesenti Gritti
08a52809a6 Hint home window as desktop 2006-07-18 21:13:10 +02:00
Dan Williams
79007cfb0a Add most bits of new presence service code 2006-07-18 10:51:04 -04:00
Marco Pesenti Gritti
46d2f1c532 Get rid of pygtk.require. It doesn't make a lot of sense
and recent apps are not using it anyway.
2006-07-16 17:25:32 +02:00
Marco Pesenti Gritti
ca48a95ef1 Add some options to Xnest 2006-07-16 16:44:23 +02:00
Marco Pesenti Gritti
5ec089b829 Add support for Xnest 2006-07-16 14:22:10 +02:00
Marco Pesenti Gritti
ed303285a8 Close the socket once we are done 2006-07-15 17:07:59 +02:00
Marco Pesenti Gritti
bb2ba6da39 Typo 2006-07-15 15:43:23 +02:00
Marco Pesenti Gritti
faac100ba5 Automatically find a free display 2006-07-15 15:32:05 +02:00
Marco Pesenti Gritti
21b46a0022 Bunch of fixes, sharing should be back to work 2006-07-15 12:31:06 +02:00
Marco Pesenti Gritti
db08c3795f Read service type from the .activity file 2006-07-14 16:40:45 +02:00
Marco Pesenti Gritti
5ff09a10f7 Write a model for activities and use it in home page 2006-07-14 15:47:42 +02:00
Marco Pesenti Gritti
e079d76380 Update the task list on add/remove rather than
rebuilding every time. Note that this is _not_
the real UI. It's just some stuff I put there
because we need the functionality while we
finalize the real design and we figure out
how to implement it.
2006-07-13 11:10:27 +02:00
Marco Pesenti Gritti
cc66d7d4df Merge presence window and chat in one window 2006-07-13 10:47:36 +02:00
Marco Pesenti Gritti
02c697d862 Reuse the spawn code 2006-07-12 22:24:49 +02:00
Marco Pesenti Gritti
2bbedf988b Fix a bunch of bugs, more cleanups 2006-07-12 22:17:57 +02:00
Marco Pesenti Gritti
d12b780074 More work on session refactoring 2006-07-12 17:21:22 +02:00
Marco Pesenti Gritti
be806eb191 More cleanups and some fixes 2006-07-12 14:02:29 +02:00
Marco Pesenti Gritti
ca2b08f8b6 Cleanup and document session creation and activity registry 2006-07-12 13:20:41 +02:00
Marco Pesenti Gritti
01da885516 Lots of build fixes 2006-07-10 16:16:30 +02:00
Marco Pesenti Gritti
9f9f420863 Add tasks to the home window. A bunch of fixes. 2006-07-10 13:42:34 +02:00
Marco Pesenti Gritti
1cc14e406a More work on the window management refactor 2006-07-09 17:37:54 +02:00
Marco Pesenti Gritti
d4cb9a2714 More work on the new design 2006-07-08 15:47:51 +02:00
Marco Pesenti Gritti
0cbe559dbf Forgot to add these 2006-07-08 11:56:13 +02:00
Marco Pesenti Gritti
2999244b54 Stat refactoring the shell to use windows rather than tabs.
Initial implementation of the new activity menu
2006-07-08 11:55:33 +02:00
Marco Pesenti Gritti
10054cd505 Try to fix traceback dcbw commit introduced 2006-07-07 17:43:40 +02:00
Marco Pesenti Gritti
3c5ebf424f Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar 2006-07-07 17:18:48 +02:00
Marco Pesenti Gritti
1b6e8b4480 Ensure we are not overwflowing target position 2006-07-07 17:18:21 +02:00
Dan Williams
70965d0344 Remove merge conflict junk 2006-07-07 11:03:34 -04:00
Dan Williams
fdd2ded8d8 Merge 2006-07-07 11:02:48 -04:00
Dan Williams
8270a84e09 Fix activity double-join bug where opening a shared activity twice opened a blank tab 2006-07-07 11:00:20 -04:00
Marco Pesenti Gritti
63c93e4f2d Rewrite the wm, implement smarter sliding, "merge"
presence window and chat, activate by F1
2006-07-07 16:37:52 +02:00
Marco Pesenti Gritti
446754f4d3 Forgot to add these 2006-07-06 23:35:16 +02:00
Marco Pesenti Gritti
ba09278c67 Split classes out of shell.py 2006-07-06 23:34:23 +02:00
Marco Pesenti Gritti
fbb2621fff Make missing strings translatable 2006-07-06 20:25:56 +02:00
Marco Pesenti Gritti
85ff44db1c Forgot to commit changes... This breaks one-to-one chat,
I'm going to fix it.
2006-07-06 15:59:48 +02:00
Marco Pesenti Gritti
1eba377add Translation support 2006-07-05 17:00:11 +02:00
Marco Pesenti Gritti
27927f80f6 Tweak sizing and positioning to fit better on the olpc 2006-06-30 11:30:32 -04:00
Marco Pesenti Gritti
e932d0014e Remove non-sense in sliding out code 2006-06-23 16:15:05 -04:00
Marco Pesenti Gritti
d0cbce6d6d Use size request rather than resize. Make the notebook
scrollable.
2006-06-23 15:26:33 -04:00
Marco Pesenti Gritti
b6b50ff285 Make the console a slide-in window. Change keybinding to Ctrl-Down 2006-06-23 13:09:58 -04:00
Marco Pesenti Gritti
a929dc0b46 Fix up focus handling some 2006-06-23 12:49:57 -04:00
Marco Pesenti Gritti
5fa4d3426e Reenable old sliding in, it just feel less trembling and
it's not buggy. We need to test on the olpc, old code is
still there obviously.
2006-06-23 12:29:16 -04:00
Marco Pesenti Gritti
1eaa5eca65 Make share button insensitive for the everyone tab 2006-06-23 12:23:44 -04:00
Dan Williams
4511d13fb5 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-22 22:42:35 -04:00
Dan Williams
f2ef2a6847 Make activities emit an ActivityShared dbus signal; and have the shell & presence window detect that and disable the 'share' button 2006-06-22 22:42:29 -04:00
Marco Pesenti Gritti
59f25b0741 Get one-to-one chat to actually work... 2006-06-22 18:07:54 -04:00
Marco Pesenti Gritti
c234b7b4a3 Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar
Conflicts:

	sugar/presence/Buddy.py
2006-06-22 16:01:14 -04:00
Marco Pesenti Gritti
0a305004b0 Some work getting the one-to-one chat back 2006-06-22 15:59:38 -04:00
Dan Williams
75402820e3 clarify new activity service message 2006-06-22 14:37:05 -04:00
Dan Williams
735d8bc8b4 rename group_chat -> activity_chat for clarification 2006-06-22 14:36:50 -04:00
Dan Williams
2840af85ce Stop abusing ZeroConf by overloading the service type field; overload the service name field instead like everyone else does 2006-06-22 14:05:38 -04:00
Dan Williams
89d40971fe [hack] show a dialog when there's no available network connection, but at least don't traceback 2006-06-22 12:52:30 -04:00
Marco Pesenti Gritti
49aa3ffcba Increase presence window size a bit 2006-06-22 09:33:11 -04:00
Marco Pesenti Gritti
974ef81c1e Get back mesh chat (for the everyone tab) 2006-06-21 23:49:37 -04:00
Marco Pesenti Gritti
43b5e7e1a1 Fix bug in path initialization 2006-06-21 16:35:57 -04:00
Marco Pesenti Gritti
26684a091c Release 0.11 2006-06-21 16:18:25 -04:00
Marco Pesenti Gritti
d3c2a104db Typo 2006-06-21 16:10:19 -04:00
Marco Pesenti Gritti
9ea6805174 More work on packages refactoring, mostly working 2006-06-21 16:05:52 -04:00
Marco Pesenti Gritti
f4e2791c89 Big refactor of the directory structure and packages to
reflect private/public
2006-06-21 14:23:18 -04:00
Marco Pesenti Gritti
f6491e6afc Refactor the directory structure to match the packages 2006-05-12 02:32:03 -04:00
Dan Williams
0a43ee3d2a Fixup one instance of s/gtk.FALSE/False/ and fix up debug spew. 2006-04-27 15:38:03 -04:00
Dan Williams
81f45f1447 merge to tip of tree 2006-04-27 15:01:42 -04:00
Marco Pesenti Gritti
38c5e5847b Add some tab icons, still missing web site icons 2006-04-27 14:58:10 -04:00
Dan Williams
73ac3be1e6 Add the setup-run-from-source.sh script (doesn't work yet) and allow to run the cactivities from the shell. 2006-04-27 13:54:18 -04:00
Dan Williams
c4781fe8e3 Don't traceback on Ctrl+C 2006-04-27 12:20:42 -04:00
Marco Pesenti Gritti
9bd898a5b2 Merge browser README in the root one 2006-04-26 18:03:54 -04:00
Dan Williams
2b57bcfd61 Don't traceback on Ctrl+C 2006-04-26 17:01:39 -04:00
Dan Williams
50183927d0 Remove example-activity/activity.py and merge with src/activity.py 2006-04-26 16:55:10 -04:00
Marco Pesenti Gritti
fea1c24eaf size_request the right widget 2006-04-26 16:03:29 -04:00
Dan Williams
9df61cb84b Add support for setting the tab icon. 2006-04-26 12:25:40 -04:00
Marco Pesenti Gritti
375e6b5ab4 Forgot to add a few files 2006-04-26 02:30:41 -04:00
Marco Pesenti Gritti
200c3d077a Install service files so that services are automatically 2006-04-26 02:25:58 -04:00
Marco Pesenti Gritti
7c2531899b Automakeify 2006-04-26 00:18:21 -04:00
Dan Williams
ed4fc948ca Make the on_button_close call asynchronous 2006-04-25 13:13:23 -04:00
Marco Pesenti Gritti
490c146da9 Ellipsize tabs only when necessary (unknown title size basically) 2006-04-21 18:34:41 -04:00
Dan Williams
ae31953c85 Revert my screwage or marcos changes due to mercurial not working like CVS and just having to be really, really different and obfuscated, because it like to do something that nothing else ever does and it's really, really, really getting on my nerves 2006-04-21 16:35:02 -04:00
Dan Williams
f1efb436b0 Fix up message sending 2006-04-21 16:24:46 -04:00
Marco Pesenti Gritti
33545aa034 Use activity.py 2006-04-21 16:25:34 -04:00
Dan Williams
8a3d069076 Factor out activity base class 2006-04-21 16:08:36 -04:00
Marco Pesenti Gritti
79764c7d4f Add a method to show/hide close buttons on the tab 2006-04-21 15:53:26 -04:00
Marco Pesenti Gritti
73e7360bab More work on the notebook widget. Ellipsize labels. 2006-04-21 15:27:20 -04:00
Dan Williams
da89103081 Whitespace cleanup. Always use tabs and tabs are four spaces. 2006-04-21 14:02:54 -04:00
Dan Williams
d13cf9a91d Make focus poking async and introduce activity_shutdown in the example-activity. 2006-04-21 13:32:03 -04:00
Marco Pesenti Gritti
a77e678a55 Add code to activate tab, disabled since it freeze for now 2006-04-21 13:14:40 -04:00
Marco Pesenti Gritti
2f02f00a93 Fix tabs size, hack from epiphany/gedit 2006-04-20 22:49:00 -04:00
Dan Williams
ed112b5706 Lots of changes, still work in progress, but good enough to commit for now. 2006-04-20 20:37:03 -04:00
Dan Williams
2cc103db83 Initial import 2006-04-19 13:32:26 -04:00