Commit Graph

450 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
66cc15a498 Fix xo_color comparison. 2007-09-10 11:30:48 +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
Dan Williams
e52d6f6ed4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-09-08 23:41:42 -04:00
Dan Williams
e43ccf40be Add a flag to place the menu after the content in palettes 2007-09-08 22:48:21 -04:00
Marco Pesenti Gritti
34e9d30a9c Improved icon caching logic 2007-09-08 12:10:35 +02:00
Tomeu Vizoso
d9a30c23ff Remove left over property. 2007-09-06 18:55:51 +02:00
Marco Pesenti Gritti
5127901d86 Gray bottom border for Toolbox. 2007-09-05 14:23:17 +02:00
Marco Pesenti Gritti
3723ccead4 Implement TrayIcon palette drawing. 2007-09-05 13:55:18 +02:00
Tomeu Vizoso
0ad6398cf1 Fix typo. 2007-09-04 20:22:58 +02:00
Tomeu Vizoso
c418d0575a Really remove the sugar.date import. 2007-09-04 16:01:42 +02:00
Tomeu Vizoso
07107fb81b #2896: Remove sugar.date module. 2007-09-03 21:26:30 +02:00
Marco Pesenti Gritti
a09a786ff7 Use Tray also for the frame friends view.
Drop the deprecated IconButton.
2007-09-03 01:48:03 +02:00
Marco Pesenti Gritti
044afe4ae8 Expand icon bbox when there is a badge. 2007-09-02 23:51:01 +02:00
Marco Pesenti Gritti
94e136c3c3 Stop secondary animation on hide. 2007-09-02 23:34:22 +02:00
Eduardo Silva
94996c9295 #2971: Patch by Marco 2007-09-01 11:58:47 -04:00
Marco Pesenti Gritti
feb462d08d Fix ToolInvoker alignments. 2007-09-01 13:40:57 +02:00
Marco Pesenti Gritti
8712ab6b58 Add a ToolInvoker which position the palette depending
on the toolbar orientation. Make all tool items use it.
2007-09-01 12:12:32 +02:00
Marco Pesenti Gritti
8a3c2a5843 More palette positioning improvements. 2007-09-01 11:59:16 +02:00
Tomeu Vizoso
01f774edbc Allow setting xo-color to None. 2007-08-31 11:26:28 +02:00
Simon Schampijer
142ce1cb11 Display the rollover at 0,0 when context is empty 2007-08-30 15:10:50 +02:00
Marco Pesenti Gritti
01d368a7a4 Implement VTray. A bit of refactoring to share more code. 2007-08-30 14:29:52 +02:00
Marco Pesenti Gritti
7fefc55133 Cleanup and fix bugs in palette positioning (again) 2007-08-29 20:09:19 +02:00
Marco Pesenti Gritti
72b3a3e2e2 Cleanup a bit the positioning logic. Drop specific
positioning, we can readd it later if it proves to
be necessary.
2007-08-29 18:26:58 +02:00
Marco Pesenti Gritti
46b3b96e96 Make remove_item take an item instead of an index. 2007-08-29 14:08:12 +02:00
Marco Pesenti Gritti
710f3eba00 Tray size allocation fixes. 2007-08-29 14:04:46 +02:00
Marco Pesenti Gritti
e700ed1e2d Expose and size allocation fixes. 2007-08-29 11:34:56 +02:00
Marco Pesenti Gritti
e25847c375 Sync gtk theme values and style.py. Add a comment at the top
of style.py about the reference zoom value.
2007-08-29 10:36:31 +02:00
Simon Schampijer
c30bb01b0e Usage of the tray widget to display activity icons
ActivitiesBox patch for ticket #2713.
2007-08-28 14:15:51 +02:00
Marco Pesenti Gritti
c742cff64d Show arrows only when the icons does not fit. 2007-08-27 22:10:18 +02:00
Marco Pesenti Gritti
7fcc23b4c8 Very first go at the tray widget, based on Eduardo and Simon work. 2007-08-27 21:28:20 +02:00
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