Commit Graph

1471 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
2ae043c1fe Add option to use the same style values as on the XO.
Useful to test/debug size issues, if you have a screen
that can do 1600x1200.
2007-08-13 01:17:37 +02:00
Marco Pesenti Gritti
dcef110223 Embed/unembed the menu on state changes, keeping it around
cause some weird drawing issues.

Redraw on palette size changes (patch by Benzea).
2007-08-11 12:16:49 +02:00
Marco Pesenti Gritti
05b0d212a4 Separate libsugar and libsugarui ld flags to not
link libsugar to gtk.
2007-08-11 01:00:53 +02:00
Benjamin Berg
c571993811 Fixed a typo in the palette gap calculation code. 2007-08-10 23:39:12 +02:00
Benjamin Berg
91d7dbcb08 Ignore grab_notify in the palette menu so that eg. scales work. 2007-08-10 23:21:36 +02:00
Benjamin Berg
476189323d Don't draw the invoker rectangle for tooltips. 2007-08-10 18:52:15 +02:00
Benjamin Berg
6573e8c5e6 Draw an invoker rectangle that looks connected to the main palette.
There is one catch though, the menu placement inside the palette seems broken.
(Probably was already broken before.) Not sure what is going on there.
2007-08-10 18:29:28 +02:00
Tomeu Vizoso
cff8ffc328 Complete move to external bundle registry. 2007-08-09 18:10:16 +02:00
Tomeu Vizoso
f00f3e2f8d Correctly include .mo files in bundles. 2007-08-09 15:26:52 +02:00
Dan Winship
d2aba901c3 Notice when (non-sugar) activity factories fail to launch. #1975
(still need a better shell UI for when this happens)
2007-08-08 18:24:11 -04:00
Dan Winship
985fe6ef35 Make activity icons in frame outline-only. #2668 2007-08-08 18:19:05 -04:00
Tomeu Vizoso
fa8bcd2ba5 Move the activity register to the clipboard service. 2007-08-08 18:08:07 +02:00
Eduardo Silva
bfcab6b0b6 Fix objectchooser, replace frame with canvasroundbox module 2007-08-08 09:31:50 -04:00
Marco Pesenti Gritti
670eb981ac Ignore only INFERIOR enter/leave events. 2007-08-08 14:56:43 +02:00
Marco Pesenti Gritti
1145f0f99c Override menu shell deactivate to go through the palette. 2007-08-08 14:41:30 +02:00
Marco Pesenti Gritti
6ae3846415 Expose palette.action_bar 2007-08-08 13:03:09 +02:00
Marco Pesenti Gritti
6dd6b0275b Expose palette.menu rather than wrapping methods. 2007-08-08 12:56:19 +02:00
Marco Pesenti Gritti
2c0ad08fcf Call embed after the widget hierarchy is setup so that
we get the right toplevel.
2007-08-08 11:53:41 +02:00
Marco Pesenti Gritti
3a33e4cedd Enable focus when there is content. Remove the focus
out check on the invoker toplevel, we will have to do
that differently.
2007-08-08 11:53:41 +02:00
Marco Pesenti Gritti
0b355dcbb9 First go at support of focusable widgets inside the palette.
Not enabled yet because focus confuses our deactivation logic
but it seem to work otherwise.
2007-08-08 03:07:00 +02:00
Eduardo Silva
4aeee4caa9 Icon(): Add scaled icon support (SVG) with editable fill and stroke colors 2007-08-02 07:57:41 -04:00
Tomeu Vizoso
a197097164 Do a dict.copy() so we don't overwrite the original. 2007-08-01 16:31:33 +02:00
Marco Pesenti Gritti
34a4876f93 Remove Frame, rename RoundBox to CanvasRoundBox 2007-07-31 17:08:44 +02:00
Marco Pesenti Gritti
ef74f178be Finally drop obsolete units. 2007-07-31 17:00:06 +02:00
Marco Pesenti Gritti
b3f7e0e632 Move from scaling to sizes in CanvasIcon. 2007-07-31 16:46:06 +02:00
Marco Pesenti Gritti
72d66793a7 Fix all the units except icon scales. 2007-07-31 15:21:09 +02:00
Marco Pesenti Gritti
2ae2279d94 Do not use units 2007-07-31 15:04:51 +02:00
Marco Pesenti Gritti
f2eca57d13 More units cleanups 2007-07-31 15:02:50 +02:00
Marco Pesenti Gritti
d8faf0ba04 Get rid of some of the obsolete units usage. 2007-07-31 14:56:05 +02:00
Marco Pesenti Gritti
cca69e7012 Remove obsolete sugar.graphics.color. 2007-07-31 14:05:14 +02:00
Tomeu Vizoso
f06404ca8e #2475 Retrieve correctly the file path for files in removable devices. 2007-07-30 16:21:42 +02:00
Marco Pesenti Gritti
e2beb5b566 Start intro if config is absent or corrupted.
Cleanups.
2007-07-30 15:34:02 +02:00
Marco Pesenti Gritti
72857326d2 Fix centering of items in the spread box 2007-07-30 14:22:45 +02:00
Marco Pesenti Gritti
d4ea1f8101 Do not traceback if bundle version is not integer. 2007-07-30 12:45:01 +02:00
Marco Pesenti Gritti
0f17ae5d04 Cleanup mo packaging. 2007-07-29 15:20:19 +02:00
Tomeu Vizoso
92a953862d #2564: use the activity service name as the base name for translation files. 2007-07-29 12:20:45 +02:00
Tomeu Vizoso
5b73d0dfce Allow specifying a concrete activity when resuming a journal object. 2007-07-28 20:57:47 +02:00
Tomeu Vizoso
099cd4d1b4 Allow passing a complete file path when creating a sugar.graphics.Icon 2007-07-28 20:56:02 +02:00
Tomeu Vizoso
d988d1dfd2 Fix clipboard support for text from Browse. 2007-07-28 16:00:32 +02:00
Dan Winship
1f58acf9dd Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-07-27 16:49:45 -04:00
Dan Winship
4767f77bc9 add a missing "self", noticed by nelhage 2007-07-27 16:49:33 -04:00
Marco Pesenti Gritti
285099fe08 Do not import _sugarext inside graphics init 2007-07-27 20:44:55 +02:00
Marco Pesenti Gritti
e62b927883 Fix import 2007-07-27 20:18:53 +02:00
Marco Pesenti Gritti
b23b63cdd5 Split the UI part of sugarext out to his own module to avoid
dragging gtk inside services.
2007-07-27 20:15:31 +02:00
Dan Winship
b9d7d00985 Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-07-27 09:44:33 -04:00
Dan Winship
3db03e53c3 Add get/set for backup info, and set_server 2007-07-26 15:25:13 -04:00
Tomeu Vizoso
a0bc70fb2f #2511 Fix journal entries background in the object chooser. 2007-07-26 21:22:36 +02:00
Dan Winship
1e5cc3f347 x86_64 fix: don't use sys.maxint (which is really maxlong) for int gproperties 2007-07-26 13:27:26 -04:00
Marco Pesenti Gritti
0e45b8fcf1 Make sure the handle dict values are string. Looks
like dbus-python get confused if they are dbus.String.
2007-07-26 11:08:31 +02:00
Marco Pesenti Gritti
7e45c5446d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-07-26 10:08:47 +02:00
Marco Pesenti Gritti
0a11ebafe8 Increase activity launching timeout. 2007-07-26 10:07:50 +02:00
Tomeu Vizoso
20d5eaf4bc Add timeout arg to sugar.datastore.Datastore. 2007-07-26 09:20:38 +02:00
Dan Williams
5e30ed9f3b Turn logs on by default for the emulator 2007-07-25 12:24:10 -04:00
Dan Williams
32dc59f169 Merge 2007-07-25 11:47:37 -04:00
Marco Pesenti Gritti
01fbe53175 Don't follow the cursor when expanding to secondary palette. 2007-07-25 16:01:07 +02:00
Dan Williams
36f3056715 Merge 2007-07-25 09:57:30 -04:00
Marco Pesenti Gritti
6fcad53763 Add icons for the private/shared dropdown. 2007-07-25 15:05:07 +02:00
Dan Williams
c5063ebc19 Turn off logging by default; re-enable on a per-module basis using environment variables 2007-07-24 18:29:18 -04:00
Marco Pesenti Gritti
f23d9e8f0d Reposition palette on secondary state. 2007-07-24 16:21:21 +02:00
Marco Pesenti Gritti
445b1dd413 Keep primary/secondary width the same.
Use full (secondary) request to check in-screen.
2007-07-24 16:15:13 +02:00
Marco Pesenti Gritti
452f01d2db Refactor to move primary/secondary state handling inside Palette. 2007-07-24 15:53:35 +02:00
Tomeu Vizoso
eeb1f2e66f #2364: Fix uploads. 2007-07-24 11:55:46 +02:00
Marco Pesenti Gritti
1b292a7514 Combo for shared/private in the activity menu. 2007-07-24 11:29:14 +02:00
Tomeu Vizoso
58d57822b8 Don't pass the weight instead of the flags. 2007-07-23 23:27:11 +02:00
Marco Pesenti Gritti
943c78ffa7 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-07-23 13:31:31 +02:00
Tomeu Vizoso
32074713c8 Clean up only when latest call to the DS has finished. 2007-07-23 13:45:46 +02:00
Marco Pesenti Gritti
a0c8f51ab0 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-07-23 13:31:04 +02:00
Tomeu Vizoso
557f3d6ea7 Fix one more temp file leak. 2007-07-23 13:20:24 +02:00
Marco Pesenti Gritti
aee3330be4 Make combobox icons bigger when there is no text 2007-07-23 13:15:02 +02:00
Dan Williams
62e424628e Add option to GlibURLDownloader to download to specified file instead of tempfile 2007-07-23 01:17:21 -04:00
Marco Pesenti Gritti
8ae99aaa87 Fix resuming objects with no activity associated for real. 2007-07-20 21:40:41 +02:00
Marco Pesenti Gritti
21f8027810 Fix resume of objects with no activity_id 2007-07-20 21:25:39 +02:00
Tomeu Vizoso
c07e61509b Send dbus.Dictionary so dbus doesn't complain. 2007-07-20 20:45:00 +02:00
Tomeu Vizoso
cb6d459815 Fix some temp file leaks. 2007-07-20 19:50:49 +02:00
Marco Pesenti Gritti
19c8532d09 Ensure activity uniquness in the shell 2007-07-20 13:15:11 +02:00
Tomeu Vizoso
f6f3f2b520 Update forgotten property limit. 2007-07-19 15:38:50 +02:00
Marco Pesenti Gritti
6b57baa075 Rework palette positioning. Cleanup and get at cursor
positioning actually right.
2007-07-18 20:15:54 +02:00
Marco Pesenti Gritti
daa95aadd7 Place palettes at cursor for free views. 2007-07-18 16:59:47 +02:00
Marco Pesenti Gritti
de2d4ef43b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-07-18 14:56:01 +02:00
Marco Pesenti Gritti
5f38102420 Add some style properties 2007-07-18 14:55:26 +02:00
Dan Williams
86b36cc5d3 Actually handle multiple mime types 2007-07-18 02:08:16 -04:00
Dan Williams
83a49dcd4e Don't close GlibTCPServer sockets prematurely 2007-07-17 22:30:23 -04:00
Marco Pesenti Gritti
5212790236 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-07-17 22:29:53 +02:00
Marco Pesenti Gritti
882a5f2c29 setup.py release does a git pull before releasing. 2007-07-17 22:28:40 +02:00
Dan Williams
13b98c8bfc Fix initialization order of buddy class '_activities' member 2007-07-17 14:07:59 -04:00
Dan Williams
1698c297c7 Suppress traceback when creating a new buddy object on buddy-disappeared signal 2007-07-16 14:00:32 -04:00
Tomeu Vizoso
a5338e054e Give the option of not updating mtime. 2007-07-16 14:57:07 +02:00
Tomeu Vizoso
5933941553 Adapt to datastore API changes. 2007-07-16 13:01:35 +02:00
Marco Pesenti Gritti
9f4da4e6d1 Bundle releases can also contain 0 2007-07-16 00:57:14 +02:00
Tomeu Vizoso
1d2f84d0af #1888 Choose the correct mime type when adding text from Write to the clipboard. 2007-07-14 13:53:49 +02:00
Tomeu Vizoso
614d9336cc #2149, #2150: fixes for the clipboard palette. 2007-07-14 13:11:59 +02:00
Marco Pesenti Gritti
984c4a2126 Actually commit CanvasButton 2007-07-14 11:23:16 +02:00
Marco Pesenti Gritti
fcb888b74c Arrow icons in the intro screen buttons. 2007-07-14 10:29:45 +02:00
Marco Pesenti Gritti
2cf15ff1f8 Require a bundle name argument to start(). Apparently
people are doing crazy things and using the parent directory
name does not work well in those cases.
2007-07-13 23:31:03 +02:00
Tomeu Vizoso
2b50699d87 Take out _data_store.complete_indexing() calls. 2007-07-13 18:36:50 +02:00
Tomeu Vizoso
91f0eb52aa Adapt to datastore API changes. 2007-07-13 13:20:44 +02:00
Simon McVittie
5ebcf5eda9 Include timestamps (with 100 us resolution) in Sugar logfiles, to allow debugging of IPC and timeouts 2007-07-11 21:30:41 +01:00
Marco Pesenti Gritti
b01dbc5e75 Integrate new colors from Walter.
Add a little parser to xocolor.py.
2007-07-11 14:15:58 +02:00
Marco Pesenti Gritti
d59cd5af83 Fix intro colors 2007-07-11 12:35:13 +02:00
Marco Pesenti Gritti
d2059c1baa Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-07-11 11:45:43 +02:00