Commit Graph

433 Commits

Author SHA1 Message Date
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
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