Commit Graph

1581 Commits

Author SHA1 Message Date
Marco Pesenti Gritti 8d9383c48e Move most of the drawing logic inside Palette/Invoker. 2007-08-15 21:53:31 +02:00
Marco Pesenti Gritti d7d1e172a3 Let the button/theme deal with prelight. I don't think
it fits inside palette drawing.
2007-08-15 21:32:10 +02:00
Marco Pesenti Gritti 3bb86e0cbb Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-15 21:18:58 +02:00
Marco Pesenti Gritti 4f1986e8a4 Let the invoker deal with popup/popdown redraw. 2007-08-15 21:18:58 +02:00
Dan Winship 26c5ad6ad0 Rewrite dbus_helpers to not make a dbus connection on import. #2773 2007-08-15 09:19:40 -04:00
Marco Pesenti Gritti 43fb1627a7 Cleanup 2007-08-15 12:23:57 +02:00
Tomeu Vizoso c54fb84b28 #2543: Offer multiple activities for opening clipboard objects. 2007-08-15 12:19:29 +02:00
Tomeu Vizoso 040c94d181 Removed debug messages. 2007-08-13 21:14:44 +02:00
Tomeu Vizoso 4c812eb210 Set ACTIVITY_ROOT environment variable. 2007-08-13 21:14:25 +02:00
Marco Pesenti Gritti be32e7e40d Tweak a color pair as requested by Walter. 2007-08-13 18:02:41 +02:00
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