Commit Graph

4392 Commits

Author SHA1 Message Date
Tomeu Vizoso
e0c2017c50 Add colors to icons in menu items 2008-12-05 18:02:13 +01:00
Tomeu Vizoso
33e94723da Add accelerator support to menu items 2008-12-05 11:51:40 +01:00
Marco Pesenti Gritti
5a0f575718 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-11-29 13:57:57 +01:00
Marco Pesenti Gritti
10fa6ae4c5 Emit the completed signal on shutdown completion, not on client
disconnection. When shutting down with no activity running we
was not hitting completion. Fix #11
2008-11-29 13:56:13 +01:00
Tomeu Vizoso
feeeff34a1 Remove bundle stuff 2008-11-28 19:38:32 +01:00
Simon Schampijer
0157f427ab Release 0.83.2 2008-11-21 13:42:12 +01:00
Pootle Translation
922a5363fc Fixed misformed plural equation 2008-11-17 10:08:33 -05:00
Tomeu Vizoso
6dfff85f9f Add view-source-related methods HandleViewSource and GetDocumentPath 2008-11-07 16:23:54 +01:00
Simon Schampijer
9dcc432ae1 "Release version 0.83.1" 2008-10-30 18:59:44 +01:00
Morgan Collett
e9ebfdea3a #8420: Fix traceback on 404 in ChunkedGlibHTTPRequestHandler
self._cleanup does the self._file.close() anyway if the file exists.
The self._file.close() removed here is redundant, and will always
fail on file not found, which is handled in send_head by returning
None for self._file.
2008-10-29 14:30:37 +02:00
Marco Pesenti Gritti
b58182a970 Mark modules as STABLE/UNSTABLE/DEPRECATED. 2008-10-28 14:19:01 +01:00
Marco Pesenti Gritti
9c74f4eec7 Drop broken release command. A more generic release tools
is being developed in sugar-tools now.
2008-10-26 01:15:20 +02:00
Guillaume Desmottes
9ab32f3b77 Add a get_shared_activity() method to sugar.activity.activity.Activity . Patch from Andrés Ambrois. #7649 2008-10-22 13:00:15 +01:00
Tomeu Vizoso
611bd9ccda Only absolutize the command when it doesnt contain already a slash 2008-10-21 17:07:03 +02:00
Tomeu Vizoso
0b7def1788 If the binary to launch is inside the bundle dir, use an absolute path. 2008-10-21 16:12:22 +02:00
Simon Schampijer
e69aa53db1 Don't import jabber_registered from the old profile
It is not used anymore by the PS
2008-10-21 12:47:11 +02:00
Eben Eliason
dce326c466 Fix up/down arrows in VTrays (#8617) 2008-10-18 17:11:11 -04:00
Eben Eliason
5cc6b27ae7 Add drag-active property to tray control (#8604)
The drag-active property can be set to provide a highlight
when the tray control is accepting target of an ongoing drag.

We can't use the drag_highlight method because we desire to
adjust the background of the widget, rather than drawing on
top of it.  Overriding these methods would work in most cases,
but in cases where GTK+ calls drag_unhighlight itself things
could break, so we use a property instead.
2008-10-18 17:08:13 -04:00
Marco Pesenti Gritti
e2439a7e44 Turn bundle into a new style class 2008-10-20 17:31:58 +02:00
Marco Pesenti Gritti
794281073b Make sure the mouse motion is stopped before starting it. 2008-10-18 16:39:12 +02:00
Tomeu Vizoso
f5d45d6acd Make sure that manifests in bundles are only called at install and deployment time, so it doesnt impact shell startup performance 2008-10-17 15:29:35 +02:00
Tomeu Vizoso
a13ca6d664 #8840 Add missing byte_arrays=True 2008-10-16 20:41:45 +02:00
Simon Schampijer
6013b8a20a Fix for old profile conversion 2008-10-13 16:53:30 +02:00
Simon Schampijer
354dec9f0c Use gconf for the profile 2008-10-11 18:28:40 +02:00
Sayamindu Dasgupta
25976df678 Remove BOM from ja.po 2008-10-10 12:45:59 +05:30
Pootle Translation
f44f60f256 Commit from One Laptop Per Child: Translation System by user korakurider. 28 of 28 messages translated (0 fuzzy). 2008-10-09 09:32:12 -04:00
Pootle Translation
02f5354b63 Commit from One Laptop Per Child: Translation System by user korakurider. 28 of 28 messages translated (0 fuzzy). 2008-10-09 09:29:13 -04:00
Pootle Translation
a4d15c7316 Commit from One Laptop Per Child: Translation System by user korakurider. 28 of 28 messages translated (0 fuzzy). 2008-10-09 09:23:32 -04:00
Tomeu Vizoso
bcc24a43e7 Move to cjson and drop pyjson and simplejson 2008-10-08 17:30:08 +02:00
Pootle Translation
8fbf7f1f26 Commit from One Laptop Per Child: Translation System by user rangertr. 28 of 28 messages translated (0 fuzzy). 2008-10-07 11:22:15 -04:00
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