Commit Graph

159 Commits

Author SHA1 Message Date
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
Tomeu Vizoso
f2a8948bf1 #8485 Detach from palette when a widget is destroyed 2008-09-18 14:50:58 +02:00
Guillaume Desmottes
1ab0c67830 fix weird change in _share_activity_cb causing all activity sharing fails 2008-09-18 11:46:40 +01: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
Marco Pesenti Gritti
c613b9cf5e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-09-16 17:03:32 +02:00
David Farning
4a73c86dbb add parameters to docs 2008-09-16 17:03:12 +02:00
Tomeu Vizoso
a93992eedc Revert "Move DSObject.resume() from sugar-toolkit to the shell"
This reverts commit 13682dd1b4.
2008-09-16 16:03:49 +02:00
Tomeu Vizoso
be32d3fb67 Remove the clipboard service wrapper 2008-09-16 15:34:26 +02:00
Tomeu Vizoso
13682dd1b4 Move DSObject.resume() from sugar-toolkit to the shell 2008-09-16 11:13:36 +02:00
Tomeu Vizoso
6c1eed78d8 s/print/logging.debug 2008-09-15 15:45:35 +02:00
Marco Pesenti Gritti
5ecfcba365 No need to test alsa open at object creationg, since
we don't have a fallback.
2008-09-14 12:55:16 +02:00
Marco Pesenti Gritti
be7b97dde7 Fix weird handling of error condition when opening alsa. 2008-09-13 22:52:20 +02:00
Marco Pesenti Gritti
be014cc270 Alsa based volume control API, stealed from gnome-settings-daemon. #8375 2008-09-13 13:48:25 +02:00
Marco Pesenti Gritti
388f74a56d Add a SugarGrid object to replace the numpy implementation. Part of the fix for #8394 2008-09-13 13:30:10 +02:00
Marco Pesenti Gritti
1ac335f271 Break the reference cycle between menu and palette. #8469 2008-09-13 13:25:40 +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
Marco Pesenti Gritti
9eb7e3a7df Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-09-11 10:52:35 +02:00
Marco Pesenti Gritti
171e76cfb8 Default to empty jabber server. Patch by gdesmott with minor change by me.
Fix #8354
2008-09-11 10:51:59 +02:00
Simon Schampijer
e721f74f63 Ignore pseudo.po for the manifest 2008-09-11 10:49:54 +02:00
Tomeu Vizoso
0490247fcb Hopefully really avoid access to private member 2008-09-11 09:03:05 +02:00
Tomeu Vizoso
5c1f3b7daa Revert "Avoid access to private member"
This reverts commit 0cf0cacbd0.
2008-09-11 09:00:44 +02:00
Tomeu Vizoso
c79bc15f5f #8394 Destroy the palette when the invoker is dettached 2008-09-10 18:05:53 +02:00
Tomeu Vizoso
0cf0cacbd0 Avoid access to private member 2008-09-10 18:04:15 +02:00
Tomeu Vizoso
865c234a1e Revert "Avoid access to private member."
This reverts commit 8301b9269a.
2008-09-10 17:54:45 +02:00
Simon Schampijer
2e41124c87 Remove "dynamic" font height computation #8392 (marco) 2008-09-10 12:36:27 +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
Marco Pesenti Gritti
8301b9269a Avoid access to private member. 2008-09-07 22:01:27 +02:00
Marco Pesenti Gritti
549ace8c11 More cleanups to make pylint happy. 2008-09-07 21:51:10 +02:00
Marco Pesenti Gritti
ebcf1f6988 Get rid of the custom _hide/_show and just use the widget
methods. Related cleanups.
2008-09-07 21:18:27 +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
938e2e9648 Do not try to list the mimetypes directory if it does not exist.
Fix #7837
2008-08-31 14:36:13 +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
453e08c8d7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-08-27 11:05:19 +02:00
Marco Pesenti Gritti
b2ce8b030f Factor out sugar-activity code to the toolkit. 2008-08-27 11:04:54 +02:00
Simon Schampijer
c639e7291a Remove the set_size_request for the alert message
This gave problems on the xo - part of #7841
2008-08-25 14:09:52 +02:00
Benjamin Berg
927ae13aec Merge branch 'master' of git+ssh://benzea@dev.laptop.org/git/sugar-toolkit 2008-08-24 14:33:58 +02:00
Benjamin Berg
3d3e453157 Change the API of the keygrabber so only one gdk_sync is neccessary. (ticket #7999) 2008-08-24 14:31:46 +02:00
Tomeu Vizoso
7090e73c09 Revert "#8000 Only repaint the area needed (rlucchese)"
The bounds calculation won't be always correct.

This reverts commit 3bb9f47461.
2008-08-22 19:07:34 +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