Commit Graph

4762 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
f5f26d59c4 Remove unused imports. 2008-10-06 16:38:25 +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
0f33a634c0 Fix up scaling calculations, had some regressions in the previous commits. 2008-10-03 10:30:50 +02:00
Marco Pesenti Gritti
5a51661edf Respect SUGAR_SCALING 2008-10-03 02:15:48 +02:00
Marco Pesenti Gritti
0bb4a87853 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-10-01 00:25:08 +02:00
Marco Pesenti Gritti
3f08644b32 Remove workaround for old dbus-python. 2008-10-01 00:24:37 +02:00
Pootle Translation
702b643ecf Commit from One Laptop Per Child: Translation System by user rashananushka. 28 of 28 messages translated (0 fuzzy). 2008-09-30 08:36:24 -04:00
C. Scott Ananian
897428c794 Trac #8674: sanity-check bundle root; don't delete install_root on failure.
The software updater was deleting ~/Activities when it encountered a bad
bundle.  Two separate issues:  we didn't sanity check the bundle root to
ensure it wasn't '.' or '..' or something crazy like that, and our "clean
up on failure" code was deleting the install_root instead of the activity
root (!).  This was a regression introduced by the fix for #7733 in
commit db2d1c42e2481d6dbc15405840ac23e46eab7318 (0.82.2).
2008-09-28 14:24:46 -04:00
Tomeu Vizoso
404a7b546a request byte_arrays from the DS 2008-09-26 18:36:49 +02:00
Tomeu Vizoso
afb63981fa Set the correct locale path for system activities 2008-09-25 20:19:05 +02:00
Marco Pesenti Gritti
89300c9173 Fix obvious error in the grid math #8626 2008-09-24 12:40:57 +02:00
Pootle Translation
1436d1d3f5 Fix formatting error 2008-09-24 05:29:16 -04:00
Pootle Translation
4ca890be06 Commit from One Laptop Per Child: Translation System by user rangertr. 28 of 28 messages translated (0 fuzzy). 2008-09-23 11:23:43 -04:00
Tomeu Vizoso
8c2bc01b6b Move DSObject.resume() from sugar-toolkit to the shell 2008-09-22 12:27:02 +02:00
Marco Pesenti Gritti
9e6ef4d2a9 Line too long fixes. 2008-09-22 10:55:05 +02:00
David Farning
88295072bd API docstrings from pydocweb 2008-09-21 09:01:48 -05:00
David Farning
3a69d3e777 API docstrings from pydocweb 2008-09-20 21:22:56 -05:00
David Farning
62128530c3 API docstrings from pydocweb 2008-09-19 19:32:55 -05:00
David Farning
dd7442a0fa API docstring update from pydocweb 2008-09-19 19:00:00 -05:00
C. Scott Ananian
d16334a042 Trac #8563: sugar palette doesn't handle 'table menus'.
The gtk Menu class supports 'table menus', where the menu entries can
be laid out in a grid. This is useful for horizontal menus, and for
dense menus of icons, and for wrapping the menu when it gets too long,
etc.

The Menu.attach() method is used to add entries to a menu by row and
column:
 http://www.pygtk.org/docs/pygtk/class-gtkmenu.html#method-gtkmenu--attach

However, the callback in _Menu, defined in palette.py, only triggers
on do_insert(), and so the signal emission (and subsequent
palette._update_separators() call, which places the line underneath
the menu title text at top) never occurs when you add entries using
attach(). _Menu now overrides attach() and emits the proper signal.
2008-09-19 11:18:36 -04:00
Pootle Translation
1406e5f8b7 Commit from One Laptop Per Child: Translation System by user mschlager. 28 of 28 messages translated (0 fuzzy). 2008-09-19 10:53:50 -04: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
Simon Schampijer
e429c258ca Allow setting empty jabber server (2)
fix #8354 completely
2008-09-18 23:19:55 +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
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
Pootle Translation
e97ab8eddb Commit from One Laptop Per Child: Translation System by user HoboPrimate. 28 of 28 messages translated (0 fuzzy). 2008-09-15 18:46:43 -04: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