Commit Graph

38 Commits

Author SHA1 Message Date
Simon Schampijer
8ae1f9aad8 Fix that several palettes are not hooked up to the same button #3293 2007-09-17 23:42:17 +02:00
Tomeu Vizoso
ccb0aaaa28 Don't store the xo-color property on _IconBuffer, it will cause conflicts with stroke-color and fill-color. 2007-09-10 17:55:35 +02:00
Marco Pesenti Gritti
f7a1900d3d Do not redraw/resize if the properties doesn't actually change.
In the Icon widget queue resize and redraw as appropriate.
2007-09-10 02:54:47 +02:00
Marco Pesenti Gritti
97451c5466 Optimize xo_color property set and share more code. 2007-09-10 02:18:29 +02:00
Marco Pesenti Gritti
d757126a19 Move entity type checks at loader level so that they
are shared by all both icon implementations.
2007-09-10 02:06:24 +02:00
Marco Pesenti Gritti
34e9d30a9c Improved icon caching logic 2007-09-08 12:10:35 +02:00
Marco Pesenti Gritti
044afe4ae8 Expand icon bbox when there is a badge. 2007-09-02 23:51:01 +02:00
Tomeu Vizoso
01f774edbc Allow setting xo-color to None. 2007-08-31 11:26:28 +02:00
Marco Pesenti Gritti
e700ed1e2d Expose and size allocation fixes. 2007-08-29 11:34:56 +02:00
Tomeu Vizoso
7d0aedeb36 Fix typo. 2007-08-27 14:31:38 +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
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
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
Marco Pesenti Gritti
6a5f389436 Set the icon-set property to avoid resetting the icon_size 2007-08-18 01:04:10 +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
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
099cd4d1b4 Allow passing a complete file path when creating a sugar.graphics.Icon 2007-07-28 20:56:02 +02:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Marco Pesenti Gritti
b8e96d08ae Adjust named icons terminology a bit 2007-05-01 01:03:16 +02:00
Marco Pesenti Gritti
e936b1e1fc Forgot to add the icon 2007-04-30 14:04:50 +02:00