Commit Graph

555 Commits

Author SHA1 Message Date
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
Marco Pesenti Gritti
5f93f41387 Typo 2006-09-08 02:59:05 +02:00
Marco Pesenti Gritti
6bbb20c4c7 Add padding in the constraints constructor 2006-09-08 02:20:11 +02:00
Marco Pesenti Gritti
57d1221cd3 Ensure w/h > 0 2006-09-08 02:11:46 +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
fbc7bd8b97 Fix inverted rows/cols 2006-09-07 18:47:15 +02:00
Marco Pesenti Gritti
4f0a470b8e Forgot to add files. Remove debug code 2006-09-07 16:42:12 +02:00
Marco Pesenti Gritti
21b19924ea Implement the grid, regress UI a bit 2006-09-07 15:11:51 +02:00
Marco Pesenti Gritti
6aadff4e87 Simple grid layout 2006-09-07 11:36:04 +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
98c301568d Remove unnecessary method from the dbus service 2006-09-02 11:43:32 +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
c39d693d08 Handle transformations 2006-09-01 18:46:56 +02:00
Marco Pesenti Gritti
4c80db6da0 Some cleanups 2006-09-01 15:00:45 +02:00
Marco Pesenti Gritti
126ed5840f Respect constructor properties 2006-08-31 22:41:41 +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
Dan Williams
721ef6e29c Write out log strings as utf8 2006-08-29 11:52:49 -04:00
Marco Pesenti Gritti
b6cf5ef31e Get the zoom level buttons to work 2006-08-28 14:36:48 +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
e34d437fb9 Make paths manipulation stuff private 2006-08-26 13:38:42 +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
4f3e3a290c Remove unused MeshChat 2006-08-26 12:56:40 +02:00
Marco Pesenti Gritti
8ab45f697d Do not expose unnecessary api 2006-08-26 12:52:55 +02:00
Marco Pesenti Gritti
508ab2af25 Move DonutItem out of public api 2006-08-26 11:47:02 +02: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
7646366553 Keep the bindings private 2006-08-25 14:39:58 +02:00
Marco Pesenti Gritti
7fe9f84a0a Initialize the service to None 2006-08-25 01:06:37 +02:00
Dan Williams
9e970b5b0f Add IconColor.py to makefile 2006-08-24 14:39:53 -04:00
Dan Williams
18a9ea1872 Try to fix MostlyReliablePipe tracebacks in multicast stuff 2006-08-24 12:40:12 -04: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
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
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
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
0d4acb6e78 Start implementing friends/mesh 2006-08-19 11:12:25 +02:00
Marco Pesenti Gritti
825758018d Update the color property name 2006-08-18 19:36:36 +02:00
Dan Williams
8b912fb9fa Don't use dbus for logging until we get deadlock issues sorted out 2006-08-17 16:27:16 -04:00
Dan Williams
f1d6f96dc4 Reset idle_id so we keep logging even if the console isn't set up yet 2006-08-17 14:46:52 -04:00
Marco Pesenti Gritti
14c9c55731 Typo 2006-08-17 14:43:17 +02: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
6d7782654c Cache activity id 2006-08-16 23:05:53 -04:00
Dan Williams
95c06280ca Add threadframe and TracebackUtils.py so we can get tracebacks of dbus deadlocks 2006-08-16 23:05:44 -04:00
Marco Pesenti Gritti
dae3d2be2b Some work to implement the activity bar 2006-08-16 23:20:22 +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
Marco Pesenti Gritti
6b181ced13 Some cleanups 2006-08-16 00:41:51 +02: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
b1c7385204 Print traces also on stderr 2006-08-15 13:15:46 +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
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
dd7fff79f8 Fix add_python_path, ensure service exist before trying to log 2006-08-13 01:31:24 +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
e57f4da027 Factor out a function to write services from the activities setup code 2006-08-12 23:47:14 +02:00
Marco Pesenti Gritti
c07612c858 Fix running from installed 2006-08-12 23:38: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
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
72bf637091 Actually enable exception logging 2006-08-11 23:30:03 +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
27456ff723 Remove the theme hacks. sugar-jhbuild set this up fine now. 2006-08-10 23:54:34 +02:00
Marco Pesenti Gritti
9b12b11534 Get one-to-one chat back to work 2006-08-10 00:54:54 +02: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
a0c69066d4 Remove default_type from the dbus service too 2006-08-09 13:05:57 +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
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
f1821704e7 Cleanups and document a bit 2006-08-08 12:34:04 +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
544e47cbe0 Move activity service registration in Activity 2006-08-07 16:42:36 +02:00
Marco Pesenti Gritti
9274f9707f Remove args from the factory interface 2006-08-07 16:26:54 +02:00
Marco Pesenti Gritti
d919848324 Rework to not use protected API 2006-08-07 11:08:10 +02:00
Marco Pesenti Gritti
167dbec0f5 Add a script to install external activities 2006-08-04 15:54:28 +02:00
Dan Williams
3117d454b9 add service unregistration 2006-08-02 10:27:09 -04:00