Commit Graph

418 Commits

Author SHA1 Message Date
Tomeu Vizoso
7d0aedeb36 Fix typo. 2007-08-27 14:31:38 +02:00
Tomeu Vizoso
59ee222f96 Fix comboboxes 2007-08-27 13:17:50 +02:00
Tomeu Vizoso
b70182bbde Fix typo. 2007-08-27 11:07:46 +02:00
Marco Pesenti Gritti
823918a69b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-27 00:55:56 +02:00
Marco Pesenti Gritti
60c5e564cc Fix getting pixbuf size, patch by jennjacobsen 2007-08-27 00:43:56 +02:00
Eduardo Silva
8c288d7dee Adapt Button() to new icon API 2007-08-26 16:49:55 -04:00
Tomeu Vizoso
405dafc908 Adapt to changes in the icon API. 2007-08-26 20:44:51 +02:00
Tomeu Vizoso
cf7ff39c5a Allow for None values in fill-color and stroke-color. 2007-08-26 20:21:49 +02:00
Tomeu Vizoso
db02d6b54c Correct latest commit. 2007-08-26 19:23:14 +02:00
Tomeu Vizoso
5b1db87cec Add some warnings to the new icon stuff. 2007-08-26 19:00:08 +02:00
Marco Pesenti Gritti
8ff7bdebb7 Typo 2007-08-26 15:10:43 +02:00
Marco Pesenti Gritti
f1fc80b4a8 Fix icon padding. 2007-08-26 15:01:16 +02:00
Marco Pesenti Gritti
ba4f68ef58 Cache the donut animation. 2007-08-26 14:45:59 +02:00
Marco Pesenti Gritti
7042b4392e Fix CanvasIcon badges 2007-08-26 14:33:16 +02:00
Marco Pesenti Gritti
5f773b21af Remove invalidation logic which is not necessary with the new cache. 2007-08-26 14:30:02 +02:00
Marco Pesenti Gritti
98157bbccb Make CanvasIcon use IconBuffer. Change the API to use
a separate property for icon_name and file_name.
2007-08-26 14:16:09 +02:00
Marco Pesenti Gritti
f44c340b3a Smarter/configurable surface cache in IconBuffer 2007-08-26 12:36:34 +02:00
Marco Pesenti Gritti
a8938ab8ba Add an svg cache for SVGLoader 2007-08-26 12:08:50 +02:00
Marco Pesenti Gritti
65871156f5 Cleanups 2007-08-26 02:59:05 +02:00
Marco Pesenti Gritti
05f2722d90 Get badges positioning right. 2007-08-26 02:24:45 +02:00
Marco Pesenti Gritti
6432dcfb0e More work on IconBuffer badges. 2007-08-26 01:57:48 +02:00
Marco Pesenti Gritti
ae54542524 Add badge support to IconBuffer 2007-08-26 00:26:11 +02:00
Marco Pesenti Gritti
1938fb13f0 Rework the Icon implementation by splitting out
the icon rendering part. The plan is to share this code
with CanvasIcon once it has all the necessary features.

Also cleanup the API by just reusing gtk.Image icon_name
and file properties.
2007-08-25 18:26:59 +02:00
Marco Pesenti Gritti
1cb214bc96 Remove canvasicon module. 2007-08-25 13:18:30 +02:00
Marco Pesenti Gritti
f1d588452e Reorganize canvas items. 2007-08-25 13:15:28 +02:00
Tomeu Vizoso
628fe7b5da Restore Icon's ability to load absolute file paths. 2007-08-24 20:15:30 +02:00
Dan Winship
c25861bd1d remove debugging 2007-08-24 10:26:10 -04:00
Dan Winship
1f129e6136 Use icon theme AttachPoints to position badges 2007-08-24 09:06:21 -04:00
Marco Pesenti Gritti
466bc7b300 Remember state when scrubbing 2007-08-24 14:21:07 +02:00
Tomeu Vizoso
d195fccbde Add COLOR_TEXT_FIELD_GREY color. 2007-08-24 11:44:44 +02:00
Marco Pesenti Gritti
6b30262cf7 Redraw the window only if allocation changed. Patch
by benzea, with a little cleanup and comments by me.
2007-08-23 21:17:43 +02:00
Simon Schampijer
eb328e605c removed print in palette.py 2007-08-22 15:03:16 +02:00
Benjamin Berg
3c99f9f1ea Draw a prelight for toolbuttons from the toolbutton instead of relying on the button. 2007-08-22 20:38:48 +02:00
Tomeu Vizoso
3084176057 One less _set_palette(). 2007-08-21 20:47:16 +02:00
Eduardo Silva
e04c0af114 Fix #2935: bad method name 2007-08-21 12:35:20 -04:00
Tomeu Vizoso
544a400afc Updated to use application/vnd.olpc-sugar instead of application/vnd.olpc-x-sugar. 2007-08-21 16:59:32 +02:00
Tomeu Vizoso
8c113d5561 Add xo_color constructor param to RadioToolButton. 2007-08-20 22:48:38 +02:00
Dan Williams
03faa64f82 Add menuitem.py to makefile 2007-08-20 16:41:09 -04:00
John (J5) Palmieri
655d7f4174 Merge branch 'master' of git+ssh://j5@dev.laptop.org/git/sugar 2007-08-20 14:41:03 -04:00
Marco Pesenti Gritti
1a65f81d10 Set the initial palette group to "default" 2007-08-20 20:01:27 +02:00
Marco Pesenti Gritti
3b8f25b7b9 Implement "scrubbing" of palettes based on groups. 2007-08-20 20:01:27 +02:00
Tomeu Vizoso
00b7013de1 Added an entry that can have icons inside: IconEntry. From libsexy. 2007-08-20 13:03:17 +02:00
Marco Pesenti Gritti
6a5f389436 Set the icon-set property to avoid resetting the icon_size 2007-08-18 01:04:10 +02:00
John (J5) Palmieri
735b0cf2c8 use numpy to shave 4 seconds off of sugar startup 2007-08-17 17:57:05 -04:00
Marco Pesenti Gritti
07905f0c40 Style nitpick 2007-08-17 19:55:17 +02:00
Marco Pesenti Gritti
34a1c81aa5 Add a scale property to CanvasIcon.
Make Icon use gtk.Image icon-size.
Patch by tannewt with some little tweaks.
2007-08-17 19:53:41 +02:00
Marco Pesenti Gritti
f056056691 Patch by Simon to make sugar start when not connected to wireless. 2007-08-16 17:32:29 +02:00
Marco Pesenti Gritti
ba8a731aa1 Add a border to the frame. 2007-08-16 16:46:21 +02:00
Marco Pesenti Gritti
e95e786432 Adapt to icon name changes 2007-08-16 12:51:33 +02:00
Marco Pesenti Gritti
8d9383c48e Move most of the drawing logic inside Palette/Invoker. 2007-08-15 21:53:31 +02:00