Commit Graph

1186 Commits

Author SHA1 Message Date
Tomeu Vizoso
5d4b9b1dfa Set the activity icon on new journal entries. 2007-05-19 20:06:36 +02:00
Tomeu Vizoso
abec4df66e Don't try to display an icon without file name. 2007-05-19 11:19:56 +02:00
Simon McVittie
ccc224e76f sugar.presence.presenceservice: Use absolute imports 2007-05-18 15:33:21 +01:00
Simon McVittie
29cc39968d Don't rely on dbus importing the exceptions module - import it explicitly.
Also divide up imports in a PEP8-compliant way.
2007-05-18 15:31:32 +01:00
Simon McVittie
c6ac2873c8 sugar.presence.presenceservice: Add get_buddy_by_telepathy_handle() 2007-05-18 15:24:58 +01:00
Marco Pesenti Gritti
6c671fb7fe Size the toolbox to 1 grid cell 2007-05-18 14:00:29 +02:00
Marco Pesenti Gritti
b958a515d5 Draw the background of the toolbox hbox 2007-05-18 13:32:50 +02:00
Bert Freudenberg
6dd2f7109c Find executable in bundle (approved by marcopg, fix for #1362) 2007-05-17 13:18:56 +02:00
Simon McVittie
cd0a2b3ecd Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-17 11:31:57 +01:00
Tomeu Vizoso
3a1d514e9f Save to the journal when switching to another activity. 2007-05-16 21:30:49 +02:00
Tomeu Vizoso
1d31c51ecc Don't save to the journal on focus-out. 2007-05-16 17:55:56 +02:00
Tomeu Vizoso
7314d5a8c8 Improve logging. 2007-05-16 17:01:59 +02:00
Tomeu
79fdfc5fb7 Don't set_active(0) on realize, as it would trigger 'changed'. 2007-05-16 15:02:41 +02:00
Simon McVittie
531321740c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	services/presence/server_plugin.py
2007-05-16 12:30:49 +01:00
Dan Williams
e659d15384 Make datastore find & update operations async 2007-05-16 00:41:45 -04:00
Simon McVittie
4b26840333 sugar.presence.presenceservice, services/presence: Use named loggers.
This causes events in the log to be annotated with the module that emitted the
message.

Before: DEBUG - root: Starting up...
After: DEBUG - s-p-s.server_plugin: Starting up...

I've used a log domain of "sugar.presence..." for the client library and
e.g. "s-p-s.activity" for the service internals.
2007-05-15 14:58:15 +01:00
Marco Pesenti Gritti
4a8493f95e Fix mozilla components loading when sugar is running from source.
We don't attempt to load components from source, since that would
be insanely complicated.
2007-05-15 11:50:21 +02:00
Marco Pesenti Gritti
9fa0790c2b Do not assume we are packing an ActivityToolbox inside the activity 2007-05-15 11:23:46 +02:00
Marco Pesenti Gritti
141072c9e9 Set a default title for the activity 2007-05-14 19:56:06 +02:00
Marco Pesenti Gritti
820e739a0f Improve the layout of the activity toolbar 2007-05-14 19:27:35 +02:00
Marco Pesenti Gritti
c84e21aa9e Hide the tabs bar when there is only one toolbar.
Fix sugar.Browser
2007-05-14 15:48:36 +02:00
Marco Pesenti Gritti
9e10d15c21 More work on pyxpcom integration 2007-05-13 22:49:27 +02:00
Tomeu
f3289d2e59 Implement setting the journal entry title from the toolbar. 2007-05-13 18:21:35 +02:00
Marco Pesenti Gritti
d8446e25ae Cleanup 2007-05-11 23:11:02 +02:00
Marco Pesenti Gritti
b0c2f0313f Check the grid exists before trying to remove weight when removing items. 2007-05-11 23:10:07 +02:00
Marco Pesenti Gritti
f0e5523cd0 gtk thinks the xo dpi is 200.0 2007-05-11 12:36:07 +02:00
Marco Pesenti Gritti
e5a586fe69 More distcheck fixes 2007-05-11 11:18:17 +02:00
Tomeu Vizoso
133b96b4f0 Typo. 2007-05-10 17:04:40 +02:00
Tomeu Vizoso
d6850279a8 Temporary fix while we stabilize the new datastore. 2007-05-10 14:34:10 +02:00
Tomeu Vizoso
30114f9545 Temporary try..excepts while we stabilize the new datastore. 2007-05-10 14:16:48 +02:00
Tomeu Vizoso
929dabd165 Use the new DataStore and remove the old one. 2007-05-10 11:01:32 +02:00
Marco Pesenti Gritti
ac4338e3c0 Add an ItemInfo object associated with each item.
Remove weight from the grid when removing items.
2007-05-10 10:42:56 +02:00
Eduardo Silva
5d14daf44b Notebook class now use **kwargs to set properties 2007-05-09 14:38:38 -04:00
Simon McVittie
00e8348c73 Set _shared_activity correctly when we share an activity successfully 2007-05-09 16:32:16 +01:00
Simon McVittie
5fc1cdefeb When joining an activity that's already been joined, call a callback which exists 2007-05-09 15:05:17 +01:00
Eduardo Silva
c34a264168 Add some comments in the notebook class 2007-05-08 22:38:56 -04:00
Simon McVittie
0d1b2bef13 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-08 17:07:44 +01:00
Simon McVittie
1f024ff6e4 sugar.logger: Use formatters properly when interfacing with logging.
This fixes display of tracebacks in the logs, and adds logger names
2007-05-08 16:24:48 +01:00
Simon McVittie
05d7ed5084 sugar.presence.presenceservice: don't mix up local variable 'activity' and imported module 'activity' 2007-05-08 16:23:07 +01:00
Dan Williams
28637c098e Fix activity creation ID collisions 2007-05-08 11:19:30 -04:00
Dan Williams
1994b5e6a9 Fix file closing 2007-05-08 11:07:27 -04:00
Eduardo Silva
6a685d38b4 Merge branch 'master' of git://dev.laptop.org/sugar 2007-05-08 09:33:58 -04:00
Eduardo Silva
9180388a76 Notebook widget class: new 'can-close-tabs' property 2007-05-08 09:32:32 -04:00
Simon McVittie
60d6dcd618 sugar/logger.py: interpolate %x parameters in messages from the logging framework 2007-05-08 11:49:52 +01:00
Marco Pesenti Gritti
6d5bc75092 Tweak the test to use realistic numbers. Some fixes 2007-05-07 16:59:28 +02:00
Marco Pesenti Gritti
fb019bc9f5 Better spread algorhytm, work in progress 2007-05-07 16:24:41 +02:00
Dan Williams
c89bc07e0b Fix nickname encoding and length issues 2007-05-07 00:18:42 -04:00
Eduardo Silva
110fa5f354 New notebook control 2007-05-06 11:03:43 -04:00
Tomeu Vizoso
a2660195bd Initial support for icon-only combo boxes. 2007-05-05 12:13:23 +02:00
Tomeu Vizoso
50d2b66501 Take out the HAVE_GECKO_1_9 ifdefs, we only support Gecko 1.9 now. 2007-05-04 19:51:15 +02:00
Tomeu Vizoso
bbb96e9c89 Implemented saving web history to the journal. Ifdefed by now while we wait for a patch to be applied to mozilla upstream. 2007-05-04 19:32:25 +02:00
Tomeu Vizoso
54c8c009ef Fixed typo. 2007-05-04 14:47:30 +02:00
Tomeu Vizoso
eff6c1a7c1 Add ToggleToolButton to the Makefile. 2007-05-04 09:56:01 +02:00
Dan Williams
44e8393bde Fix type 2007-05-03 15:06:00 -04:00
Tomeu Vizoso
694e30aa76 Expose the buttons contained by the activity toolbar. 2007-05-03 16:30:32 +02:00
Tomeu Vizoso
1f60139e09 Added WebSession datastore object. 2007-05-03 16:07:19 +02:00
Dan Williams
a5154aa011 Misc fixes; better GlibURLDownloader error handling, fix GlibXMLRPCRequestHandler argument passing 2007-05-03 01:14:39 -04:00
Dan Williams
f0205fde5c Make XMLRPC proxy object callback semantics saner 2007-05-02 23:58:14 -04:00
Dan Williams
7774073276 Make joining asynchronous on the activity side 2007-05-02 23:25:15 -04:00
Dan Williams
3f480c1495 Chunked glib-integrated HTTP server and url downloader classes 2007-05-02 22:23:01 -04:00
Marco Pesenti Gritti
bc4b051af2 Some refactoring to get styles right 2007-05-01 18:26:26 +02:00
Marco Pesenti Gritti
152361c592 Do not fallback to SUGAR_PREFIX for the sugar path. Require SUGAR_PATH. 2007-05-01 16:42:43 +02:00
Marco Pesenti Gritti
f34e5fd36b One cell grid of space at toolbar borders 2007-05-01 13:50:18 +02:00
Marco Pesenti Gritti
c5f7f1d8af Make tabs fixed size 2007-05-01 12:41:22 +02:00
Marco Pesenti Gritti
63f5f55050 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-01 12:11:07 +02:00
Marco Pesenti Gritti
b476b13673 Add a set_named_icon method 2007-05-01 11:28:06 +02:00
Dan Williams
570c7e6052 Add buddy ip4-address property (temporary) 2007-04-30 23:44:39 -04:00
Marco Pesenti Gritti
0ebba0d454 Drop the old hippo based toggle 2007-05-01 01:07:08 +02:00
Marco Pesenti Gritti
b8e96d08ae Adjust named icons terminology a bit 2007-05-01 01:03:16 +02:00
Tomeu Vizoso
e78c9d21a9 Added ToggleToolButton control. 2007-04-30 19:00:34 +02:00
Tomeu Vizoso
bb8417f57b Added sugar.activity.activity.EditToolbar. 2007-04-30 18:59:55 +02:00
Marco Pesenti Gritti
8cb5170566 Add missing files 2007-04-30 17:30:55 +02:00
Marco Pesenti Gritti
12192e974f Tweaks for themability 2007-04-30 16:31:30 +02:00
Marco Pesenti Gritti
e936b1e1fc Forgot to add the icon 2007-04-30 14:04:50 +02:00
Marco Pesenti Gritti
afe90d3000 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-30 13:43:05 +02:00
Marco Pesenti Gritti
2321c9d5b4 Icon widget 2007-04-30 13:42:45 +02:00
Tomeu Vizoso
d6445af2c8 Add method Toolbox.remove_toolbar(). 2007-04-29 21:11:59 +02:00
Tomeu Vizoso
b097802fe6 Add ComboBox control. 2007-04-29 21:10:58 +02:00
Marco Pesenti Gritti
4ecb7e26f9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-28 01:24:18 +02:00
Marco Pesenti Gritti
7c8ec7a845 Fix height request 2007-04-28 01:15:47 +02:00
Dan Williams
01be59b84f Re-enable activity sharing 2007-04-27 16:07:38 -04:00
Marco Pesenti Gritti
1412b984e0 Finish up deprecations 2007-04-27 12:00:30 +02:00
Marco Pesenti Gritti
b216135ed0 More removal and deprecations 2007-04-27 11:59:02 +02:00
Marco Pesenti Gritti
2baa2881e0 Kill more canvas items 2007-04-27 11:47:02 +02:00
Marco Pesenti Gritti
63f5ca099c Remove the canvas button 2007-04-27 11:45:14 +02:00
Marco Pesenti Gritti
4346a50e6f Remove all the bubbles from the public API, yay ;) 2007-04-27 11:43:40 +02:00
Marco Pesenti Gritti
9ccda70199 Refactor the window API a bit to make it more flexible. 2007-04-27 10:51:19 +02:00
Marco Pesenti Gritti
9dcfcf89e9 Close the window when clicking the toolbar button 2007-04-27 01:09:00 +02:00
Marco Pesenti Gritti
c256958a9a Ensure the window is realized before getting his xid 2007-04-27 00:55:23 +02:00
Dan Williams
511c666a4a Fix current activity property; get activities when buddy is created 2007-04-26 16:51:37 -04:00
Marco Pesenti Gritti
2d2e1368fb Add missing files 2007-04-26 12:21:03 +02:00
Marco Pesenti Gritti
e49146752f More work on the new graphics API. 2007-04-26 11:31:41 +02:00
Guillaume Desmottes
a22d8a65f1 Fix logging.warn arguments 2007-04-25 12:47:29 +02:00
Dan Williams
5d11e7fdd9 Convert activity properties to gproperties 2007-04-24 11:49:43 -04:00
Dan Williams
86ab6ca36b Reconnect to the PS if it goes away and comes back 2007-04-23 13:11:21 -04:00
Dan Williams
30a50bd9fc Add test allow_offline_iface to get_instance() 2007-04-23 12:47:50 -04:00
Dan Williams
4ca4e5564e Add test code for Sugar PresenceService bindings 2007-04-23 12:06:41 -04:00
Dan Williams
6513fef6b2 Cleanups; replace ObjectCache with a straight dict; fix signal name; doc cleanups 2007-04-23 10:08:55 -04:00
Mike C. Fletcher
96ab3a10fe More code to handle service-offline cases and log messages to tell the
user/admin what's going on.
2007-04-22 00:31:32 -04:00
Mike C. Fletcher
a7af5b06cd Try to avoid Sugar's shell just crashing and leaving a blank X server
when the PresenceService isn't available on the back-end for whatever
reason, whether mis-configuration, corrupted installation, unexpected
circumstances, or what have you.

This patch makes as few changes as possible to the code,
simply replacing the _ps member with a property that re-attempts
connection on each access until an attempt is successful.
2007-04-22 00:23:19 -04:00