Commit Graph

119 Commits

Author SHA1 Message Date
Tomeu Vizoso bcc24a43e7 Move to cjson and drop pyjson and simplejson 2008-10-08 17:30:08 +02:00
Marco Pesenti Gritti 5c6c7ab1d1 The activity registry is now private to the shell.
Changed the activityfactory to take a bundle instead of a bundle_id
so that it doesn't depend on the registry.
2008-10-06 15:54:46 +02:00
Marco Pesenti Gritti 3f08644b32 Remove workaround for old dbus-python. 2008-10-01 00:24:37 +02:00
Tomeu Vizoso afb63981fa Set the correct locale path for system activities 2008-09-25 20:19:05 +02:00
Marco Pesenti Gritti 7eafbe9ce9 Failure to close descriptor is actually expected. Don't bloat the logs. 2008-09-19 11:38:23 +02:00
Marco Pesenti Gritti 6a5d0c837b Another pylint fix. 2008-09-19 00:32:46 +02:00
Marco Pesenti Gritti a151135e2e Fix a few pylint warnings. 2008-09-19 00:18:31 +02:00
C. Scott Ananian 28586edb2f Trac #8532: remove SIGCHLD handler, which interacts poorly with threads.
Threads and signals don't get along too well together.  Instead, use
gobject's spawn_async functionality which already has the necessary zombie-
reaping integrated into the gobject event loop.
2008-09-18 11:14:41 -04:00
Erik Garrison a6ef6742f5 Removed unused TakeScreenshot from the dbus interface provided by
activityservice.py as suggested by Marco @ trac #8432.
2008-09-17 14:48:14 -04:00
Erik Garrison c1f6d9843d Cleanup screenshot acquisition behavior in activity.py, so that we acquire
screenshots on user-initiated activity save and close.  Check before saving
that the window is not fully obscured, as it might be if the user initiates the
close from the frame--- this would produce incorrect screenshots.  The check
for visibility is done by attaching a handler to the Activity class which
handles visibility-notify-events from X.  In the sugar repository equivalent
changes remove automated screenshot acquisition from window manager navigation
events (e.g. tabbing).
2008-09-17 14:25:38 -04:00
Tomeu Vizoso 6c1eed78d8 s/print/logging.debug 2008-09-15 15:45:35 +02:00
Simon Schampijer 1af96495d2 bundlebuilder: remove an existing locale dir before building 2008-09-13 12:02:22 +02:00
Simon Schampijer 199a91ff87 don't build the locale for the pseudo.po 2008-09-12 13:15:49 +02:00
Simon Schampijer e721f74f63 Ignore pseudo.po for the manifest 2008-09-11 10:49:54 +02:00
Simon Schampijer 1d29440bfd bundlebuilder: fix the release command 2008-09-09 17:41:42 +02:00
Marco Pesenti Gritti 866f26aced Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-09-08 09:13:33 +02:00
Marco Pesenti Gritti 3f78abb8c2 Keep compatibility with the private shared_activity 2008-09-08 01:30:20 +02:00
Marco Pesenti Gritti 3d9f3eca67 Disable the few remaining pylint messages 2008-09-07 23:57:27 +02:00
Marco Pesenti Gritti b307237dbf Make shared_activity public. 2008-09-07 22:07:49 +02:00
Simon Schampijer 9041e4db0e Fix pylint for bundlebuilder 2008-08-31 21:35:37 +02:00
Simon Schampijer 783ec6734c Merge branch 'master' of ssh+git://dev.laptop.org/git/sugar-toolkit 2008-08-31 21:33:55 +02:00
Simon Schampijer e7a10be1d4 Do a more "standard" system installation for bundlebuilder
- setup.py install takes a --prefix option and no arguments.
- mo files are installed in /usr/share/locale.
- po files are not installed
- 8136 (marco)
2008-08-31 21:33:39 +02:00
Marco Pesenti Gritti 6e503b0a24 Ensure that the widget is fully onscreen before taking a screenshot.
Otherwise X emits a BadMatch and gtk kills the process (!).
Fix #8220
2008-08-31 14:40:03 +02:00
Marco Pesenti Gritti 9f88241ff5 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-08-27 14:54:10 +02:00
Marco Pesenti Gritti 98460fb2e2 Fix pylint complain 2008-08-27 14:53:59 +02:00
Simon Schampijer dd031b4d83 Set the env var SUGAR_BUNDLE_VERSION #5428 (marco) 2008-08-27 12:00:50 +02:00
Marco Pesenti Gritti b2ce8b030f Factor out sugar-activity code to the toolkit. 2008-08-27 11:04:54 +02:00
Simon Schampijer f29b67b032 Add update functionality to Config in bundlebuilder #7270 (marco)
This is needed by the release command to update the
bundle number
2008-08-22 15:16:30 +02:00
Marco Pesenti Gritti f55e531f42 Warn about files missing from the MANIFEST. 2008-08-22 15:04:36 +02:00
Eben Eliason a73cbc351d Merge branch 'master' of git://dev.laptop.org/sugar-toolkit 2008-08-15 05:32:14 -04:00
Marco Pesenti Gritti 204e4f233a Port a few widgets to use new style properties. 2008-08-11 01:10:02 +02:00
Eben Eliason ac6cea0d44 Widen activity tile entry (#7680) 2008-08-07 22:54:15 -04:00
Marco Pesenti Gritti 0d6b2072c1 Handle multiple Activity per process correctly.
Fix #7754
2008-08-06 23:04:00 +02:00
Simon Schampijer e1bd64439c Add git tagging to the 'setup.py release' command
added as well better error handling
2008-08-01 11:36:51 +02:00
Marco Pesenti Gritti 00c8a5897b Keep going even if the disk is full. Patch by cscott.
Fix #7587
2008-07-25 14:07:48 +02:00
Simon Schampijer 564e6eb28d Zoom in activity when save error occurs #5136 2008-07-21 19:27:26 +02:00
Simon Schampijer 7fc7b39f14 Shutdown/Rebbot syncs activities data #6014 (marco) 2008-07-21 19:20:22 +02:00
chema 756b9309e8 7205: bundlebuilder accepts old "dist" cmd, checks for po dir 2008-07-19 15:54:54 +02:00
Tomeu Vizoso 7c5fa614a6 #7054 Set activity initiator's colors in the journal entry 2008-07-03 12:30:33 +02:00
Eben Eliason 9dd0c93c69 Color the keep icon (#3939) 2008-06-25 13:40:37 -04:00
Sayamindu Dasgupta 710f30196a Change the GETTEXT_PACKAGE domain to sugar-toolkit 2008-06-23 23:51:58 +05:30
Tomeu Vizoso 039206f194 Add a position attribute to registered activity bundles. 2008-06-20 12:27:41 +02:00
Eben Eliason 3e86ce8b89 Fix undefined bundle_top_dir reference 2008-06-13 16:29:51 -04:00
Marco Pesenti Gritti 3f4a809b80 Generate the MANIFEST automatically if it doesn't exit. I'm
not sure if we want to keep doing that, but it's necessary at
the moment to keep stuff working.
2008-06-13 17:41:16 +02:00
Marco Pesenti Gritti cfdc17d6c9 Patch by Jameson Chema Quinn.
Readability cleanups and little fixes by me.

use MANIFEST. Deprecate bundle_name. fix_manifest().
bundlebuilder.config() cleanup.
2008-06-13 12:37:45 +02:00
Marco Pesenti Gritti 9de8746df1 Remove a leftover debug print and fix a typo. 2008-06-10 23:45:24 +02:00
Marco Pesenti Gritti 50f79e6323 First go at session management. Not asking review since
it's a bunch of ugly C code imported from gnome-session.
Will clean it up a bit but I don't plan to make it too shiny :)
2008-06-06 19:13:10 +02:00
Marco Pesenti Gritti 285509c8c9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-06-05 13:39:04 +02:00
Marco Pesenti Gritti 7302690aa1 Actually compress the source tarball. 2008-06-05 13:38:38 +02:00
Simon Schampijer cc7ce17eb7 Fix the setup.py dev 2008-06-04 22:26:40 +02:00